Okay those are platformio.ini files and a header file for Marlin, but no error message. I’m not 100% sure what you’re trying to do. Compile Marlin on the BBB and also for the BBB as the thing that’ll run the Marlin firmware, or use the BBB to compile the Marlin firmware, e.g. for an LPC1768 based board?
So just to 100% confirm, your BBB is directly connected to the motor axis (X,Y,Z) drivers, sensors (e.g. temperature, end-stop), LCD, heating bed MOSFETs, spindle feeder etc? You are building your own 3D printer with a BBB as the central controller?
Yes PIO is definitely the right tool as Marlin is primarily built with PlatformIO. (Also buildable with the Arduino IDE but with restrictions I think)
I see. Yes you’re on the right track there with that [env:linux_native] environment and using platform = native. You may want to compile the simple example program as listed in the documentation first to sanity-check whether compiling works okay in general.
It adds functionality as I am sure you are aware of this fact. Things like motors or sensors…
I have a Motor Bridge Cape with the M_F030R8 on it from '15. It was made by Seeed Studio years ago, i.e. five years ago to be exact. Anyway, I still use it for Maker Faires and setting up specific motor uses.
Well you can try and compile Marlin for the STM32F030R8 of that cape, but I don’t see that exact chip being supported in Marlin’s platformio.ini. Also according to its datasheet the chip only has 64kB of flash and 8kB of RAM, which isn’t really much for a 32-bit microcontroller. I doubt that Marlin will fit on that chip (of course this also depends on the enabled features…). The only STM32F0 series chip in Marlin I’m seeing is a STM32F070RB with 128kB of flash and 16kB of SRAM. The usual lower bar is something like an STM32F103RB with 256kB of flash and 48kB of SRAM.