Using the 04/03/2023 nightly I have 2 problems, one is with the IDE and the other is with the CLI.
IDE issue:
when I try copy-all from the console I don't get anything in my clipboard to paste. Using Kubuntu 20.04. I can double click one line and use Ctl-c and that'll copy a line.
CLI issue:
With the IDE I can compile an esp32 project using the no_ota memory partition configuration and it recognizes the program space set in no_ota.csv but not when I build using the arduino-cli as shown below. NOTE: I've tried huge_app and it builds in the IDE but doesn't on the CLI):
Sketch uses 1507625 bytes (115%) of program storage space. Maximum is 1310720 bytes.
Global variables use 97680 bytes (29%) of dynamic memory, leaving 230000 bytes for local variables. Maximum is 327680 bytes.
Error during build: text section exceeds available space in board
I've seen the compiler output referencing the settings I've tried for partitions like:
And I'd found a forum where they were also having program size issues and the upload.maxiumum_size option was added but it's not changing when I implement it...
I get the size from the app0 entry of the appropriate partition file( no_ota.csv ). cat ~/.arduino15/packages/esp32/hardware/esp32/2.0.7/tools/partitions/no_ota.csv | grep app0 | cut -f5 -d',' | xargs printf "%d" | cut -f1 -d'('
Please note this from the other topic customcontroller linked to:
If you actually need to set custom property values, and you have taken the time to fully understand the platform configuration, then the --build-property flag is an appropriate tool. But in cases where you only want to set a custom board option, it is not the appropriate tool and using it is likely to cause you unnecessary headaches sooner or later.
the build flags can't be chained as I did with the "," so I used another --build-property entry for the maximum_size setting. It looks like items can't be chained together and multiple --build-property entries are required.
Was that an effort to get me to use "PartitionScheme=no_ota" instead? The headache started when I'd thought options could be chained by comma's and this states multiple calls are used for multiple build-properties. compile - Arduino CLI