You have different pieces of code that you have to include or not depending on specific configurations on Platformio ?
This tutorial is made for you !
In this video, I use Platformio advanced scripting features to provide a configuration interface to your code libraries.
Example code available here: GitHub - Luos-io/luos_engine: Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
I’m sure you guys have other solutions, let’s talk about it!