In platformio.ini like the following, if I build it for “debug”, I thought that the “-I” additional path would be appended but it seems that it is overridden. How can I append it? My intention is that the additional header directories should be applied whether it is “debug” mode or “release” mode, so I put it in the [env]
.
[env]
build_flags = -I<path>
[env:debug]
build_flags = -D <symbol for debug>
[env:release]
build_flags = -D <symbol for release>