mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-11 22:28:53 +00:00
25381c5c22
- 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
modules/core_sys
Home for cross-platform system abstractions and generic utilities.
Migrated now
include/sys/ringbuf.hinclude/sys/clock.hinclude/app/app_facade_access.hinclude/app/app_context_platform_bindings.hsrc/sys/clock.cppsrc/app/app_facade_access.cpp
Moved to platform layer
event_busnow lives atplatform/esp/arduino_common/include/sys/event_bus.hbecause it depends on chat/team event payloads plus FreeRTOS runtime details
Expected future contents
- timer abstraction
- storage and file-system interfaces
- shared utility code that is not tied to ESP or Linux runtime APIs
Transitional note
sys/ringbuf.handsys/clock.hare now consumed directly frommodules/core_sys/include/sys/*clock.cppprovides portable fallbacks based on the C++ standard library and can be overridden by platform-specific providers- the active app shell should register runtime providers through
sys::set_millis_provider()andsys::set_epoch_seconds_provider()during startup