mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-11-11 06:37:56 +00:00
Compose the CM0 fullscreen application and standard Debian package, align the Cardputer Zero shell, and share protocol, configuration, audio and storage services with embedded targets through existing platform seams. Add the paginated on-device TMAP creator using Center's published producer, private workspace recovery and direct keyboard shortcuts. Preserve unfinished management work behind its existing opt-in capability. Include native, ARM and shared-core regression fixtures, integration records, packaging helpers and dependency/license updates. Keep local build trees, device credentials, produced packages and validation logs outside version control. Validation before integration: ESP stack hygiene, Reticulum scope guard, staged whitespace checks and GitNexus scope audit. Prior device/build evidence and remaining hardware/package boundaries are recorded in the acceptance documents.
modules/core_hostlink
Home for shared hostlink protocol logic and state handling.
Migrated now
hostlink_protocol.mdinclude/hostlink/hostlink_types.hinclude/hostlink/hostlink_codec.hsrc/hostlink_codec.cppinclude/hostlink/hostlink_config_codec.hsrc/hostlink_config_codec.cppinclude/hostlink/hostlink_service_codec.hsrc/hostlink_service_codec.cppinclude/hostlink/hostlink_session.hsrc/hostlink_session.cppinclude/hostlink/hostlink_frame_router.hsrc/hostlink_frame_router.cppinclude/hostlink/hostlink_app_data_codec.hsrc/hostlink_app_data_codec.cppinclude/hostlink/hostlink_event_codec.hsrc/hostlink_event_codec.cppinclude/hostlink/c6/c6_protocol.hinclude/hostlink/c6/c6_frame_codec.hinclude/hostlink/c6/c6_frame_codec_c.hsrc/c6_frame_codec.cppsrc/c6_frame_codec_c.c
These pieces are pure protocol/codec logic and do not depend on Arduino, FreeRTOS, USB, board support, or application composition.
The hostlink/c6/* path is intentionally distinct from the Data Exchange
HostLink frame format. C6 HostLink is the P4-to-ESP32-C6 wireless companion
protocol defined by the companion architecture; it shares the module because it
is portable wire protocol code, not because the two transports are
interchangeable.
Deferred for later
- hostlink runtime ownership has moved out of
src/hostlink, but it still remains in the ESP/Arduino platform layer because it owns USB transport, FreeRTOS tasks/queues, and current runtime scheduling policy