-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Compiler extra_flags parameter issue #8815
Comments
Create a file named |
@me-no-dev |
Could you give me some context on what you are testing and how you are overwriting those flags? We could move them and uglify the platform more, but I would like to understand well what is going on and what are the possible use cases. |
Please look at this workflow lines 65-67. I'm passing extra flags via BTW I've overcome this issue by adding |
@me-no-dev See: arduino/arduino-cli#2683 (comment)
So ESP is the only core which "breaks" this implicit rule with its 3.x release, effectively disabling CI/CD for library developer. |
will look into it |
Will be fixed in the upcoming v3.1.0 |
Board
any
Device Description
n/a
Hardware Configuration
n/a
Version
latest master (checkout manually)
IDE Name
arduino-cli
Operating System
Linux
Flash frequency
n/a
PSRAM enabled
yes
Upload speed
n/a
Description
Current version of the
platform.txt
file contains new versions ofcompiler.c.extra_flags
,compiler.cpp.extra_flags
andcompiler.S.extra_flags
parameters which are not empty (the change provided by 6f7a1ca). I've been using these parameters to pass extra flags for the C/C++ compiler for thearduino-cli
tool. Currently I'm not able to do this, since my passed flags interfere with the flags inplatform.txt
causing compilation error.Could you consider moving these flags from
compiler.XXX.extra_flags
tocompiler.XXX.flags
and leave the extra flags empty for exclusive user usage as it is for other Arduino cores?Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: