You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: esp32c3 bloat budget fails on fbuild 2.5.45 (total_ram 27018 B > 26670 B) #4982
During goal #4761: bash bloat esp32c3 --build --budget tests/data/esp32c3_bloat_budget.json printed 'Bloat: budget FAILED: total_ram: 27018 B exceeds 26670 B by 348 B'. image_flash passed. The budget was set for fbuild 2.5.39. This was not checked on an untouched master.
Investigation: this growth is a real build change, not fbuild attribution.
mastera96b4a3: attributed RAM is 27018 B and image flash is 335592 B.
ce3eb2e77 (the commit that set the budget), built the same way: attributed RAM is exactly 26670 B and image flash is 327902 B.
The same master ELF attributed with fbuild 2.5.39 still gives 27018 B. So the fbuild 2.5.39 → 2.5.45 upgrade is ruled out.
RAM symbol diff (+348 B in total):
+84 B from fl::Singleton<fl::platforms::EspIO,0>::instance()::storage. This changed in 12b85b4 ("use native consoles without Arduino stream dependencies"), which reworked the EspIO backend selection and members.
Most of the remainder is ESP-IDF __func__/__FUNCTION__ string renumbering and moves (tlsf, queue, tasks, ringbuf, gpio, uart, rmt_tx), which appear as matching +/- pairs.
The SlimBridgeController vtable moved objects, a net 0 B change.
#4760 says not to raise ceilings, so this needs a maintainer decision: either accept the native-console cost and re-base the budget, as was done for #4813, or reduce the EspIO footprint in a no-Serial Blink.
Activity
zackees commentedon Oct 31, 2026
Investigation: this growth is a real build change, not fbuild attribution.
mastera96b4a3: attributed RAM is 27018 B and image flash is 335592 B.ce3eb2e77(the commit that set the budget), built the same way: attributed RAM is exactly 26670 B and image flash is 327902 B.RAM symbol diff (+348 B in total):
fl::Singleton<fl::platforms::EspIO,0>::instance()::storage. This changed in 12b85b4 ("use native consoles without Arduino stream dependencies"), which reworked the EspIO backend selection and members.__func__/__FUNCTION__string renumbering and moves (tlsf, queue, tasks, ringbuf, gpio, uart, rmt_tx), which appear as matching +/- pairs.#4760 says not to raise ceilings, so this needs a maintainer decision: either accept the native-console cost and re-base the budget, as was done for #4813, or reduce the EspIO footprint in a no-Serial Blink.
chore(memory): re-base esp32c3 Blink RAM budget for the native consol…
chore(memory): document esp32c3 budget re-base with physical DRAM evi…
docs(bloat): record #4982 esp32c3 attributed-RAM re-base in the score…
fix(esp32): ROM fallback on queued-write failure, drain UART0 before …
fix(esp32): skip ROM TX drain when a UART0 driver is installed (#4982)
fix(esp32): serialize ROM console writes with the native-console swit…
fix(esp32): keep the native UART console out of output-only builds (F…