mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-06-20 20:21:47 +00:00
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