Add Scons dependency on build

I am trying to make Simba’s settings module available for PlatformIO, since it is only works after GNU Make.

There is settings.ini (or any other .ini) file that is used to generate c code, binaries, etc., so I need to rebuild framework on any settings change.

Settings file location is resolved in platformio.sconscript and I want to add this file to Scons dependencies to track its changes later. Is there any way I can do this?

Please take a look at this implementation

1 Like