From 4e15234fdb205db6432b9e028a7989bfdcbb11fc Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Mon, 2 Dec 2019 17:47:44 +0900 Subject: [PATCH] libc: newlib: Remove gnuarmemb restriction on newlib nano variant NEWLIB_LIBC_NANO was defined only for gnuarmemb toolchain because Zephyr SDK did not support the newlib nano variant (as defined by nano.specs) due to the inherent limitations of crosstool-ng, which is used to build the toolchains. Since crosstool-ng/crosstool-ng#1279 added support for the nano C/C++ runtime library variant and this change was introduced to the Zephyr SDK through zephyrproject-rtos#153, it is no longer necessary to restrict the newlib nano variant to gnuarmemb toolchain only. Signed-off-by: Stephanos Ioannidis --- lib/libc/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/libc/Kconfig b/lib/libc/Kconfig index 52fd57484e39f..e2b8f70217a8b 100644 --- a/lib/libc/Kconfig +++ b/lib/libc/Kconfig @@ -40,7 +40,6 @@ endchoice # LIBC_IMPLEMENTATION if NEWLIB_LIBC -if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "gnuarmemb" config NEWLIB_LIBC_NANO bool "Build with newlib-nano C library" default y @@ -48,7 +47,6 @@ config NEWLIB_LIBC_NANO Build with newlib-nano library, for small embedded apps. The newlib-nano library for ARM embedded processors is a part of the GNU Tools for ARM Embedded Processors. -endif config NEWLIB_LIBC_ALIGNED_HEAP_SIZE int "Newlib aligned heap size"