Skip to content

Framework OpenLinux

Georgi Angelov edited this page Sep 28, 2020 · 37 revisions

OpenLinux and Arduino ( EC2x )

Install Notes

OpenLinux is very big for auto-install, so...

  • Install gcc-linaro_VERSION_arm-linux-gnueabi SOFT FLOAT or other arm-linux-gnueabi-sf
  • Open file C:\Users\USER_NAME.platformio\packages\toolchain-gcc-ec25\package.json
  • Edit path to compiler folder "path": "D:\ARM\gcc-linaro.....arm-linux-gnueabi"

path

EC2x Firmwares

  • All with OpenLinux SDK

INI default

[env:ec2x]
platform = quectel
framework = openlinux
board = ec2x
#include <stdio.h>
#include <unistd.h>

int main(void)
{
    while (1)
    {
        printf("LOOP ");
        sleep(4);
    }
    return 0;
}
Clone this wiki locally