Skip to content

Commit 42335fe

Browse files
edmontjfischer-no
authored andcommitted
zigbee: kconfig: use minimal libc by default
Zigbee samples have some dependencies on minimal libc implementation. For instance, RAM Power Down library usage leads to a bus fault when using Picolib. Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
1 parent 6f5ce8b commit 42335fe

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

samples/zigbee/light_switch/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp_fota.conf

-3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,3 @@ CONFIG_FPROTECT=y
3838
CONFIG_NORDIC_QSPI_NOR=y
3939
CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
4040
CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE=16
41-
42-
# Use minimal C library instead of the Picolib
43-
CONFIG_MINIMAL_LIBC=y

subsys/zigbee/Kconfig

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ if ZIGBEE
2727

2828
rsource "lib/Kconfig"
2929

30+
# Override libc implementation
31+
choice LIBC_IMPLEMENTATION
32+
default MINIMAL_LIBC
33+
help
34+
Use minimal libc implementation with Zigbee.
35+
endchoice
36+
3037
config NET_L2_ZIGBEE
3138
bool "Zigbee L2"
3239
depends on NETWORKING

0 commit comments

Comments
 (0)