-
-
Notifications
You must be signed in to change notification settings - Fork 403
Feature request: compile --show-properties
without a sketch
#1047
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
Comments
I actually think it would be cool if it were a global flag, since the properties are context-dependent. If you are compiling a sketch, |
Just to further explain how I'm using this in my build tooling, these are the current shell functions I use to get an individual property.
We have a target that builds a .hex including the sketch and the bootloader"${BOOTLOADER_PATH:=$(_arduino_prop 'runtime.platform.path')/bootloaders/$(_arduino_prop 'bootloader.file')}"```
|
Related to #1046 |
The ongoing development here: #2151 |
arduino-cli compile --show-properties
currently won't run without an.ino
file present. However, that appears to be a side effect of the fact that it's an option tocompile
Using arduino-cli in my tooling, I often want to query board properties before locating a specific sketch. (This may be crazy.)
I -sort of- feel like
--show-properties
should be a sub-command ofarduino-cli board
, rather than compile. (And, if we're going there, I'd love it if there were a command like:which would return the fully evaluated template for foo.bar.
The text was updated successfully, but these errors were encountered: