-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Build flags set in my boards.txt
file not used in the compilation command
#210
Comments
I can't reproduce this. Could you please provide more details, including the exact line from your boards.txt file and a minimal demonstration sketch so that I can reproduce your setup exactly?
You can use
but be aware this will override the value of the |
I would like to make a feature request for the Arduino-CLI to explicitly support user-defined |
@per1234 My boards.txt file looks something like this :
When I compile with verbose on, I see the -DDEBUGENABLE=0 in the output even after using your suggestion of using the |
Is this an existing unmodified hardware core? If so, post a link to it. If you customized it yourself, then you need to provide the full boards.txt and platform.txt. I also need the complete arduino-cli command you're running. |
It's a slightly modified Dragonfly-l496RG board with custom debug flag options added (link). |
Is there a way to save the fqbn and build-properties in the global config so they don't have to be repeated on the command line? I skimmed the source but couldn't find anything obvious. For now I'm using shell aliases. |
Use ">>" in place of "-" between package index ID components
boards.txt
file not used in the compilation command
Hi, in my boards.txt file I am using my own build flags (eg. -DFLAGNAME). Arduino-cli recognises these flags but sets these to their default values (0). How do I tell arduino-cli to set certain flags?
The text was updated successfully, but these errors were encountered: