Files
loramodem/app/prj.conf
2026-03-25 18:14:45 +01:00

29 lines
738 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=915000000
CONFIG_LORAMODEM_LORA_SF=9
CONFIG_LORAMODEM_LORA_BW=125
CONFIG_LORAMODEM_LORA_CR=5
CONFIG_LORAMODEM_LORA_TX_POWER_DBM=14
CONFIG_LORAMODEM_LORA_PREAMBLE_LEN=8
CONFIG_LORAMODEM_MAX_PACKET_SIZE=255