platform.local.txt and boards.local.txt

sellensr

New member
TD 1.4.9 on MacOS Catalina doesn't seem to support using lines like

compiler.cpp.extra_flags=-DNMEA_EXTRAS=0

in platform.local.txt to inject a #define into compiles under the IDE. I succeeded with

teensy35.build.flags.defs=-D__MK64FX512__ -DTEENSYDUINO=149 -DNMEA_EXTRAS=0

in boards.local.txt, copying the base and adding my own as a redefinition, but it would be nice if there was an "extra_flags" option of some sort. More details in my notes at https://ecampusontario.pressbooks.pub/rwsnotes/back-matter/advanced-arduino-ide-configuration/

I couldn't find anywhere on github to propose a change in platform.txt and boards.txt.

Cheers,

Rick
 
Back
Top