diff --git a/platformio.ini b/platformio.ini index 20b0701..5cc0523 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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.