jamie/prj_debug.conf

63 lines
1.3 KiB
Plaintext

# Disable Defaults + USB
CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_SHELL=n
CONFIG_USB_DEVICE_STACK=n
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
CONFIG_DK_LIBRARY=n
# Disable Networking Features
CONFIG_NET_IPV6=n
CONFIG_NET_IP_ADDR_CHECK=n
# Priorities / Memories
CONFIG_MAIN_THREAD_PRIORITY=7
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
CONFIG_NET_PKT_RX_COUNT=256
CONFIG_NET_PKT_TX_COUNT=10
# Zigbee
CONFIG_ZIGBEE=y
CONFIG_ZIGBEE_APP_UTILS=y
CONFIG_ZIGBEE_ROLE_ROUTER=y
CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y
# Crypto config
CONFIG_CRYPTO=y
CONFIG_CRYPTO_NRF_ECB=y
CONFIG_CRYPTO_INIT_PRIORITY=80
# 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
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
# Fatal Error Config
CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_ZBOSS_RESET_ON_ASSERT=y
# Bootlader
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
# Debug Optimizations
CONFIG_DEBUG=y
CONFIG_DEBUG_THREAD_INFO=y
CONFIG_DEBUG_OPTIMIZATIONS=y
CONFIG_DEBUG_INFO=y
CONFIG_MPSL_ASSERT_HANDLER=n