Files
trail-mate/modules/core_gps
Trail Mate Dev 6e613e382e Add CM0 Linux support and share device services across platforms
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.
2026-10-29 10:29:29 +08:00
..
2026-05-19 16:04:42 +08:00
2026-05-19 16:04:42 +08:00

modules/core_gps

Home for shared GPS domain logic, filtering, and portable contracts.

Migrated now

  • include/gps/domain/gnss_satellite.h
  • include/gps/domain/location_fix.h
  • include/gps/domain/time_fact.h
  • include/gps/domain/gps_status.h
  • include/gps/domain/satellite_info.h
  • include/gps/domain/gps_state.h
  • include/gps/domain/motion_sensor_ids.h
  • include/gps/domain/motion_config.h
  • include/gps/ports/i_gps_hw.h
  • include/gps/ports/i_gnss_byte_stream.h
  • include/gps/ports/i_gps_power_control.h
  • include/gps/ports/i_gps_config_applier.h
  • include/gps/ports/i_location_source.h
  • include/gps/ports/i_time_authority.h
  • include/gps/ports/i_location_event_sink.h
  • include/gps/ports/i_motion_hw.h
  • include/gps/protocol/nmea/nmea_sentence.h
  • include/gps/protocol/nmea/nmea_parser.h
  • include/gps/protocol/ubx/ubx_parser.h
  • include/gps/motion_policy.h
  • src/motion_policy.cpp
  • include/gps/usecase/gps_jitter_filter.h
  • src/usecase/gps_jitter_filter.cpp
  • include/gps/usecase/location_service.h
  • src/usecase/location_service.cpp
  • include/gps/usecase/time_authority.h
  • src/usecase/time_authority.cpp
  • include/gps/usecase/gps_runtime_policy.h
  • src/usecase/gps_runtime_policy.cpp
  • include/gps/usecase/gps_runtime_config.h
  • src/usecase/gps_runtime_config.cpp
  • include/gps/usecase/gps_runtime_state.h
  • src/usecase/gps_runtime_state.cpp

Platform-owned runtime now lives elsewhere

  • ESP/Arduino GPS runtime shell now lives under platform/esp/arduino_common/gps/*
  • That includes gps_service.*, track_recorder.*, GPS.*, gps_service_api.*, gps_hw_status.*, and the concrete HAL adapters
  • These files stay outside core_gps because they still depend on FreeRTOS, Arduino, board drivers, SD, display, and ESP runtime policy

Transitional note

  • legacy shim headers under src/gps/* have been removed
  • callers now include canonical shared headers from gps/... and platform runtime headers from platform/esp/arduino_common/gps/...
  • shared motion_policy no longer includes Arduino.h directly and now consumes core_sys clock helpers