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
- fork https://github.com/platformio/platform-linux_arm
- fixup the location of the package (defined here,
"version": "symlink://path/to/your/toolchain), with an appropriatepackage.jsonsee here - 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.