console: each command carries its summary, and dispatch names it, -166 B
The help text was thirteen help_row(N) calls and the dispatch thirteen
case N labels, both counting positions in a list defined elsewhere. A
command is now one row of name and summary; the summaries become a second
NUL-separated flash blob printed in a loop, and every case label is
command_index("name"), which does not compile for a name the list lacks.
The help column derives from the longest name, the dotted padding is one
helper for labels and help rows alike, and the ADC scale, the monitor
interval and the uptime units are named. Output is unchanged; the image
goes from 8004 B to 7838 B, both modes byte-identical. The 32-bit
narrowing in dev/tasks.md is re-measured against the new image.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e44b45dd1e
commit
c58ff23e90
5 files changed
+137
-147
No files matched your search
+2
-2
@@ -16,8 +16,8 @@ and re-propose work the owner has already refused.
|
||||
### The millisecond clock stays 64 bits
|
||||
|
||||
Narrowing `uptime::millis()` and the three timestamps that hold its value from
|
||||
`uint64_t` to `uint32_t` is **608 B of flash, 7.6 % of the image** (8004 B down
|
||||
to 7396), plus 16 B of RAM.
|
||||
`uint64_t` to `uint32_t` is **602 B of flash, 7.7 % of the image** (7838 B down
|
||||
to 7236), plus 16 B of RAM.
|
||||
|
||||
**Refused, owner-stated: this board runs continuously and an uptime that
|
||||
restarts every 49.7 days is not acceptable.** That is what a 32-bit
|
||||
|
||||
Reference in new issue
Block a user