2024-02-18 11:47:38 -07:00
|
|
|
# Disable Defaults + USB
|
|
|
|
CONFIG_CONSOLE=n
|
2024-02-17 16:27:29 -07:00
|
|
|
CONFIG_UART_CONSOLE=n
|
2024-02-18 11:47:38 -07:00
|
|
|
CONFIG_SERIAL=n
|
|
|
|
CONFIG_SHELL=n
|
|
|
|
CONFIG_USB_DEVICE_STACK=n
|
|
|
|
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
|
|
|
|
CONFIG_DK_LIBRARY=n
|
2024-02-17 16:27:29 -07:00
|
|
|
|
2024-02-18 11:47:38 -07:00
|
|
|
# Disable Networking Features
|
|
|
|
CONFIG_NET_IPV6=n
|
|
|
|
CONFIG_NET_IP_ADDR_CHECK=n
|
|
|
|
|
|
|
|
# Priorities / Memories
|
2024-02-17 16:27:29 -07:00
|
|
|
CONFIG_MAIN_THREAD_PRIORITY=7
|
2024-02-18 11:47:38 -07:00
|
|
|
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
|
|
|
|
|
|
|
CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=2048
|
|
|
|
CONFIG_ZBOSS_DEFAULT_THREAD_STACK_SIZE=10240
|
|
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
|
2024-02-17 16:27:29 -07:00
|
|
|
|
2024-02-18 11:47:38 -07:00
|
|
|
CONFIG_NET_PKT_RX_COUNT=256
|
|
|
|
CONFIG_NET_PKT_TX_COUNT=10
|
|
|
|
|
|
|
|
# Zigbee
|
2024-02-17 16:27:29 -07:00
|
|
|
CONFIG_ZIGBEE=y
|
|
|
|
CONFIG_ZIGBEE_APP_UTILS=y
|
|
|
|
CONFIG_ZIGBEE_ROLE_ROUTER=y
|
2024-02-18 11:47:38 -07:00
|
|
|
CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y
|
2024-02-17 16:27:29 -07:00
|
|
|
|
|
|
|
# Crypto config
|
|
|
|
CONFIG_CRYPTO=y
|
|
|
|
CONFIG_CRYPTO_NRF_ECB=y
|
|
|
|
CONFIG_CRYPTO_INIT_PRIORITY=80
|
|
|
|
|
2024-02-18 11:47:38 -07:00
|
|
|
# Logging
|
|
|
|
CONFIG_USE_SEGGER_RTT=y
|
|
|
|
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=10240
|
|
|
|
CONFIG_LOG=y
|
|
|
|
CONFIG_LOG_BACKEND_RTT=y
|
|
|
|
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=0
|
|
|
|
CONFIG_LOG_MODE_IMMEDIATE=y
|
2024-02-17 16:27:29 -07:00
|
|
|
|
2024-02-18 11:47:38 -07:00
|
|
|
CONFIG_FATAL_ERROR_LOG_LEVEL_DBG=y
|
|
|
|
CONFIG_MPSL_LOG_LEVEL_DBG=y
|
|
|
|
CONFIG_ZBOSS_TRACE_LOG_LEVEL_DBG=y
|
|
|
|
CONFIG_ZBOSS_TRACE_MASK=0x00000C48
|
2024-02-17 16:27:29 -07:00
|
|
|
|
|
|
|
|
2024-02-18 11:47:38 -07:00
|
|
|
# Fatal Error Config
|
|
|
|
CONFIG_RESET_ON_FATAL_ERROR=y
|
|
|
|
CONFIG_ZBOSS_RESET_ON_ASSERT=y
|
2024-02-17 16:27:29 -07:00
|
|
|
|
2024-02-18 11:47:38 -07:00
|
|
|
# Bootlader
|
2024-02-17 16:27:29 -07:00
|
|
|
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
|
|
|
|
|
2024-02-18 11:47:38 -07:00
|
|
|
# Debug Optimizations
|
2024-02-17 16:27:29 -07:00
|
|
|
CONFIG_DEBUG=y
|
|
|
|
CONFIG_DEBUG_THREAD_INFO=y
|
|
|
|
CONFIG_DEBUG_OPTIMIZATIONS=y
|
|
|
|
CONFIG_DEBUG_INFO=y
|
|
|
|
CONFIG_MPSL_ASSERT_HANDLER=n
|