summaryrefslogtreecommitdiff
path: root/examples/halcheck.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-26 02:04:57 -0300
committerGabriel Schneider <[email protected]>2026-08-26 02:04:57 -0300
commitc64012e35c6370804f8588a62964e358631323b9 (patch)
tree4ce805063707c539f3457ea40d96ad1c98d7a6f6 /examples/halcheck.zig
parentcea01b8c08c30fa68fcbf18266937274a080507e (diff)
downloadesp32p4-c64012e35c6370804f8588a62964e358631323b9.tar.gz
esp32p4-c64012e35c6370804f8588a62964e358631323b9.zip
Ask the shell for its own grid, and report the heap on every boot
Two small changes that the geometry sweep needed. The firmware asked for 80x24 and let the shell clamp it, which made this file a second opinion about the board's geometry - one opinion too many, and wrong the moment the shell could render more than that. It now asks for 255x255 so the shell's own ceiling is what governs, and the shell reports what it settled on. And the heap is printed on every boot rather than only when init fails. A geometry that fits with 2 KB to spare and one that fits with 80 KB are not the same answer, and from the host the difference was invisible. That line is what showed the sweep that memory had stopped being the constraint at all: 336 KB free at every size tried, while '.bss' - the shadow grid, sized at comptime - is what actually runs out.
Diffstat (limited to 'examples/halcheck.zig')
0 files changed, 0 insertions, 0 deletions