-
Notifications
You must be signed in to change notification settings - Fork 116
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
adafruit:samd:adafruit_feather_m4
Cannot use --build-property build.extra_flags
property with Arduino CLI
#330
Comments
Hi @zfields. You have misinterpreted arduino/arduino-cli#846. That is not about a defect in Arduino CLI. You might argue that it is partly about a deficiency in the documentation hosted in the Arduino CLI repository. If the set of build properties reserved for arbitrary use by the user was clearly documented, as I proposed in arduino/arduino-cli#846, then users like yourself would be aware of which properties you can use in this manner, and might then refrain from using properties that can only be overridden safely after carefully studying the platform configuration files. The As mentioned in arduino/arduino-cli#846, there is an existing convention to reserve a standardized set of flags for the user. That was done in this platform: Lines 64 to 71 in 137b8d2
|
@zfields please edit your first post to have compile log as attached txt for readability. |
adafruit:samd:adafruit_feather_m4
Cannot use --build-propery
flag with Arduino CLIadafruit:samd:adafruit_feather_m4
Cannot use --build-propery.extra_flags
property with Arduino CLI
FWIW,
|
adafruit:samd:adafruit_feather_m4
Cannot use --build-propery.extra_flags
property with Arduino CLIadafruit:samd:adafruit_feather_m4
Cannot use --build-propery build.extra_flags
property with Arduino CLI
adafruit:samd:adafruit_feather_m4
Cannot use --build-propery build.extra_flags
property with Arduino CLIadafruit:samd:adafruit_feather_m4
Cannot use --build-property build.extra_flags
property with Arduino CLI
If I compile my sketch using the Arduino CLI without specifying
--build-propery.extra_flags
, then it compiles correctly:When I add
--build-propery.extra_flags
, then it goes sideways:(see compile.txt for more details)
This is a known issue with the Arduino CLI. Some vendors, like ST, provide workarounds like
build_opt.h
. Does Adafruit support such a workaround, or is there anyway to pass additional flags to the compiler?The text was updated successfully, but these errors were encountered: