The new SDK requires 802.15.4 to be enabled in the board DTS file. Also disable IPv6 explicitly to avoid compile errors related to its network stack, since it is not used currently. Closes #94
52 lines
No EOL
1.1 KiB
Text
52 lines
No EOL
1.1 KiB
Text
|
|
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=n
|
|
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
|
|
|
|
# LittleFS.
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_FLASH=y
|
|
CONFIG_FLASH_MAP=y
|
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
|
CONFIG_FILE_SYSTEM=y
|
|
CONFIG_FILE_SYSTEM_LITTLEFS=y |