Merge pull request #39 from cjkas/build/debug-no-ota

build: give the debug build one 3 MB app slot without OTA
This commit is contained in:
cjkas 2026-10-16 09:48:05 +02:00 • committed by GitHub
commit f4f52c455e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,11 @@ build_flags = ${dualcore.build_flags}
extends = esp32 extends = esp32
board = esp32dev board = esp32dev
build_type = debug build_type = debug
board_build.partitions = esp32_3MB.csv ; One 3 MB app slot and no OTA: the debug build is never shipped and outgrew
; the 1.5 MB OTA slot. Release envs keep esp32_3MB.csv. NVS stays at 0x9000
; but the file system shrinks, so moving a board to this table means: take a
; backup, flash over USB with -t upload -t uploadfs, then restore the backup.
board_build.partitions = esp32_huge_app.csv
; -Og only limits inlining in units over large-unit-insns (10000 by default). ; -Og only limits inlining in units over large-unit-insns (10000 by default).
; Smaller files inline ArduinoJson's helpers into every caller, which costs ; Smaller files inline ArduinoJson's helpers into every caller, which costs
; KBs of flash per file, so treat every file as large. ; KBs of flash per file, so treat every file as large.