This is an automated email from the ASF dual-hosted git repository.

hartmannathan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d43b4a4eb libc/stdio: Enable LIBC_FLOATINGPOINT by default if 
ARCH_FPU is enabled
1d43b4a4eb is described below

commit 1d43b4a4ebca44489af7140269733866bd5f37d4
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Wed Jul 13 04:25:48 2022 +0800

    libc/stdio: Enable LIBC_FLOATINGPOINT by default if ARCH_FPU is enabled
    
    and DEFAULT_SMALL is false
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 boards/arm/imxrt/imxrt1050-evk/configs/libcxxtest/defconfig             | 1 -
 boards/arm/imxrt/imxrt1060-evk/configs/libcxxtest/defconfig             | 1 -
 boards/arm/imxrt/imxrt1064-evk/configs/libcxxtest/defconfig             | 1 -
 boards/arm/imxrt/teensy-4.x/configs/lua-4.1/defconfig                   | 1 -
 boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig                   | 1 -
 boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig                      | 1 -
 boards/arm/samv7/samv71-xult/configs/nxwm/defconfig                     | 1 -
 boards/arm/samv7/samv71-xult/configs/vnxwm/defconfig                    | 1 -
 boards/arm/stm32/b-g474e-dpow1/configs/nsh/defconfig                    | 1 -
 boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig                | 1 -
 boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig                | 1 -
 boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig                  | 1 -
 boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig                  | 1 -
 boards/arm/stm32/nucleo-g474re/configs/nsh/defconfig                    | 1 -
 boards/arm/stm32/nucleo-g474re/configs/usbserial/defconfig              | 1 -
 boards/arm/stm32/olimex-stm32-p407/configs/dhtxx/defconfig              | 1 -
 boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig            | 1 -
 boards/arm/stm32/stm32f429i-disco/configs/highpri/defconfig             | 1 -
 boards/arm/stm32f7/nucleo-144/configs/f746-pysim/defconfig              | 1 -
 boards/risc-v/mpfs/icicle/configs/hwtest/defconfig                      | 1 -
 boards/risc-v/mpfs/icicle/configs/knsh/defconfig                        | 1 -
 boards/risc-v/mpfs/icicle/configs/nsh/defconfig                         | 1 -
 boards/risc-v/mpfs/icicle/configs/pnsh/defconfig                        | 1 -
 boards/risc-v/mpfs/m100pfsevp/configs/nsh/defconfig                     | 1 -
 boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig              | 1 -
 boards/xtensa/esp32/esp32-devkitc/configs/bmp280/defconfig              | 1 -
 .../xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig   | 1 -
 boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig               | 1 -
 boards/xtensa/esp32/esp32-devkitc/configs/ms5611/defconfig              | 1 -
 boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig             | 1 -
 boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig         | 1 -
 .../esp32/esp32-ethernet-kit/configs/mcuboot_update_agent/defconfig     | 1 -
 boards/xtensa/esp32/esp32-ethernet-kit/configs/wapi/defconfig           | 1 -
 boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig           | 1 -
 .../esp32/esp32-wrover-kit/configs/mcuboot_update_agent/defconfig       | 1 -
 boards/xtensa/esp32/esp32-wrover-kit/configs/wapi/defconfig             | 1 -
 libs/libc/stdio/Kconfig                                                 | 2 +-
 37 files changed, 1 insertion(+), 37 deletions(-)

diff --git a/boards/arm/imxrt/imxrt1050-evk/configs/libcxxtest/defconfig 
b/boards/arm/imxrt/imxrt1050-evk/configs/libcxxtest/defconfig
index 85d8a2a47f..d6751fb604 100644
--- a/boards/arm/imxrt/imxrt1050-evk/configs/libcxxtest/defconfig
+++ b/boards/arm/imxrt/imxrt1050-evk/configs/libcxxtest/defconfig
@@ -23,7 +23,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
 CONFIG_LIBCXX=y
 CONFIG_LIBCXXABI=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_LOCALTIME=y
 CONFIG_LIBM=y
 CONFIG_LPUART1_SERIAL_CONSOLE=y
