Skip to content

Commit e84f077

Browse files
committed
cmake: Tell Zephyr that picolibc is the default C library
This lets Zephyr not use picolibc.specs Signed-off-by: Keith Packard <[email protected]>
1 parent 095c383 commit e84f077

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmake/zephyr/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ config PICOLIBC_SUPPORTED
1616
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
1717
help
1818
Zephyr SDK >=0.16 always supports Picolibc for C and C++ development.
19+
20+
config PICOLIBC_DEFAULT
21+
def_bool y
22+
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
23+
help
24+
Zephyr SDK >=0.17.1 always uses Picolibc

0 commit comments

Comments
 (0)