Discussion about PIO support in Single board computers

If you have a self contained toolchain / buildroot for the board, where PlatformIO can just invoke their arm-linux-gnueabihf-gcc or whatever to generate a valid program, sure.

You can

  1. fork https://github.com/platformio/platform-linux_arm
  2. fixup the location of the package (defined here, "version": "symlink://path/to/your/toolchain), with an appropriate package.json see here
  3. fixup the compiler tuple here

And then try to compile a simple hello world program.

It’s funny, because reading the platform code now and looking at the referenced package in the registry, it appears that there is one cross-compiling toolchain uploaded, that runs on Mac OS and compiles for arm-willtm-linux-gnueabi, which Google references against a BeagleBone Black. But the issue states no cross-compilation is in place.

1 Like