You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a space on the Arduino IDE to specify compilation settings, specifically flags to be passed to arduino-builder and the avr toolchain, like definitions.
Justification
It would be very useful to be able to define some constants at compile time, for example when there is a secret value that you don't want to put in your code (maybe because you open source your project). Therefore, you could tell the IDE to use the -D flag with your value when compiling, and then the preprocessor would add that value to the program.
The text was updated successfully, but these errors were encountered:
Description
Add a space on the Arduino IDE to specify compilation settings, specifically flags to be passed to arduino-builder and the avr toolchain, like definitions.
Justification
It would be very useful to be able to define some constants at compile time, for example when there is a secret value that you don't want to put in your code (maybe because you open source your project). Therefore, you could tell the IDE to use the -D flag with your value when compiling, and then the preprocessor would add that value to the program.
The text was updated successfully, but these errors were encountered: