-
Notifications
You must be signed in to change notification settings - Fork 6
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-properties are only usable for compiler flags, not for the general case #22
Comments
can arduino-cli recogniize the parameter build.partition=no_ota |
The For my use case I could revert to not using arduino-test-compile but in stead use manual steps with If this turns out to be difficult my suggestion is that you at least update the documentation to state that you can basically only pass |
I fear I did not get it. |
Sorry, I wasn't clear. For this specific use case, I would need
|
Actually, now that I think of it there are more arduino-cli arguments that may be useful in specific circumstances. Maybe if you add a parameter |
Good idea, but what is about the double quotes? are they required around "build.partition=no_ota" |
There is some information here that might be of interest:
|
Already done, thanks!!!
Thanks again, I was not aware of 👍 |
@jackjansen |
It works, thanks! A meaningful example would probably be specifically this use case: setting the partition table for esp8266/esp32 builds. Here's a quick cut-and-paste from my iotsaDMXSensor repo (https://github.com/cwi-dis/iotsaDMXSensor/commits/0d228e4e6c53e89317436bd4e64d1abf97352d5b/.github/workflows/build-arduino.yml):
This will tell |
Thanks, I included it in the Readme 👍 |
@jackjansen this is a fragile and unnecessarily complex approach. The right way to do it is by setting the
See this documentation for details: |
I'm trying to pass
build.partition=no_ota
to arduino-cli (so that my sketch compiles and links correctly: it uses HTTPS and BLE, so the resultant binary is too big to fit into the available Flash otherwise).But the command line generated by arduino-test-compile is
So this works fine (and is actually quite convenient) for compiler flags, and solely for such parameters it is used in the documentation indeed.
Is there a way to pass general
--build-properties
flags?The text was updated successfully, but these errors were encountered: