mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-23 13:33:03 +00:00
- migrate ESP board-specific implementations and runtime adapters into boards/* - continue GAT562/Tab5/UI runtime alignment across app and board layers - sync BLE and runtime integrations, and apply repository clang-format rules
platform/esp/boards
Shared ESP board abstractions, dispatcher glue, and reusable support code.
Current responsibilities:
- shared board-facing contracts under
include/board/* - ESP display abstractions and panel drivers under
include/display/*andsrc/display/* - board-local input drivers such as rotary handling under
include/input/*andsrc/input/* - any remaining shared board implementations under
src/board/*with public headers ininclude/board/* - board selection/runtime dispatch under
include/platform/esp/boards/*andsrc/board_runtime.cpp
Boundary note:
- code that directly owns a specific board's peripherals, display buses, PMU wiring, LoRa wiring, GPS wiring, touch/keyboard/NFC, display panel setup, or board singleton instances belongs under
boards/<name>/* - code that is intentionally shared across multiple ESP boards belongs here
- these headers intentionally keep canonical
board/...,display/..., and board-localinput/...include prefixes so callers no longer depend on legacysrc/*locations