Skip to content

feat(post): where did my flash go, a flagship on finding 36 KB (20 Dec) - #316

Merged
filipsajdak merged 3 commits into
mainfrom
feat/post-where-did-my-flash-go
Nov 29, 2026
Merged

filipsajdak merged 3 commits into
mainfrom
feat/post-where-did-my-flash-go

Conversation

@filipsajdak

Copy link
Copy Markdown
Contributor

20 Dec 16:00Z flagship: where did my flash go. Seven steps (size -A per object, the link map by object and section, nm by size, symdiff of two builds, the code reachable only from one function, A/B builds, a size gate), each run on lvgl26, that found 36 KB.

lvgl26 before (03496b8) and after (3a23a478) on a Cortex-M4 in QEMU, against the same screen in plain LVGL C:

before after plain C
flash, shipped slice 283,724 247,000 244,472
gap to C +39,252 +2,528
contract checks 22,784 flash, 4,032 RAM 364 flash, 0 RAM
flash per label + arc 188.3 B 68.3 B 57.3 B

Source: RESULTS.md in examples PR #109 (merges first). The lvgl26 disclosure line and status line are in the post.

Commits

  1. chore(schedule) 20 Dec 16:00Z double 2. feat(post) 3. feat(social)

Notes for review

Verification

Merge waits for the owner's go (deadline 19 Dec 20:00Z).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X

filipsajdak and others added 3 commits November 29, 2026 17:43
The where-did-my-flash-go flagship goes out beside the from_chars short
of the day, after the contracts and options-struct posts it links.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
A flagship on the method behind the lvgl26 size fixes: sizes per
object, the link map summed by object, the largest symbols, the
call-graph closure, one A/B build per change, the slope per widget and
a size gate. The gap to the same screen in C went from 39,252 to 2,528
bytes of flash (2,304 with full LTO). Heap per widget is lower than C,
flash per widget and the task heap are not.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
…flagship

Card headline "Seven steps found 36 KB of flash"; both captions are set
for Sunday 2026-12-20 at 16:00 UTC, the planned second slot of the day.
The OG image is copied to public/og.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
@filipsajdak
filipsajdak force-pushed the feat/post-where-did-my-flash-go branch from afc7a97 to 05b3719 Compare November 29, 2026 16:53
@filipsajdak
filipsajdak merged commit 08dccd8 into main Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant