For arduino-cli compile, the --build-property flag is an escape hatch for situations when you need to "hack" part of the platform/board definition for some reason or other (change a definition, etc).
However, the upload and monitor commands also use build properties! Like, maybe you want to edit the uploader's command args a bit, or substitute in a different binary. But, these commands don't take --build-property.
(Arguably, --build-property should be global, though I'm not sure how the build properties framework interacts with the rest of the arduino-cli code base?)
Describe the current behavior
There's no way to override properties for upload or monitor steps.
(This is less important than https://github.com/arduino/arduino-cli/issues/2602, and certainly less important than https://github.com/arduino/tooling-rfcs/issues/9, if you're prioritizing.)
Describe the request
For
arduino-cli compile
, the--build-property
flag is an escape hatch for situations when you need to "hack" part of the platform/board definition for some reason or other (change a definition, etc).However, the
upload
andmonitor
commands also use build properties! Like, maybe you want to edit the uploader's command args a bit, or substitute in a different binary. But, these commands don't take--build-property
.(Arguably,
--build-property
should be global, though I'm not sure how the build properties framework interacts with the rest of the arduino-cli code base?)Describe the current behavior
There's no way to override properties for upload or monitor steps.
Arduino CLI version
arduino-cli Version: 0.35.3 Commit: 95cfd654 Date: 2024-02-19T13:24:24Z
Operating system
N/A
Operating system version
All
Additional context
No response
Issue checklist