Files
trail-mate/platform/esp/boards
liu weikai 25381c5c22 refactor: align board runtimes, GAT562 app shell, and BLE integrations
- 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
2026-03-23 11:20:39 +08:00
..

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/* and src/display/*
  • board-local input drivers such as rotary handling under include/input/* and src/input/*
  • any remaining shared board implementations under src/board/* with public headers in include/board/*
  • board selection/runtime dispatch under include/platform/esp/boards/* and src/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-local input/... include prefixes so callers no longer depend on legacy src/* locations