Where to define custom board. In PlatformIO, Zephyr or both

Hi all, i get my feets wet in both platformio and zephyr. Reading and experimenting a lot over the last days. I can setup and build my stm32 based projects both from platformio and or zephyr using the west tool. As IDE i choose CLion. The final goal is to have a future proof development environment to be used on custom hardware boards. I still don’t have a complete picture on the interaction between platformio and Zephyr. My question is what is the best place to define my custom board. If i set it up in Zephyr do i also need to create a board description in platformio?

Yes. See tutorial.

1 Like