Repository navigation
CI: flash size report per component, compared with dev - #17
Merged
Merged
Conversation
tools/size_report.py reads the linker map and prints flash per component (core, each library, libgcc soft-float, libm, src) as a markdown table. CI writes the map and adds the table to each job's log and summary, also when linking overflows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- size_report.py: --json writes the sizes, --base adds a 'vs base' column (removed components listed with their negative delta), --summary prints one table of totals for all builds. - Each build uploads its sizes as an artifact (90 days) and compares with the same build in the latest completed dev push run. - New size-summary job: totals of all builds vs dev in one table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Candas1
marked this pull request as ready for review
November 27, 2026 15:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tools/size_report.pyreads the linker map and prints flash per component (core, each library, libgcc soft-float, libm, src) as a markdown table. CI writes the map (-Wl,-Map) and adds the table to each job's log and job summary, also when linking overflows.size-summaryjob: one table with the total of every build and its change vs dev.Deltas start appearing once this is merged and dev has run once (until then there's no base; the tables just have no delta column).
Used once on a temporary branch to measure stm32duino#3117 (≈ −2.1 KB on STM32F103) and the IMU stack (Madgwick 4.4 KB, soft-float 3.7 KB, libm 1.9 KB, Adafruit_MPU6050 1.9 KB on STM32F103C8).
🤖 Generated with Claude Code