diff --git a/boards/arm/imxrt/imxrt1060-evk/configs/libcxxtest/defconfig 
b/boards/arm/imxrt/imxrt1060-evk/configs/libcxxtest/defconfig
index e0526cd22a..dc26dcfd87 100644
--- a/boards/arm/imxrt/imxrt1060-evk/configs/libcxxtest/defconfig
+++ b/boards/arm/imxrt/imxrt1060-evk/configs/libcxxtest/defconfig
@@ -23,7 +23,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
 CONFIG_LIBCXX=y
 CONFIG_LIBCXXABI=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_LOCALTIME=y
 CONFIG_LIBM=y
 CONFIG_LPUART1_SERIAL_CONSOLE=y
diff --git a/boards/arm/imxrt/imxrt1064-evk/configs/libcxxtest/defconfig 
b/boards/arm/imxrt/imxrt1064-evk/configs/libcxxtest/defconfig
index 139e75f7d1..817a01d802 100644
--- a/boards/arm/imxrt/imxrt1064-evk/configs/libcxxtest/defconfig
+++ b/boards/arm/imxrt/imxrt1064-evk/configs/libcxxtest/defconfig
@@ -23,7 +23,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
 CONFIG_LIBCXX=y
 CONFIG_LIBCXXABI=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_LOCALTIME=y
 CONFIG_LIBM=y
 CONFIG_LPUART1_SERIAL_CONSOLE=y
diff --git a/boards/arm/imxrt/teensy-4.x/configs/lua-4.1/defconfig 
b/boards/arm/imxrt/teensy-4.x/configs/lua-4.1/defconfig
index e63363f830..645a91369f 100644
--- a/boards/arm/imxrt/teensy-4.x/configs/lua-4.1/defconfig
+++ b/boards/arm/imxrt/teensy-4.x/configs/lua-4.1/defconfig
@@ -37,7 +37,6 @@ CONFIG_IMXRT_USDHC1_WIDTH_D1_D4=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
 CONFIG_INTERPRETERS_LUA=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MMCSD=y
 CONFIG_MMCSD_MULTIBLOCK_LIMIT=1
 CONFIG_MMCSD_SDIO=y
diff --git a/boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig 
b/boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig
index e0742bac98..528327e941 100644
--- a/boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig
+++ b/boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig
@@ -34,7 +34,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
 CONFIG_IOB_NBUFFERS=24
 CONFIG_IOB_NCHAINS=24
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LPUART1_SERIAL_CONSOLE=y
 CONFIG_MM_IOB=y
 CONFIG_NSH_ARCHINIT=y
diff --git a/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig 
b/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig
index e7c1540f19..2870a00213 100644
--- a/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig
+++ b/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig
@@ -55,7 +55,6 @@ CONFIG_INIT_STACKSIZE=1024
 CONFIG_INPUT=y
 CONFIG_INPUT_MXT=y
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_MAX_EXITFUNS=1
 CONFIG_LIBM=y
 CONFIG_MMCSD=y
diff --git a/boards/arm/samv7/samv71-xult/configs/nxwm/defconfig 
b/boards/arm/samv7/samv71-xult/configs/nxwm/defconfig
index b2e68cf910..48ccb4df2f 100644
--- a/boards/arm/samv7/samv71-xult/configs/nxwm/defconfig
+++ b/boards/arm/samv7/samv71-xult/configs/nxwm/defconfig
@@ -51,7 +51,6 @@ CONFIG_INPUT=y
 CONFIG_INPUT_MXT=y
 CONFIG_LCD=y
 CONFIG_LCD_NOGETRUN=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_MAX_EXITFUNS=1
 CONFIG_LIBM=y
 CONFIG_MMCSD_MULTIBLOCK_LIMIT=1
diff --git a/boards/arm/samv7/samv71-xult/configs/vnxwm/defconfig 
b/boards/arm/samv7/samv71-xult/configs/vnxwm/defconfig
index 2a9148b1dd..e53e18f1e3 100644
--- a/boards/arm/samv7/samv71-xult/configs/vnxwm/defconfig
+++ b/boards/arm/samv7/samv71-xult/configs/vnxwm/defconfig
@@ -51,7 +51,6 @@ CONFIG_INIT_ENTRYPOINT="nxwm_main"
 CONFIG_INIT_STACKSIZE=1526
 CONFIG_IOB_NBUFFERS=72
 CONFIG_IOB_THROTTLE=32
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_HOSTNAME="SAMV71-XULT"
 CONFIG_LIBC_MAX_EXITFUNS=1
 CONFIG_LIBM=y
