Skip to content

Commit f4af79e

Browse files
committed
picolibc: Enable dual-mode picolibc builds
This provides both minsize and release versions of picolibc in the SDK, allowing users to select between them while building their application. Signed-off-by: Keith Packard <[email protected]>
1 parent b9321a7 commit f4af79e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

configs/common.config

+1
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,6 @@ CT_COMP_LIBS_PICOLIBC=y
7171
CT_PICOLIBC_SRC_CUSTOM=y
7272
CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc"
7373
CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y
74+
CT_LIBC_PICOLIBC_ENABLE_TARGET_OPTBOTH=y
7475
CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y
7576
CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true -Dassert-verbose=false"

0 commit comments

Comments
 (0)