Skip to content

Commit c36b1d0

Browse files
ArekBalysNordicnordic-piks
authored andcommitted
modules: openthread: Workaround for posix conf for picolibc
Workaround for picolib. Currently, Zephyr does not support POSIX_SYSCONF_IMPL_FULL if PICOLIBC is enabled. Use POSIX_SYSCONF_IMPL_MACRO instead until it is fixed in Zephyr. Signed-off-by: Arkadiusz Balys <[email protected]>
1 parent ad6fa26 commit c36b1d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

subsys/net/openthread/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ endchoice
9797
config NEWLIB_LIBC_NANO
9898
default y if NEWLIB_LIBC
9999

100+
# Workaround for picolib. Currently, Zephyr does not support
101+
# POSIX_SYSCONF_IMPL_FULL if PICOLIBC is enabled.
102+
# Use POSIX_SYSCONF_IMPL_MACRO instead until it is fixed in Zephyr.
103+
choice POSIX_SYSCONF_IMPL_CHOICE
104+
default POSIX_SYSCONF_IMPL_MACRO if PICOLIBC
105+
endchoice
106+
100107
config NUM_METAIRQ_PRIORITIES
101108
default 1
102109

0 commit comments

Comments
 (0)