diff --git a/boards/arm/stm32/b-g474e-dpow1/configs/nsh/defconfig 
b/boards/arm/stm32/b-g474e-dpow1/configs/nsh/defconfig
index cbe3d8ec1c..a6ff60f7f6 100644
--- a/boards/arm/stm32/b-g474e-dpow1/configs/nsh/defconfig
+++ b/boards/arm/stm32/b-g474e-dpow1/configs/nsh/defconfig
@@ -22,7 +22,6 @@ CONFIG_ARMV7M_MEMCPY=y
 CONFIG_DEBUG_FEATURES=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_FILEIOSIZE=512
diff --git a/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig 
b/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig
index 342eb0a805..1c3227efdf 100644
--- a/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig
+++ b/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig
@@ -27,7 +27,6 @@ CONFIG_FDCLONE_STDIO=y
 CONFIG_INIT_ENTRYPOINT="highpri_main"
 CONFIG_INIT_STACKSIZE=1024
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_NAME_MAX=16
 CONFIG_NUCLEOF302R8_HIGHPRI=y
diff --git a/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig 
b/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig
index 3fbf3c4b96..5502853c5f 100644
--- a/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig
+++ b/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig
@@ -27,7 +27,6 @@ CONFIG_FDCLONE_STDIO=y
 CONFIG_INIT_ENTRYPOINT="highpri_main"
 CONFIG_INIT_STACKSIZE=1024
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_NAME_MAX=16
 CONFIG_NUCLEOF334R8_HIGHPRI=y
diff --git a/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig 
b/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig
index e6c440ee36..b2e3023a6e 100644
--- a/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig
+++ b/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig
@@ -27,7 +27,6 @@ CONFIG_FDCLONE_STDIO=y
 CONFIG_INIT_ENTRYPOINT="spwm_main"
 CONFIG_INIT_STACKSIZE=1024
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_NAME_MAX=16
 CONFIG_NUCLEOF334R8_SPWM=y
diff --git a/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig 
b/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig
index 8f662a571e..15c0927686 100644
--- a/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig
+++ b/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig
@@ -29,7 +29,6 @@ CONFIG_FDCLONE_STDIO=y
 CONFIG_INIT_ENTRYPOINT="spwm_main"
 CONFIG_INIT_STACKSIZE=1024
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_NAME_MAX=16
 CONFIG_NUCLEOF334R8_SPWM=y
diff --git a/boards/arm/stm32/nucleo-g474re/configs/nsh/defconfig 
b/boards/arm/stm32/nucleo-g474re/configs/nsh/defconfig
index 21828ffda2..9e8ea4c825 100644
--- a/boards/arm/stm32/nucleo-g474re/configs/nsh/defconfig
+++ b/boards/arm/stm32/nucleo-g474re/configs/nsh/defconfig
@@ -22,7 +22,6 @@ CONFIG_ARMV7M_MEMCPY=y
 CONFIG_DEBUG_FEATURES=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_FILEIOSIZE=512
diff --git a/boards/arm/stm32/nucleo-g474re/configs/usbserial/defconfig 
b/boards/arm/stm32/nucleo-g474re/configs/usbserial/defconfig
index 4ede6495f8..e9b6e11e5c 100644
--- a/boards/arm/stm32/nucleo-g474re/configs/usbserial/defconfig
+++ b/boards/arm/stm32/nucleo-g474re/configs/usbserial/defconfig
@@ -30,7 +30,6 @@ CONFIG_DEBUG_USB_ERROR=y
 CONFIG_DEBUG_USB_WARN=y
 CONFIG_DEBUG_WARN=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_FILEIOSIZE=512
diff --git a/boards/arm/stm32/olimex-stm32-p407/configs/dhtxx/defconfig 
b/boards/arm/stm32/olimex-stm32-p407/configs/dhtxx/defconfig
index 127f02ee65..6103dc3840 100644
--- a/boards/arm/stm32/olimex-stm32-p407/configs/dhtxx/defconfig
+++ b/boards/arm/stm32/olimex-stm32-p407/configs/dhtxx/defconfig
@@ -30,7 +30,6 @@ CONFIG_HAVE_CXX=y
 CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_DISABLE_GET=y
 CONFIG_NSH_DISABLE_IFUPDOWN=y
