-
-
Notifications
You must be signed in to change notification settings - Fork 42
Framework OpenLinux
Georgi Angelov edited this page Nov 1, 2020
·
37 revisions
- The framework make standart Linux/POSIX application for Linux 2.6.x ( float-soft )
- The application is executed inside module ( approximately as Raspberry PI Zero ... but with LTE and GPS)
- Module EC21 (LTE + GPS)
- Module EC25 (LTE + GPS)
- Quectel Support
- Ask your local Quectel support for all documentation...
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"
- All with OpenLinux SDK
- Upload
-
- adb push app_name /home/root
- Change the access permissions and run aplication
-
- adb shell
-
- cd /home/root
-
- chmod +x app_name
-
- ./app_name
- printf() result is in adb shell
[env:ec2x]
platform = quectel
framework = openlinux
board = ec2x
#include <stdio.h>
#include <unistd.h>
int main(void)
{
while (1)
{
printf("LOOP "); // result is in ADB shell
sleep(4);
}
return 0;
}
WizIO 2018 Georgi Angelov