Skip to content

Commit aa6c690

Browse files
committed
cmake: Disable Newlib-nano for Xtensa
This commit temporarily disables the Newlib nano variant for the Xtensa architecture because there is a bug in the nano `memset` implementation causing a system crash (see the GitHub issue #660). Revert this commit when #660 is fixed. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
1 parent 3c931c1 commit aa6c690

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/zephyr/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
config TOOLCHAIN_ZEPHYR_0_16
44
def_bool y
5-
select HAS_NEWLIB_LIBC_NANO
5+
# FIXME: Newlib-nano is disabled for Xtensa targets due to the memset
6+
# bug causing crashes (see the GitHub issue #660).
7+
select HAS_NEWLIB_LIBC_NANO if !XTENSA
68

79
config TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE
810
def_bool y

0 commit comments

Comments
 (0)