Size Preset Validation¶
Commit:
1fe189ebDate: 2026-05-21T16:09:03.950909
Validation target:
APP=HelloSizeAnalysis APP_SUB=preset_validation PORT=qemu CPU_ARCH=cortex-m0plusValidation method: rewrite the app-local preset override header from each template, then build the qemu target and collect ELF section sizes.
Purpose: verify that preset template files themselves are syntactically valid and can be used as direct app-local config bodies.
Result¶
Preset |
Build |
Text |
Rodata |
Data |
Bss |
Total ROM |
Template |
|---|---|---|---|---|---|---|---|
tiny_rom |
PASS |
12680 |
612 |
1368 |
6188 |
13292 |
|
basic_ui |
PASS |
14584 |
596 |
1368 |
6508 |
15180 |
|
dashboard |
PASS |
19016 |
660 |
1368 |
7780 |
19676 |
|
full_feature |
PASS |
30688 |
3980 |
1368 |
8068 |
34668 |
|
Reproduce¶
python scripts/size_analysis/main.py size-preset-validation-to-doc
Raw JSON is written to output/size_preset_validation_results.json.