mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-02 17:33:43 +00:00
30 lines
1.1 KiB
Plaintext
30 lines
1.1 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
|
|
|
|
# ========== Display ==========
|
|
# Fast sleep — repeater display is rarely needed, save power.
|
|
# Only user button wakes it (no LoRa RX wake, no flashing).
|
|
CONFIG_ZEPHCORE_UI_DISPLAY_AUTO_OFF_MS=5000
|
|
|
|
# ========== USB CDC ==========
|
|
# Custom USB init with 1200 baud touch detection for UF2 bootloader (nRF52 only).
|
|
# ESP32 boards use usb_serial — this setting is ignored there.
|
|
CONFIG_CDC_ACM_SERIAL_INITIALIZE_AT_BOOT=n
|