From adf28d8903342748a0532dadaea23fc2fd14c233 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 7 Feb 2019 17:37:32 -0600 Subject: [PATCH] libs/libc/stdio/Kconfig: CONFIG_NANO_PRINTF should depend on CONFIG_LIBC_LONG_LONG=n. Default should be y if CONFIG_DEFAULT_MALL=yi (as suggested by Alan Carvalho de Assis). --- libs/libc/stdio/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/libc/stdio/Kconfig b/libs/libc/stdio/Kconfig index 893a8c03178..87555c6996e 100644 --- a/libs/libc/stdio/Kconfig +++ b/libs/libc/stdio/Kconfig @@ -110,7 +110,9 @@ config MEMCPY_VIK config NANO_PRINTF bool "Use nano printf code" - default n + default y if DEFAULT_SMALL + default n if !DEFAULT_SMALL + depends on !LIBC_LONG_LONG ---help--- Replace printf code with version from newlib-nano. This version provides improved floating point output support, including 'g' mode