Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to specify compilation flags to arduino-builder from the IDE #11108

Closed
clasqui opened this issue Dec 28, 2020 · 1 comment
Closed
Labels
Type: Duplicate Another item already exists for this topic

Comments

@clasqui
Copy link

clasqui commented Dec 28, 2020

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.

@per1234
Copy link
Collaborator

per1234 commented Dec 28, 2020

Closing as duplicate of #421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

2 participants