- boards/seeed/xiao_wio_sx1262: add overlay, .conf, board.yml - app: support full set of SX12xx bandwidths; default BW set to 62 (62.5 kHz) - Update Kconfig and prj.conf - Update lora_modem.h/c for validation and mapping
29 lines
737 B
Plaintext
29 lines
737 B
Plaintext
# LoRa KISS Modem — base project configuration
|
|
# Board-specific .conf overlays extend or override these settings.
|
|
|
|
# Logging
|
|
CONFIG_LOG=y
|
|
CONFIG_PRINTK=y
|
|
|
|
# LoRa subsystem
|
|
CONFIG_LORA=y
|
|
|
|
# UART (interrupt-driven for non-blocking byte-by-byte processing)
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
|
|
# Heap for KISS frame buffers and dynamic allocations
|
|
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
|
|
|
# Zephyr kernel threads
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
|
|
# Default radio parameters (US 915 MHz, SF9, BW125, CR 4/5)
|
|
CONFIG_LORAMODEM_LORA_FREQ_HZ=869618000
|
|
CONFIG_LORAMODEM_LORA_SF=8
|
|
CONFIG_LORAMODEM_LORA_BW=62
|
|
CONFIG_LORAMODEM_LORA_CR=5
|
|
CONFIG_LORAMODEM_LORA_TX_POWER_DBM=21
|
|
CONFIG_LORAMODEM_LORA_PREAMBLE_LEN=8
|
|
CONFIG_LORAMODEM_MAX_PACKET_SIZE=255
|