mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-17 09:01:55 +00:00
Tune Arduino task stacks and board env flags to recover internal RAM for BLE startup. Avoid synchronous boot UI rendering on Arduino loopTask and move large board singletons toward PSRAM where available. Improve TDeck/Pager display responsiveness by restoring practical LVGL DMA buffers, using SPI pixel writes, disabling transition animations, and testing TDeck display SPI at 80MHz.
ui_shared
Shared LVGL UI building blocks that are reused by multiple screens and should remain portable across ESP Arduino, ESP-IDF, and future Linux LVGL targets.
Current contents
ui/app_screen.hui/app_runtime.hui/formatters.hui/components/two_pane_nav.hui/components/two_pane_layout.hui/components/two_pane_styles.hui/screens/*shared screen implementationsui/assets/*shared icons/fonts/images
These files are the current shared UI contracts, reusable screens, and shared UI assets that no longer belong to a single legacy src/ui/* subtree.
Current boundary notes:
ui/app_screen.hdefines the shared screen contract used by menu/runtime codeui/app_runtime.howns shared app-switching, menu-return, focus-group, and generic LVGL menu helpersui/formatters.howns pure UI formatting helpers that do not depend on board state or persistence- battery, timezone, screenshot, display glue, map tiles, and other board/product-specific UI helpers now live under
platform/esp/arduino_common