dmtkf
dmtkf
Hi @valeros, thanks for the quick reply! Yeah, I noticed that mbed framework complains before platformio scans for library dependencies. I guess there is no easy solution to fix this...
@valeros , I ended up with post script which makes replacement for desired defines in mbed_config.h. You can take a look in the [third commit](https://github.com/edgrin/pio-mbed-lib-target-overrides/tree/ff0bf6059bc5b4356a4acc2a9cd19995105625df). After that I couldn't stop...
I started to think that grouping overrides by environments maybe is not good idea, because in mbed_app.json overrides are grouped by targets, i.e. boards. Most likely I will update current...
Now script uses board id instead of environment id to separate different overrides. Also the script is simplified and instead of replacing defines with new values, it is just add...