mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-02 15:53:56 +00:00
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
# Packet Logging Only - Common to Repeater boards
|
|
# Build: west build -b <board> zephcore --pristine -- \
|
|
# -DCONFIG_ZEPHCORE_ROLE_REPEATER=y \
|
|
# -DEXTRA_CONF_FILE="boards/common/packet_logging.conf"
|
|
#
|
|
# Output: Clean packet logs only (RAW, RX, TX lines)
|
|
# No debug spam from zephcore_lora, zephcore_dispatcher, etc.
|
|
#
|
|
# Example output:
|
|
# 14:01:24 - 10/2/2026 U RAW: 150341E248D93B1BA948BC7E...
|
|
# 14:01:24 - 10/2/2026 U: RX, len=40 (type=5, route=F, payload_len=35) SNR=1 RSSI=-106 score=949 time=476 hash=C3CD323A5235CB60
|
|
|
|
# Enable logging subsystem (needed for LOG_* macros)
|
|
CONFIG_LOG=y
|
|
CONFIG_LOG_MODE_DEFERRED=y
|
|
|
|
# Send printk directly to console (USB CDC), not through log system
|
|
# This avoids needing CONFIG_LOG_BACKEND_UART
|
|
CONFIG_LOG_PRINTK=n
|
|
|
|
# Enable packet logging
|
|
CONFIG_ZEPHCORE_PACKET_LOGGING=y
|
|
CONFIG_ZEPHCORE_PACKET_LOGGING_ONLY=y
|
|
|
|
# Silence all module logs (packet logs use printk, bypass log levels)
|
|
CONFIG_ZEPHCORE_LORA_LOG_LEVEL_OFF=y
|
|
CONFIG_ZEPHCORE_BLE_LOG_LEVEL_OFF=y
|
|
CONFIG_ZEPHCORE_BOARD_LOG_LEVEL_OFF=y
|
|
CONFIG_ZEPHCORE_DATASTORE_LOG_LEVEL_OFF=y
|
|
CONFIG_ZEPHCORE_SENSORS_LOG_LEVEL_OFF=y
|
|
CONFIG_ZEPHCORE_GPS_LOG_LEVEL_OFF=y
|
|
CONFIG_ZEPHCORE_USB_LOG_LEVEL_OFF=y
|
|
CONFIG_ZEPHCORE_UI_ACTIONS_LOG_LEVEL_OFF=y
|
|
CONFIG_LORA_LOG_LEVEL_OFF=y
|