mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-15 16:20:01 +00:00
- gps: servers honour gps_enabled at boot (was lost on reboot; zc.gps_set upgrades older prefs to on once); sleep lock only while acquiring; gps off works on boards without a power line (UART sleep); UI toggles and fixes handled on the main thread; configure only after a good init; observer parks its GPS; one interval clamp (clampGpsInterval); one nav-mode knob (room servers on Air530Z now stationary); GNSS UARTE from DT - gps: split into ZephyrGPSManager / gps_power / gps_module_cfg (+gps_internal.h); dead driver branches, gps_get_diag, sats_* removed - clock: ZephyrRTCClock writes the hardware RTC itself (clkreboot now resets it); MESH_EVENT_RTC_SAVE gone - power: one power-off path (zephcore_power_off, ZephyrBoard::powerOff), poweroff/shutdown CLI, get pwrmgt.*, crash record kept across reboot, battery reading cached 10 s, fuel gauge on the current API - telemetry: upstream SensorManager + CayenneLPP (rounded to nearest), one builder for all roles; per-sensor channels, MCU temp always, guest gating and inverse mask on servers; sensor list/get/set work; BME280/BMP280 also probed at 0x77 - CLI: gps in upstream's form, get gps detail, gps sync
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
# Repeater-specific config
|
|
#
|
|
# Build with: -DEXTRA_CONF_FILE="boards/common/repeater.conf"
|
|
#
|
|
# Repeaters use USB serial CLI for configuration — no BLE, no bonding, no NUS.
|
|
# This overrides the BLE settings in zephcore_common.conf.
|
|
|
|
# ========== Role Selection ==========
|
|
CONFIG_ZEPHCORE_ROLE_REPEATER=y
|
|
|
|
# ========== Disable BLE entirely ==========
|
|
# Repeaters have zero BLE functionality — all config via USB serial CLI.
|
|
# Saves ~100KB flash and ~30KB RAM on nRF52.
|
|
CONFIG_BT=n
|
|
|
|
# ========== Entropy (required when BT is disabled) ==========
|
|
# BT normally pulls in the entropy subsystem. Without BT, we need it explicitly
|
|
# for Ed25519 key generation, LoRa random delays, etc.
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
|
|
# ========== Optional ESP32 repeater uplink ==========
|
|
# Observer-style WiFi+MQTT reporting from repeater role.
|
|
# Runtime-configured and reboot-applied.
|
|
CONFIG_ZEPHCORE_REPEATER_UPLINK=n
|
|
|
|
# GNSS dynamic model: stationary on fixed roles, from CONFIG_ZEPHCORE_GPS_NAV_MODE
|
|
# (which the air530z driver's own knob follows; see zephcore/Kconfig).
|