mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-02 01:51:42 +00:00
d320b6511d
* Unify PlatformIO and ESP-IDF around a shared UI/runtime shell
1.0 KiB
1.0 KiB
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