diff --git a/boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig 
b/boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig
index 9d596c1313..660ca1a40f 100644
--- a/boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig
+++ b/boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig
@@ -39,7 +39,6 @@ CONFIG_FDCLONE_STDIO=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=1024
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBDSP=y
 CONFIG_LIBM=y
 CONFIG_NAME_MAX=16
diff --git a/boards/arm/stm32/stm32f429i-disco/configs/highpri/defconfig 
b/boards/arm/stm32/stm32f429i-disco/configs/highpri/defconfig
index 33997f73e6..d8fe5c1b7d 100644
--- a/boards/arm/stm32/stm32f429i-disco/configs/highpri/defconfig
+++ b/boards/arm/stm32/stm32f429i-disco/configs/highpri/defconfig
@@ -24,7 +24,6 @@ CONFIG_HEAP2_BASE=0xD0000000
 CONFIG_HEAP2_SIZE=8388608
 CONFIG_INIT_ENTRYPOINT="highpri_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_MM_REGIONS=2
 CONFIG_PREALLOC_TIMERS=4
diff --git a/boards/arm/stm32f7/nucleo-144/configs/f746-pysim/defconfig 
b/boards/arm/stm32f7/nucleo-144/configs/f746-pysim/defconfig
index 4e10e3dc14..f6651dd934 100644
--- a/boards/arm/stm32f7/nucleo-144/configs/f746-pysim/defconfig
+++ b/boards/arm/stm32f7/nucleo-144/configs/f746-pysim/defconfig
@@ -39,7 +39,6 @@ CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_IOEXPANDER=y
 CONFIG_IOEXPANDER_MULTIPIN=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBM=y
 CONFIG_MM_REGIONS=2
 CONFIG_MODULE=y
diff --git a/boards/risc-v/mpfs/icicle/configs/hwtest/defconfig 
b/boards/risc-v/mpfs/icicle/configs/hwtest/defconfig
index 8111c05b36..fc74c51b42 100644
--- a/boards/risc-v/mpfs/icicle/configs/hwtest/defconfig
+++ b/boards/risc-v/mpfs/icicle/configs/hwtest/defconfig
@@ -39,7 +39,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_PERROR_STDOUT=y
 CONFIG_LIBC_STRERROR=y
 CONFIG_MEMSET_64BIT=y
diff --git a/boards/risc-v/mpfs/icicle/configs/knsh/defconfig 
b/boards/risc-v/mpfs/icicle/configs/knsh/defconfig
index fc2f02277f..0e83cbc042 100644
--- a/boards/risc-v/mpfs/icicle/configs/knsh/defconfig
+++ b/boards/risc-v/mpfs/icicle/configs/knsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
 CONFIG_LIBC_EXECFUNCS=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_HOSTNAME="icicle"
 CONFIG_LIBC_MAX_EXITFUNS=2
 CONFIG_LIBC_PERROR_STDOUT=y
diff --git a/boards/risc-v/mpfs/icicle/configs/nsh/defconfig 
b/boards/risc-v/mpfs/icicle/configs/nsh/defconfig
index 11ccb45acf..70a170f7b7 100644
--- a/boards/risc-v/mpfs/icicle/configs/nsh/defconfig
+++ b/boards/risc-v/mpfs/icicle/configs/nsh/defconfig
@@ -34,7 +34,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_HOSTNAME="icicle"
 CONFIG_LIBC_PERROR_STDOUT=y
 CONFIG_LIBC_STRERROR=y
diff --git a/boards/risc-v/mpfs/icicle/configs/pnsh/defconfig 
b/boards/risc-v/mpfs/icicle/configs/pnsh/defconfig
index 6b48e335e1..468c0e4fd2 100644
--- a/boards/risc-v/mpfs/icicle/configs/pnsh/defconfig
+++ b/boards/risc-v/mpfs/icicle/configs/pnsh/defconfig
@@ -38,7 +38,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_HOSTNAME="icicle"
 CONFIG_LIBC_PERROR_STDOUT=y
 CONFIG_LIBC_STRERROR=y
