Added separate debug config to better separate flags during development.
This commit is contained in:
parent
61729aa81a
commit
891a63a1b3
2 changed files with 55 additions and 1 deletions
|
|
@ -43,4 +43,6 @@ CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y
|
|||
CONFIG_RAM_POWER_DOWN_LIBRARY=y
|
||||
|
||||
# Config options in Kconfig.
|
||||
# CONFIG_PRST_ZB_SLEEP_DURATION_SEC=5
|
||||
CONFIG_PRST_ZB_SLEEP_DURATION_SEC=600
|
||||
CONFIG_MODEL_ID="Z-Parasite"
|
||||
CONFIG_BUILD_DATE="20221216"
|
||||
52
code/nrf-connect/samples/zigbee/prj_debug.conf
Normal file
52
code/nrf-connect/samples/zigbee/prj_debug.conf
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
|
||||
CONFIG_LOG=y
|
||||
CONFIG_PWM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_ADC=y
|
||||
CONFIG_GPIO=y
|
||||
|
||||
CONFIG_PM=y
|
||||
CONFIG_PM_DEVICE=y
|
||||
|
||||
CONFIG_NEWLIB_LIBC=y
|
||||
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
|
||||
|
||||
CONFIG_SERIAL=n
|
||||
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=2048
|
||||
CONFIG_MAIN_THREAD_PRIORITY=7
|
||||
|
||||
CONFIG_ZIGBEE=y
|
||||
CONFIG_ZIGBEE_APP_UTILS=y
|
||||
CONFIG_ZIGBEE_ROLE_END_DEVICE=y
|
||||
|
||||
# This example requires more workqueue stack
|
||||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
||||
|
||||
# Enable nRF ECB driver
|
||||
CONFIG_CRYPTO=y
|
||||
CONFIG_CRYPTO_NRF_ECB=y
|
||||
CONFIG_CRYPTO_INIT_PRIORITY=80
|
||||
|
||||
# Networking
|
||||
CONFIG_NET_IPV6_MLD=n
|
||||
CONFIG_NET_IPV6_NBR_CACHE=n
|
||||
CONFIG_NET_IPV6_RA_RDNSS=n
|
||||
CONFIG_NET_IP_ADDR_CHECK=n
|
||||
CONFIG_NET_UDP=n
|
||||
|
||||
# Get Zigbee to scan every channel.
|
||||
CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y
|
||||
|
||||
# Enable API for powering down unused RAM parts.
|
||||
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrf/ug_zigbee_configuring.html#power-saving-during-sleep
|
||||
CONFIG_RAM_POWER_DOWN_LIBRARY=y
|
||||
|
||||
# Config options in Kconfig.
|
||||
CONFIG_PRST_ZB_SLEEP_DURATION_SEC=10
|
||||
|
||||
CONFIG_LOG_DEFAULT_LEVEL=4
|
||||
CONFIG_CORE_LOG_LEVEL=4
|
||||
|
||||
CONFIG_MODEL_ID="Z-Parasite"
|
||||
CONFIG_BUILD_DATE="20221216"
|
||||
Loading…
Add table
Reference in a new issue