PlatformIO Community

Bare metal custom board

I would like to use the platformio with a bare metal ATSAMD51 processor. That is not using Arduino or mbed, etc. I read through the documentation but do not understand how to do this. Basically I just want to select the compiler and debugger and then add my code.


Just leave out the framework = ... line in the platformio.ini, then no framework code is added.

So I do not need a framework to compile and upload code? How does platformIO know which processor, and compiler? How do I set the linker options, and compiler options?

We work on ability to start a project using DEVICE workflow instead of dev kits. A temporary solution is to use the most close board and do not define framework option.