mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 22:02:17 +01:00
build: give the debug build one 3 MB app slot without OTA
esp32devdbg used 98.3% of the 1.5 MB OTA slot. On esp32_huge_app.csv the same 1,546,405-byte image uses 49.2%, so the refactors ahead have room. The release envs keep esp32_3MB.csv and CI keeps them within limits. NVS stays at 0x9000, but the file system shrinks from 0xE0000 to 0xD0000, so a board moving to this table needs a backup, a USB flash with uploadfs, and a restore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7396786b8c
commit
6923183bd0
1 changed files with 5 additions and 1 deletions
|
|
@ -63,7 +63,11 @@ build_flags = ${dualcore.build_flags}
|
|||
extends = esp32
|
||||
board = esp32dev
|
||||
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).
|
||||
; Smaller files inline ArduinoJson's helpers into every caller, which costs
|
||||
; KBs of flash per file, so treat every file as large.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue