Repository navigation
Closed
5 / 55 of 5 issues completedClosed
5 / 55 of 5 issues completed
Copy link
Description
Summary
Roll-up of the ESP32-S3 Blink memory/flash reduction issues filed after PR #4563 (bind RMT5 pixel encoder at construction, −7,768 B flash). Each sub-issue carries its own measurement and acceptance criteria; this issue only tracks them together.
Reference build: bash bloat esp32s3 --example Blink --build --top 25 at 0811ca88af — 459,560 B firmware flash, 374,588 B attributed.
Sub-issues
Measurement / tooling (do first — the numbers below depend on it)
- ci(bloat): make a slim ESP32-S3 profile reproducible and visible in reports #4564 ci(bloat): make a slim ESP32-S3 profile reproducible and visible in reports (default build lacks
NDEBUG/FASTLED_LOG_VERBOSITY=0; ~58.7 KB string pool, coredump, diag log) - measure_esp32s3_opt_ins: Stage 3 sdkconfig overlay is never applied #4570 measure_esp32s3_opt_ins: Stage 3 sdkconfig overlay is never applied (stage3/stack/max_savings rows are measuring baseline)
Code-size reductions
- perf(channels): finish the static showPixels size reduction after #4563 #4566 perf(channels): finish the static
showPixelssize reduction after refactor(channels): bind RMT5 pixel encoder at construction #4563 (2,584 B → ~1,000 B target,resolveDynamicDriver()628 B) - perf(stdio): share scalar format_arg code across types #4565 perf(stdio): share scalar
format_argcode across types (~6.6 KB across six instantiations) - perf(rmt5): measure and slim the static allocation ledger #4567 perf(rmt5): measure and slim the static allocation ledger (closed)
Related (pre-existing, not re-scoped here)
- Meta: ESP32-S3 Blink bloat reduction (file:line concrete plan) — supersedes #2885 #2886 Meta: ESP32-S3 Blink bloat reduction
- Reduce per-symbol bloat in the FastLED 1-4KB function band on ESP32-S3 (logging must stay enabled) #2974 Reduce per-symbol bloat in the 1–4 KB band on ESP32-S3
- ESP32-S3 binary size: item 2.5 Level B — ChannelEngineRMTImpl template-trait fixed allocation (~3-4 KB, deferred from #2773) #2864 ChannelEngineRMTImpl template-trait fixed allocation
- bloat gate: local ESP32-S3 Blink total_flash reads 4 KB higher than CI for the same commit #4468 local vs CI ESP32-S3 Blink
total_flash4 KB discrepancy
Done when
All sub-issues are closed, and a reproducible slim-profile bloat report shows the resulting ESP32-S3 Blink flash figure.
🤖 Generated with Claude Code
Sub-issues
Collapse Sub-issuesSub-issues
Loading 5 sub-issues
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Sep 24, 2026
Progress (ESP32-S3 Blink, bloat before → after):
Channel::showPixels2,504 → 226 B.format_arg<T>copies replaced by one 2,220 Bformat_scalar.custom_sdkconfigfor esp32s3; overlay builds are byte-identical). Work is parked on branchfeat/meta-work-4570.zackees commentedon Sep 24, 2026
Correction to the progress note: #4570 was resolved by merged PR #4573.
--config allnow skips the overlay configs, and naming one exits with an error that points to FastLED/fbuild#1460; the silent baseline measurement is gone. #4573's bloat is posted on the PR: +74 B attributed flash, all from its RMT5poll()fix. The parkedfeat/meta-work-4570branch was deleted because its approach relied on fbuild's ignoredcustom_sdkconfig, which would have brought back the silent no-op. All 5 sub-issues are closed.