diff --git a/boards/risc-v/mpfs/m100pfsevp/configs/nsh/defconfig 
b/boards/risc-v/mpfs/m100pfsevp/configs/nsh/defconfig
index 11ccb45acf..70a170f7b7 100644
--- a/boards/risc-v/mpfs/m100pfsevp/configs/nsh/defconfig
+++ b/boards/risc-v/mpfs/m100pfsevp/configs/nsh/defconfig
@@ -34,7 +34,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_HOSTNAME="icicle"
 CONFIG_LIBC_PERROR_STDOUT=y
 CONFIG_LIBC_STRERROR=y
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig
index 78d992494f..b2babd1549 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig
@@ -38,7 +38,6 @@ CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/bmp280/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/bmp280/defconfig
index ef3962dcc5..8223b4d59b 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/bmp280/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/bmp280/defconfig
@@ -39,7 +39,6 @@ CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y
diff --git 
a/boards/xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig
index 8867e8059a..ea90727f10 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig
@@ -44,7 +44,6 @@ CONFIG_HOST_MACOS=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig
index 5beb754405..0c597019c7 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig
@@ -37,7 +37,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
 CONFIG_IOB_NBUFFERS=24
 CONFIG_IOB_THROTTLE=0
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/ms5611/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/ms5611/defconfig
index 9946f4a5ac..6a3e2ee1e9 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/ms5611/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/ms5611/defconfig
@@ -38,7 +38,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_MS5611_I2C_FREQUENCY=100000
 CONFIG_NSH_ARCHINIT=y
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig
index d97015f32b..c4ddc97650 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig
@@ -37,7 +37,6 @@ CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git a/boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig 
b/boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig
index 8d9e93e201..34e2740983 100644
--- a/boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig
+++ b/boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig
@@ -37,7 +37,6 @@ CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git 
a/boards/xtensa/esp32/esp32-ethernet-kit/configs/mcuboot_update_agent/defconfig 
b/boards/xtensa/esp32/esp32-ethernet-kit/configs/mcuboot_update_agent/defconfig
index 1f2c40f1bd..9d4eae0552 100644
--- 
a/boards/xtensa/esp32/esp32-ethernet-kit/configs/mcuboot_update_agent/defconfig
+++ 
b/boards/xtensa/esp32/esp32-ethernet-kit/configs/mcuboot_update_agent/defconfig
@@ -42,7 +42,6 @@ CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git a/boards/xtensa/esp32/esp32-ethernet-kit/configs/wapi/defconfig 
b/boards/xtensa/esp32/esp32-ethernet-kit/configs/wapi/defconfig
index cebbb45587..29b0f64c4b 100644
--- a/boards/xtensa/esp32/esp32-ethernet-kit/configs/wapi/defconfig
+++ b/boards/xtensa/esp32/esp32-ethernet-kit/configs/wapi/defconfig
@@ -35,7 +35,6 @@ CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git a/boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig 
b/boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig
index 8371c44e66..3b2e6b30b8 100644
--- a/boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig
+++ b/boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig
@@ -38,7 +38,6 @@ CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git 
a/boards/xtensa/esp32/esp32-wrover-kit/configs/mcuboot_update_agent/defconfig 
b/boards/xtensa/esp32/esp32-wrover-kit/configs/mcuboot_update_agent/defconfig
index 9557b1aa6e..a7ed894c24 100644
--- 
a/boards/xtensa/esp32/esp32-wrover-kit/configs/mcuboot_update_agent/defconfig
+++ 
b/boards/xtensa/esp32/esp32-wrover-kit/configs/mcuboot_update_agent/defconfig
@@ -43,7 +43,6 @@ CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git a/boards/xtensa/esp32/esp32-wrover-kit/configs/wapi/defconfig 
b/boards/xtensa/esp32/esp32-wrover-kit/configs/wapi/defconfig
index 6d0c7ac5a7..ba3f79a66c 100644
--- a/boards/xtensa/esp32/esp32-wrover-kit/configs/wapi/defconfig
+++ b/boards/xtensa/esp32/esp32-wrover-kit/configs/wapi/defconfig
@@ -36,7 +36,6 @@ CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INIT_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
diff --git a/libs/libc/stdio/Kconfig b/libs/libc/stdio/Kconfig
index b96ba69e54..3d213bf610 100644
--- a/libs/libc/stdio/Kconfig
+++ b/libs/libc/stdio/Kconfig
@@ -53,7 +53,7 @@ config NUNGET_CHARS
 
 config LIBC_FLOATINGPOINT
        bool "Enable floating point in printf"
-       default n
+       default !DEFAULT_SMALL && ARCH_FPU
        ---help---
                By default, floating point support in printf, sscanf, etc. is
                disabled.  This option will enable floating point support.

Reply via email to