Closed
Description
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
arduino-cli compile --verbose --warnings all --fqbn esp32:esp32:lolin32 --build-properties compiler.cpp.extra_flags="build.partition=no_ota" --build-properties compiler.c.extra_flags="build.partition=no_ota" --build-properties compiler.S.extra_flags="build.partition=no_ota" /home/runner/iotsaDMXSensor
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?
Metadata
Metadata
Assignees
Labels
No labels