mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-10-23 14:22:43 +00:00
Pre-building all seven settings sub-views at construction created ~100 LVGL objects that (being <256B) allocated into internal DRAM via the hybrid allocator. On the T-Deck that fragmented internal heap to an 8180B largest block at LVGL task-creation time, and the 8KB task (needs ~8.5KB with TCB) failed: xTaskCreatePinnedToCore returned errQUEUE_FULL, the device parked on the boot splash, and confirm_running_firmware never ran. Root cause proven with an on-device heap probe (largest internal block 8180B, 8192-stack task FAIL, 4096-stack OK), then fixed by building each sub-view on first navigation. Boot-time internal DRAM rises to a 47KB largest block and the task starts cleanly. Signed-off-by: Torlando <tyler@torlando.tech>