Just getting started with platformIO and loving it so far. I use CLI and eclipse, with multiple boards.
I’d like to be able to list all the #define symbols found in my code and the various libraries both to find and use them and avoid conflicts. With GCC I can run something like gcc -E -dM to print all defined symbols.
Is there a way to either pass arbitrary options to the platformIO compiler cmdline or specifically ask platformIO to explore the libraries?
A simple grep -r '#define' . doesn’t quite work – it will find all the defines but many are conditional based on other #ifdef statements or in files in a library that are not included in my project.
SCons is build tool/framework (Python-based alternative to make/cmake). We created own cross-platform super-fast Build System with automatic Library Dependecy Finder for development platforms . Here is source code and development platforms.