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

acassis 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 b1c72c023c libc/stdio: enable long long formating by 
CONFIG_HAVE_LONG_LONG
b1c72c023c is described below

commit b1c72c023cd1aa473b1979bf38f2b211a66f03af
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Wed Jul 13 03:32:11 2022 +0800

    libc/stdio: enable long long formating by CONFIG_HAVE_LONG_LONG
    
    and remove CONFIG_LIBC_LONG_LONG option to simplify the usage.
    note: the size will increase 668
    before change:
       text    data     bss     dec     hex filename
     168440     348    4480  173268   2a4d4 nuttx
    
    after change:
       text    data     bss     dec     hex filename
     169108     348    4480  173936   2a770 nuttx
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 boards/arm/moxart/moxa/configs/nsh/defconfig       |  1 -
 .../configs/audiopack/defconfig                    |  1 -
 .../configs/composite/defconfig                    |  1 -
 .../configs/displaypack/defconfig                  |  1 -
 .../configs/enc28j60/defconfig                     |  1 -
 .../configs/lcd1602/defconfig                      |  1 -
 .../adafruit-feather-rp2040/configs/nsh/defconfig  |  1 -
 .../configs/nshsram/defconfig                      |  1 -
 .../adafruit-feather-rp2040/configs/smp/defconfig  |  1 -
 .../configs/spisd/defconfig                        |  1 -
 .../configs/ssd1306/defconfig                      |  1 -
 .../configs/st7735/defconfig                       |  1 -
 .../configs/usbmsc/defconfig                       |  1 -
 .../configs/usbnsh/defconfig                       |  1 -
 .../configs/waveshare-lcd-1.14/defconfig           |  1 -
 .../configs/waveshare-lcd-1.3/defconfig            |  1 -
 .../adafruit-kb2040/configs/audiopack/defconfig    |  1 -
 .../adafruit-kb2040/configs/composite/defconfig    |  1 -
 .../adafruit-kb2040/configs/displaypack/defconfig  |  1 -
 .../adafruit-kb2040/configs/enc28j60/defconfig     |  1 -
 .../adafruit-kb2040/configs/lcd1602/defconfig      |  1 -
 .../rp2040/adafruit-kb2040/configs/nsh/defconfig   |  1 -
 .../adafruit-kb2040/configs/nshsram/defconfig      |  1 -
 .../rp2040/adafruit-kb2040/configs/smp/defconfig   |  1 -
 .../rp2040/adafruit-kb2040/configs/spisd/defconfig |  1 -
 .../adafruit-kb2040/configs/ssd1306/defconfig      |  1 -
 .../adafruit-kb2040/configs/st7735/defconfig       |  1 -
 .../adafruit-kb2040/configs/usbmsc/defconfig       |  1 -
 .../adafruit-kb2040/configs/usbnsh/defconfig       |  1 -
 .../configs/waveshare-lcd-1.14/defconfig           |  1 -
 .../configs/waveshare-lcd-1.3/defconfig            |  1 -
 .../pimoroni-tiny2040/configs/composite/defconfig  |  1 -
 .../pimoroni-tiny2040/configs/gpio/defconfig       |  1 -
 .../rp2040/pimoroni-tiny2040/configs/nsh/defconfig |  1 -
 .../pimoroni-tiny2040/configs/nshsram/defconfig    |  1 -
 .../rp2040/pimoroni-tiny2040/configs/smp/defconfig |  1 -
 .../pimoroni-tiny2040/configs/spisd/defconfig      |  1 -
 .../pimoroni-tiny2040/configs/usbmsc/defconfig     |  1 -
 .../pimoroni-tiny2040/configs/usbnsh/defconfig     |  1 -
 .../raspberrypi-pico/configs/audiopack/defconfig   |  1 -
 .../raspberrypi-pico/configs/composite/defconfig   |  1 -
 .../raspberrypi-pico/configs/displaypack/defconfig |  1 -
 .../raspberrypi-pico/configs/enc28j60/defconfig    |  1 -
 .../raspberrypi-pico/configs/lcd1602/defconfig     |  1 -
 .../rp2040/raspberrypi-pico/configs/nsh/defconfig  |  1 -
 .../raspberrypi-pico/configs/nshsram/defconfig     |  1 -
 .../rp2040/raspberrypi-pico/configs/smp/defconfig  |  1 -
 .../raspberrypi-pico/configs/spisd/defconfig       |  1 -
 .../raspberrypi-pico/configs/ssd1306/defconfig     |  1 -
 .../raspberrypi-pico/configs/st7735/defconfig      |  1 -
 .../raspberrypi-pico/configs/usbmsc/defconfig      |  1 -
 .../raspberrypi-pico/configs/usbnsh/defconfig      |  1 -
 .../configs/waveshare-lcd-1.14/defconfig           |  1 -
 .../configs/waveshare-lcd-1.3/defconfig            |  1 -
 .../stm32/nucleo-f302r8/configs/cansock/defconfig  |  1 -
 .../stm32/nucleo-f302r8/configs/highpri/defconfig  |  1 -
 .../arm/stm32/nucleo-f302r8/configs/nsh/defconfig  |  1 -
 .../arm/stm32/nucleo-f334r8/configs/adc/defconfig  |  1 -
 .../stm32/nucleo-f334r8/configs/highpri/defconfig  |  1 -
 .../arm/stm32/nucleo-f334r8/configs/nsh/defconfig  |  1 -
 .../stm32/nucleo-f334r8/configs/spwm1/defconfig    |  1 -
 .../stm32/nucleo-f334r8/configs/spwm2/defconfig    |  1 -
 .../arm/stm32/nucleo-g431rb/configs/adc/defconfig  |  1 -
 .../arm/stm32/nucleo-l152re/configs/lcd/defconfig  |  1 -
 .../arm/stm32/nucleo-l152re/configs/nsh/defconfig  |  1 -
 .../stm32/stm32f334-disco/configs/nsh/defconfig    |  1 -
 .../stm32f334-disco/configs/powerled/defconfig     |  1 -
 .../stm32f4discovery/configs/max7219/defconfig     |  1 -
 .../b-l072z-lrwan1/configs/adc/defconfig           |  1 -
 .../b-l072z-lrwan1/configs/nsh/defconfig           |  1 -
 .../b-l072z-lrwan1/configs/nxlines_oled/defconfig  |  1 -
 .../b-l072z-lrwan1/configs/sx127x/defconfig        |  1 -
 .../nucleo-f091rc/configs/sx127x/defconfig         |  1 -
 .../nucleo-g070rb/configs/nsh/defconfig            |  1 -
 .../nucleo-g071rb/configs/nsh/defconfig            |  1 -
 .../nucleo-l073rz/configs/nsh/defconfig            |  1 -
 .../nucleo-l073rz/configs/sx127x/defconfig         |  1 -
 .../stm32g071b-disco/configs/nsh/defconfig         |  1 -
 .../stm32l0538-disco/configs/nsh/defconfig         |  1 -
 .../tlsr82/tlsr8278adk80d/configs/nsh/defconfig    |  1 -
 boards/misoc/lm32/misoc/configs/nsh/defconfig      |  1 -
 boards/sparc/bm3803/xx3803/configs/nsh/defconfig   |  1 -
 .../esp32/esp32-devkitc/configs/coex/defconfig     |  1 -
 libs/libc/stdio/Kconfig                            | 16 -------------
 libs/libc/stdio/lib_libvscanf.c                    | 26 ++++++++--------------
 libs/libc/stdio/lib_libvsprintf.c                  | 26 ++++++++--------------
 libs/libc/stdio/lib_ultoa_invert.c                 |  2 +-
 libs/libc/stdio/lib_ultoa_invert.h                 | 10 +--------
 sched/sched/sched_note.c                           | 16 ++-----------
 89 files changed, 22 insertions(+), 157 deletions(-)

diff --git a/boards/arm/moxart/moxa/configs/nsh/defconfig 
b/boards/arm/moxart/moxa/configs/nsh/defconfig
index cfc10b9313..7737891372 100644
--- a/boards/arm/moxart/moxa/configs/nsh/defconfig
+++ b/boards/arm/moxart/moxa/configs/nsh/defconfig
@@ -58,7 +58,6 @@ CONFIG_HAVE_CXX=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_IOB_NBUFFERS=24
 CONFIG_LIBC_EXECFUNCS=y
-CONFIG_LIBC_LONG_LONG=y
 CONFIG_NET=y
 CONFIG_NETDEVICES=y
 CONFIG_NETUTILS_TELNETD=y
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/audiopack/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/audiopack/defconfig
index a9238b9ead..4b557b62d2 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/audiopack/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/audiopack/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_AUDIO_FORMAT_MP3 is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/composite/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/composite/defconfig
index 2872983bfc..dd3667004c 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/composite/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/composite/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/displaypack/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/displaypack/defconfig
index d727b5327f..64ed42a63d 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/displaypack/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/displaypack/defconfig
@@ -8,7 +8,6 @@
 # CONFIG_DEV_CONSOLE is not set
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/enc28j60/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/enc28j60/defconfig
index 72e13ca259..32ca78d840 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/enc28j60/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/enc28j60/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/lcd1602/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/lcd1602/defconfig
index f3ce6b844b..2bae642bbc 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/lcd1602/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/lcd1602/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-feather-rp2040/configs/nsh/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/nsh/defconfig
index 6ba24969c2..63cf867fbc 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/nsh/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/nsh/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/nshsram/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/nshsram/defconfig
index 89ed83f457..41dbab2ef8 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/nshsram/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/nshsram/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-feather-rp2040/configs/smp/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/smp/defconfig
index 2f08ff6743..286f51c5d6 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/smp/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/smp/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-feather-rp2040/configs/spisd/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/spisd/defconfig
index b8493f32fb..0ed71b38bf 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/spisd/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/spisd/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/ssd1306/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/ssd1306/defconfig
index df472a28e7..10e2cc311e 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/ssd1306/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/ssd1306/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-feather-rp2040/configs/st7735/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/st7735/defconfig
index 7e3b081237..3de5327cb7 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/st7735/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/st7735/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbmsc/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbmsc/defconfig
index 2da9edb2e1..0e8c83bd28 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbmsc/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbmsc/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbnsh/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbnsh/defconfig
index 0739d67096..ac01c0ed7d 100644
--- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbnsh/defconfig
+++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbnsh/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_DEV_CONSOLE is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/waveshare-lcd-1.14/defconfig
 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/waveshare-lcd-1.14/defconfig
index 9728913ab7..f611f83fb9 100644
--- 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/waveshare-lcd-1.14/defconfig
+++ 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/waveshare-lcd-1.14/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/waveshare-lcd-1.3/defconfig 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/waveshare-lcd-1.3/defconfig
index 03d0591c5e..0c42fb3448 100644
--- 
a/boards/arm/rp2040/adafruit-feather-rp2040/configs/waveshare-lcd-1.3/defconfig
+++ 
b/boards/arm/rp2040/adafruit-feather-rp2040/configs/waveshare-lcd-1.3/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/audiopack/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/audiopack/defconfig
index f7da58bc23..c0301981d6 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/audiopack/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/audiopack/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_AUDIO_FORMAT_MP3 is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/composite/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/composite/defconfig
index 75bf88f4a5..9cd25e58d3 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/composite/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/composite/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/displaypack/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/displaypack/defconfig
index f00c1c10d6..456c89990b 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/displaypack/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/displaypack/defconfig
@@ -8,7 +8,6 @@
 # CONFIG_DEV_CONSOLE is not set
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/enc28j60/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/enc28j60/defconfig
index 76f2f7c5e1..878e79b724 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/enc28j60/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/enc28j60/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/lcd1602/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/lcd1602/defconfig
index edcfef241e..5f160bf9a0 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/lcd1602/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/lcd1602/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/nsh/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/nsh/defconfig
index d050b73350..ef991e5294 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/nsh/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/nsh/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/nshsram/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/nshsram/defconfig
index 0640dc38be..355ea8d126 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/nshsram/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/nshsram/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/smp/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/smp/defconfig
index 14b4395cf5..84225b27f5 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/smp/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/smp/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/spisd/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/spisd/defconfig
index e136fde9d9..8ae0e46519 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/spisd/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/spisd/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/ssd1306/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/ssd1306/defconfig
index 7188c9f22e..0bb7ac0cad 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/ssd1306/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/ssd1306/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/st7735/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/st7735/defconfig
index c129acbea1..eeebaa408d 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/st7735/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/st7735/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/usbmsc/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/usbmsc/defconfig
index 4b4d1cee69..310e85b720 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/usbmsc/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/usbmsc/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/adafruit-kb2040/configs/usbnsh/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/usbnsh/defconfig
index d4658760b8..75a380f421 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/usbnsh/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/usbnsh/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_DEV_CONSOLE is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/adafruit-kb2040/configs/waveshare-lcd-1.14/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/waveshare-lcd-1.14/defconfig
index 4d7593b7d3..052fa04644 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/waveshare-lcd-1.14/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/waveshare-lcd-1.14/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/adafruit-kb2040/configs/waveshare-lcd-1.3/defconfig 
b/boards/arm/rp2040/adafruit-kb2040/configs/waveshare-lcd-1.3/defconfig
index 629e0b14da..c2286085b6 100644
--- a/boards/arm/rp2040/adafruit-kb2040/configs/waveshare-lcd-1.3/defconfig
+++ b/boards/arm/rp2040/adafruit-kb2040/configs/waveshare-lcd-1.3/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/pimoroni-tiny2040/configs/composite/defconfig 
b/boards/arm/rp2040/pimoroni-tiny2040/configs/composite/defconfig
index 573206543a..12f1fe0a82 100644
--- a/boards/arm/rp2040/pimoroni-tiny2040/configs/composite/defconfig
+++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/composite/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/pimoroni-tiny2040/configs/gpio/defconfig 
b/boards/arm/rp2040/pimoroni-tiny2040/configs/gpio/defconfig
index a25898b337..1c80997c4b 100644
--- a/boards/arm/rp2040/pimoroni-tiny2040/configs/gpio/defconfig
+++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/gpio/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/pimoroni-tiny2040/configs/nsh/defconfig 
b/boards/arm/rp2040/pimoroni-tiny2040/configs/nsh/defconfig
index 3630991fa0..4fb94b269c 100644
--- a/boards/arm/rp2040/pimoroni-tiny2040/configs/nsh/defconfig
+++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/nsh/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/pimoroni-tiny2040/configs/nshsram/defconfig 
b/boards/arm/rp2040/pimoroni-tiny2040/configs/nshsram/defconfig
index 99dbb282a9..15265ff283 100644
--- a/boards/arm/rp2040/pimoroni-tiny2040/configs/nshsram/defconfig
+++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/nshsram/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/pimoroni-tiny2040/configs/smp/defconfig 
b/boards/arm/rp2040/pimoroni-tiny2040/configs/smp/defconfig
index 235ce75b96..0815ce4478 100644
--- a/boards/arm/rp2040/pimoroni-tiny2040/configs/smp/defconfig
+++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/smp/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/pimoroni-tiny2040/configs/spisd/defconfig 
b/boards/arm/rp2040/pimoroni-tiny2040/configs/spisd/defconfig
index de1e4d5a48..dc71ca363c 100644
--- a/boards/arm/rp2040/pimoroni-tiny2040/configs/spisd/defconfig
+++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/spisd/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/pimoroni-tiny2040/configs/usbmsc/defconfig 
b/boards/arm/rp2040/pimoroni-tiny2040/configs/usbmsc/defconfig
index 57cddbec76..e735fc5c2e 100644
--- a/boards/arm/rp2040/pimoroni-tiny2040/configs/usbmsc/defconfig
+++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/usbmsc/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/pimoroni-tiny2040/configs/usbnsh/defconfig 
b/boards/arm/rp2040/pimoroni-tiny2040/configs/usbnsh/defconfig
index d1af1ca2e9..ba672273a4 100644
--- a/boards/arm/rp2040/pimoroni-tiny2040/configs/usbnsh/defconfig
+++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/usbnsh/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_DEV_CONSOLE is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/audiopack/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/audiopack/defconfig
index 41d32edef7..20548e659c 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/audiopack/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/audiopack/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_AUDIO_FORMAT_MP3 is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/composite/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/composite/defconfig
index 38484216bc..b665347e10 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/composite/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/composite/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/displaypack/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/displaypack/defconfig
index f48923f4ae..a0b34a15ee 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/displaypack/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/displaypack/defconfig
@@ -8,7 +8,6 @@
 # CONFIG_DEV_CONSOLE is not set
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/enc28j60/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/enc28j60/defconfig
index 89c73fc0c7..c7a2759852 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/enc28j60/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/enc28j60/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/lcd1602/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/lcd1602/defconfig
index db9f390dec..77e065d1d4 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/lcd1602/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/lcd1602/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/nsh/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/nsh/defconfig
index 421ba0692a..18c1ccd9d4 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/nsh/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/nsh/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/nshsram/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/nshsram/defconfig
index 854cb64d53..c4ac258c0f 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/nshsram/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/nshsram/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/smp/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/smp/defconfig
index e7fc281bcd..1684037979 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/smp/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/smp/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/spisd/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/spisd/defconfig
index b662bbaa52..8d261f1ab5 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/spisd/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/spisd/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/ssd1306/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/ssd1306/defconfig
index e9ebc400d2..de327fd349 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/ssd1306/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/ssd1306/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/st7735/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/st7735/defconfig
index 9e7d8caaab..413f9adbe1 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/st7735/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/st7735/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/usbmsc/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/usbmsc/defconfig
index fc4af6e603..43b7326fbe 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/usbmsc/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/usbmsc/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
 # CONFIG_NSH_ARGCAT is not set
diff --git a/boards/arm/rp2040/raspberrypi-pico/configs/usbnsh/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/usbnsh/defconfig
index 1944655f00..d63bcd12e1 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/usbnsh/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/usbnsh/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_DEV_CONSOLE is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/raspberrypi-pico/configs/waveshare-lcd-1.14/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/waveshare-lcd-1.14/defconfig
index b4748ad3df..1f9e17c86b 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/waveshare-lcd-1.14/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/waveshare-lcd-1.14/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git 
a/boards/arm/rp2040/raspberrypi-pico/configs/waveshare-lcd-1.3/defconfig 
b/boards/arm/rp2040/raspberrypi-pico/configs/waveshare-lcd-1.3/defconfig
index 70ffeac581..37e1041a0a 100644
--- a/boards/arm/rp2040/raspberrypi-pico/configs/waveshare-lcd-1.3/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico/configs/waveshare-lcd-1.3/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
 # CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_DISABLE_DATE is not set
diff --git a/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig 
b/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig
index fb342b532e..0bd56b63f6 100644
--- a/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig
+++ b/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig
@@ -29,7 +29,6 @@ CONFIG_INIT_STACKSIZE=2048
 CONFIG_INTELHEX_BINARY=y
 CONFIG_IOB_BUFSIZE=128
 CONFIG_IOB_NBUFFERS=10
-CONFIG_LIBC_LONG_LONG=y
 CONFIG_NET=y
 CONFIG_NETDEVICES=y
 CONFIG_NETDEV_IFINDEX=y
diff --git a/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig 
b/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig
index 342eb0a805..6f8f083385 100644
--- a/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig
+++ b/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-f302r8"
 CONFIG_ARCH_BOARD_NUCLEO_F302R8=y
diff --git a/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig 
b/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig
index 1aae3b8667..c0dd331340 100644
--- a/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig
+++ b/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_ARCH_FPU is not set
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-f302r8"
 CONFIG_ARCH_BOARD_NUCLEO_F302R8=y
diff --git a/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig 
b/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig
index 51257aac51..3530547431 100644
--- a/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig
+++ b/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_ARCH_FPU is not set
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ADC=y
 CONFIG_ANALOG=y
 CONFIG_ARCH="arm"
diff --git a/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig 
b/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig
index 3fbf3c4b96..cd70995e63 100644
--- a/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig
+++ b/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-f334r8"
 CONFIG_ARCH_BOARD_NUCLEO_F334R8=y
diff --git a/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig 
b/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig
index 6ba0161546..3c1f9ad2c0 100644
--- a/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig
+++ b/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_ARCH_FPU is not set
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-f334r8"
 CONFIG_ARCH_BOARD_NUCLEO_F334R8=y
diff --git a/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig 
b/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig
index e6c440ee36..7a40880722 100644
--- a/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig
+++ b/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-f334r8"
 CONFIG_ARCH_BOARD_NUCLEO_F334R8=y
diff --git a/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig 
b/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig
index 8f662a571e..f63a0e6e0d 100644
--- a/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig
+++ b/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-f334r8"
 CONFIG_ARCH_BOARD_NUCLEO_F334R8=y
diff --git a/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig 
b/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig
index 220576b493..2b05ffc513 100644
--- a/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig
+++ b/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_ARCH_FPU is not set
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ADC=y
 CONFIG_ANALOG=y
 CONFIG_ARCH="arm"
diff --git a/boards/arm/stm32/nucleo-l152re/configs/lcd/defconfig 
b/boards/arm/stm32/nucleo-l152re/configs/lcd/defconfig
index dc41801d6f..c71392d6cd 100644
--- a/boards/arm/stm32/nucleo-l152re/configs/lcd/defconfig
+++ b/boards/arm/stm32/nucleo-l152re/configs/lcd/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NX_DISABLE_16BPP is not set
 CONFIG_ARCH="arm"
diff --git a/boards/arm/stm32/nucleo-l152re/configs/nsh/defconfig 
b/boards/arm/stm32/nucleo-l152re/configs/nsh/defconfig
index f4d9f3effc..6e19fb9a83 100644
--- a/boards/arm/stm32/nucleo-l152re/configs/nsh/defconfig
+++ b/boards/arm/stm32/nucleo-l152re/configs/nsh/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-l152re"
diff --git a/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig 
b/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig
index 5a710701e9..f9547a8cc3 100644
--- a/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig
+++ b/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_ARCH_FPU is not set
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="stm32f334-disco"
 CONFIG_ARCH_BOARD_STM32F334_DISCO=y
diff --git a/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig 
b/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig
index 14858f07c5..2aa1ab93f6 100644
--- a/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig
+++ b/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig
@@ -7,7 +7,6 @@
 #
 # CONFIG_ARCH_FPU is not set
 # CONFIG_DEV_NULL is not set
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ANALOG=y
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="stm32f334-disco"
diff --git a/boards/arm/stm32/stm32f4discovery/configs/max7219/defconfig 
b/boards/arm/stm32/stm32f4discovery/configs/max7219/defconfig
index 89a0f73aa2..acd393186a 100644
--- a/boards/arm/stm32/stm32f4discovery/configs/max7219/defconfig
+++ b/boards/arm/stm32/stm32f4discovery/configs/max7219/defconfig
@@ -51,7 +51,6 @@ CONFIG_LCD=y
 CONFIG_LCD_FRAMEBUFFER=y
 CONFIG_LCD_MAX7219=y
 CONFIG_LCD_NOGETRUN=y
-CONFIG_LIBC_LONG_LONG=y
 CONFIG_MAX7219_NHORIZONTALBLKS=4
 CONFIG_MM_REGIONS=2
 CONFIG_MQ_MAXMSGSIZE=64
diff --git a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/adc/defconfig 
b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/adc/defconfig
index 56bbce2148..072cebea6d 100644
--- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/adc/defconfig
+++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/adc/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ADC=y
 CONFIG_ANALOG=y
diff --git a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nsh/defconfig 
b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nsh/defconfig
index 93704dbe24..dbff12547f 100644
--- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nsh/defconfig
+++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nsh/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="b-l072z-lrwan1"
diff --git 
a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nxlines_oled/defconfig 
b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nxlines_oled/defconfig
index 15b0412138..0cb14c1d6d 100644
--- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nxlines_oled/defconfig
+++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nxlines_oled/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NX_DISABLE_1BPP is not set
 CONFIG_ARCH="arm"
diff --git a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/sx127x/defconfig 
b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/sx127x/defconfig
index 9eeb98058f..3e9a783f7d 100644
--- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/sx127x/defconfig
+++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/sx127x/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="b-l072z-lrwan1"
diff --git a/boards/arm/stm32f0l0g0/nucleo-f091rc/configs/sx127x/defconfig 
b/boards/arm/stm32f0l0g0/nucleo-f091rc/configs/sx127x/defconfig
index f40ada5128..04d16ef8b0 100644
--- a/boards/arm/stm32f0l0g0/nucleo-f091rc/configs/sx127x/defconfig
+++ b/boards/arm/stm32f0l0g0/nucleo-f091rc/configs/sx127x/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-f091rc"
diff --git a/boards/arm/stm32f0l0g0/nucleo-g070rb/configs/nsh/defconfig 
b/boards/arm/stm32f0l0g0/nucleo-g070rb/configs/nsh/defconfig
index cd7e8e2071..b6950e7534 100644
--- a/boards/arm/stm32f0l0g0/nucleo-g070rb/configs/nsh/defconfig
+++ b/boards/arm/stm32f0l0g0/nucleo-g070rb/configs/nsh/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-g070rb"
diff --git a/boards/arm/stm32f0l0g0/nucleo-g071rb/configs/nsh/defconfig 
b/boards/arm/stm32f0l0g0/nucleo-g071rb/configs/nsh/defconfig
index 438b41b8a3..26813f0ffb 100644
--- a/boards/arm/stm32f0l0g0/nucleo-g071rb/configs/nsh/defconfig
+++ b/boards/arm/stm32f0l0g0/nucleo-g071rb/configs/nsh/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-g071rb"
diff --git a/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/nsh/defconfig 
b/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/nsh/defconfig
index 7158c662a6..d3cc51f524 100644
--- a/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/nsh/defconfig
+++ b/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/nsh/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-l073rz"
diff --git a/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/sx127x/defconfig 
b/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/sx127x/defconfig
index 869a69352f..e5e67416e3 100644
--- a/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/sx127x/defconfig
+++ b/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/sx127x/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="nucleo-l073rz"
diff --git a/boards/arm/stm32f0l0g0/stm32g071b-disco/configs/nsh/defconfig 
b/boards/arm/stm32f0l0g0/stm32g071b-disco/configs/nsh/defconfig
index 29ea257999..29a61b40b0 100644
--- a/boards/arm/stm32f0l0g0/stm32g071b-disco/configs/nsh/defconfig
+++ b/boards/arm/stm32f0l0g0/stm32g071b-disco/configs/nsh/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_ARCH_LEDS is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="stm32g071b-disco"
diff --git a/boards/arm/stm32f0l0g0/stm32l0538-disco/configs/nsh/defconfig 
b/boards/arm/stm32f0l0g0/stm32l0538-disco/configs/nsh/defconfig
index a593c3b222..545a40fe15 100644
--- a/boards/arm/stm32f0l0g0/stm32l0538-disco/configs/nsh/defconfig
+++ b/boards/arm/stm32f0l0g0/stm32l0538-disco/configs/nsh/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="stm32l0538-disco"
 CONFIG_ARCH_BOARD_STM32L0538_DISCO=y
diff --git a/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig 
b/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig
index d179dcc210..efffae665d 100644
--- a/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig
+++ b/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig
@@ -52,7 +52,6 @@ CONFIG_FS_PROCFS_EXCLUDE_MOUNT=y
 CONFIG_FS_PROCFS_EXCLUDE_MOUNTS=y
 CONFIG_FS_PROCFS_EXCLUDE_USAGE=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
-CONFIG_LIBC_LONG_LONG=y
 CONFIG_MTD=y
 CONFIG_MTD_PARTITION=y
 CONFIG_NSH_ARGCAT=y
diff --git a/boards/misoc/lm32/misoc/configs/nsh/defconfig 
b/boards/misoc/lm32/misoc/configs/nsh/defconfig
index 9e64a85006..297ac89865 100644
--- a/boards/misoc/lm32/misoc/configs/nsh/defconfig
+++ b/boards/misoc/lm32/misoc/configs/nsh/defconfig
@@ -5,7 +5,6 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_STANDARD_SERIAL is not set
 CONFIG_ARCH="misoc"
 CONFIG_ARCH_BOARD="misoc"
diff --git a/boards/sparc/bm3803/xx3803/configs/nsh/defconfig 
b/boards/sparc/bm3803/xx3803/configs/nsh/defconfig
index 52c0367960..907c72c908 100644
--- a/boards/sparc/bm3803/xx3803/configs/nsh/defconfig
+++ b/boards/sparc/bm3803/xx3803/configs/nsh/defconfig
@@ -8,7 +8,6 @@
 # CONFIG_ARCH_LEDS is not set
 # CONFIG_ARCH_RAMFUNCS is not set
 # CONFIG_FS_LARGEFILE is not set
-# CONFIG_LIBC_LONG_LONG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_CMDPARMS is not set
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig
index 5df847d4f2..fe73117afa 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig
@@ -80,7 +80,6 @@ CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_LONG_LONG=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..7a521d1a40 100644
--- a/libs/libc/stdio/Kconfig
+++ b/libs/libc/stdio/Kconfig
@@ -58,25 +58,9 @@ config LIBC_FLOATINGPOINT
                By default, floating point support in printf, sscanf, etc. is
                disabled.  This option will enable floating point support.
 
-config LIBC_LONG_LONG
-       bool "Enable long long support in printf"
-       default !DEFAULT_SMALL
-       ---help---
-               Enables support for long long formats in printf, sscanf, etc. is
-               enabled.  This is enabled by default but if you are trying to
-               reduce the FLASH footprint, then disabling this feature is one
-               option.  The FLASH saves comes not from disabling the long long
-               formats, but rather from omitting the large long long arithmetic
-               libraries that will be drawn into the build if long long support
-               is enabled.
-
-               NOTE:  This setting has no effect if the underlying architecture
-               cannot support long long types
-
 config LIBC_NUMBERED_ARGS
        bool "Enable numbered arguments in printf"
        default n
-       depends on LIBC_FLOATINGPOINT || LIBC_LONG_LONG
        ---help---
                Enables support for numbered arguments in printf.
 
diff --git a/libs/libc/stdio/lib_libvscanf.c b/libs/libc/stdio/lib_libvscanf.c
index 56c3b444e1..f08d3eb88e 100644
--- a/libs/libc/stdio/lib_libvscanf.c
+++ b/libs/libc/stdio/lib_libvscanf.c
@@ -42,14 +42,6 @@
  * Pre-processor Definitions
  ****************************************************************************/
 
-/* CONFIG_LIBC_LONG_LONG is not a valid selection of the compiler does not
- * support long long types.
- */
-
-#ifndef CONFIG_HAVE_LONG_LONG
-#  undef CONFIG_LIBC_LONG_LONG
-#endif
-
 #define MAXLN   128
 
 #define HH_MOD -2
@@ -215,7 +207,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
   int base = 10;
   char tmp[MAXLN];
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
   FAR unsigned long long *plonglong = NULL;
 #endif
   FAR unsigned long *plong = NULL;
@@ -317,7 +309,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
               else if (fmt_char(fmt) == 'j')
                 {
                   /* Same as long long if available. Otherwise, long. */
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
                   modifier = LL_MOD;
 #else
                   modifier = L_MOD;
@@ -569,7 +561,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
                       *plong = 0;
                       break;
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
                     case LL_MOD:
                       plonglong = va_arg(ap, FAR unsigned long long *);
                       *plonglong = 0;
@@ -596,7 +588,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
                   bool stopconv;
                   int errsave;
                   unsigned long tmplong = 0;
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
                   unsigned long long tmplonglong = 0;
 #endif
                   /* Copy the real string into a temporary working buffer. */
@@ -815,7 +807,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
 
                   switch (modifier)
                     {
-#ifndef CONFIG_LIBC_LONG_LONG
+#ifndef CONFIG_HAVE_LONG_LONG
                     case LL_MOD:
 #endif
                     case HH_MOD:
@@ -832,7 +824,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
                         }
                       break;
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
                     case LL_MOD:
                       if (sign)
                         {
@@ -878,7 +870,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
                           *pint = (unsigned int)tmplong;
                           break;
 
-#ifndef CONFIG_LIBC_LONG_LONG
+#ifndef CONFIG_HAVE_LONG_LONG
                         case L_MOD:
 #endif
                         default:
@@ -886,7 +878,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
                           *plong = tmplong;
                           break;
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
                         case LL_MOD:
                           linfo("Return %lld to %p\n", tmplonglong,
                                 plonglong);
@@ -1141,7 +1133,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int 
*lastc,
                       *plong = (unsigned long)nchars;
                       break;
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
                     case LL_MOD:
                       plonglong = va_arg(ap, FAR unsigned long long *);
                       *plonglong = (unsigned long long)nchars;
diff --git a/libs/libc/stdio/lib_libvsprintf.c 
b/libs/libc/stdio/lib_libvsprintf.c
index 43d23d459f..56d41fb75f 100644
--- a/libs/libc/stdio/lib_libvsprintf.c
+++ b/libs/libc/stdio/lib_libvsprintf.c
@@ -59,14 +59,6 @@
  * Pre-processor Definitions
  ****************************************************************************/
 
-/* CONFIG_LIBC_LONG_LONG is not a valid selection of the compiler does not
- * support long long types.
- */
-
-#ifndef CONFIG_HAVE_LONG_LONG
-#  undef CONFIG_LIBC_LONG_LONG
-#endif
-
 /* [Re]define putc() */
 
 #ifdef putc
@@ -131,7 +123,7 @@ struct arg_s
   {
     unsigned int u;
     unsigned long ul;
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
     unsigned long long ull;
 #endif
     double d;
@@ -184,7 +176,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s 
*stream,
   int prec;
   union
   {
-#if defined (CONFIG_LIBC_LONG_LONG) || (ULONG_MAX > 4294967295UL)
+#if defined (CONFIG_HAVE_LONG_LONG) || (ULONG_MAX > 4294967295UL)
     unsigned char __buf[22]; /* Size for -1 in octal, without '\0' */
 #else
     unsigned char __buf[11]; /* Size for -1 in octal, without '\0' */
@@ -413,7 +405,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s 
*stream,
                   /* The only known cases that the default will be hit are
                    * (1) the eZ80 which has sizeof(size_t) = 3 which is the
                    * same as the sizeof(int).  And (2) if
-                   * CONFIG_LIBC_LONG_LONG
+                   * CONFIG_HAVE_LONG_LONG
                    * is not enabled and sizeof(size_t) is equal to
                    * sizeof(unsigned long long).  This latter case is an
                    * error.
@@ -430,7 +422,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s 
*stream,
                     c = 'l';
                     break;
 
-#if defined(CONFIG_LIBC_LONG_LONG) && ULLONG_MAX != ULONG_MAX
+#if defined(CONFIG_HAVE_LONG_LONG) && ULLONG_MAX != ULONG_MAX
                   case sizeof(unsigned long long):
                     c = 'l';
                     flags |= FL_LONG;
@@ -444,7 +436,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s 
*stream,
             {
               /* Same as long long if available. Otherwise, long. */
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
               flags |= FL_REPD_TYPE;
 #endif
               flags |= FL_LONG;
@@ -492,7 +484,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s 
*stream,
 
           flags &= ~(FL_LONG | FL_REPD_TYPE);
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
           if (sizeof(void *) == sizeof(unsigned long long))
             {
               flags |= (FL_LONG | FL_REPD_TYPE);
@@ -962,7 +954,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s 
*stream,
 
       if (c == 'd' || c == 'i')
         {
-#ifndef CONFIG_LIBC_LONG_LONG
+#ifndef CONFIG_HAVE_LONG_LONG
           long x;
 #else
           long long x;
@@ -1045,7 +1037,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s 
*stream,
       else
         {
           int base;
-#ifndef CONFIG_LIBC_LONG_LONG
+#ifndef CONFIG_HAVE_LONG_LONG
           unsigned long x;
 #else
           unsigned long long x;
@@ -1344,7 +1336,7 @@ int lib_vsprintf(FAR struct lib_outstream_s *stream,
       switch (arglist[i].type)
         {
         case TYPE_LONG_LONG:
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
           arglist[i].value.ull = va_arg(ap, unsigned long long);
           break;
 #endif
diff --git a/libs/libc/stdio/lib_ultoa_invert.c 
b/libs/libc/stdio/lib_ultoa_invert.c
index ae35b966dc..434087a925 100644
--- a/libs/libc/stdio/lib_ultoa_invert.c
+++ b/libs/libc/stdio/lib_ultoa_invert.c
@@ -43,7 +43,7 @@
  * Public Functions
  ****************************************************************************/
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
 FAR char *__ultoa_invert(unsigned long long val, FAR char *str, int base)
 #else
 FAR char *__ultoa_invert(unsigned long val, FAR char *str, int base)
diff --git a/libs/libc/stdio/lib_ultoa_invert.h 
b/libs/libc/stdio/lib_ultoa_invert.h
index 7f7d3fb86a..fa8fe08b3e 100644
--- a/libs/libc/stdio/lib_ultoa_invert.h
+++ b/libs/libc/stdio/lib_ultoa_invert.h
@@ -48,14 +48,6 @@
  * Pre-processor Definitions
  ****************************************************************************/
 
-/* CONFIG_LIBC_LONG_LONG is not a valid selection of the compiler does not
- * support long long types.
- */
-
-#ifndef CONFIG_HAVE_LONG_LONG
-#  undef CONFIG_LIBC_LONG_LONG
-#endif
-
 /* Next flags are to use with `base'. Unused fields are reserved. */
 
 #define XTOA_PREFIX  0x0100    /* Put prefix for octal or hex */
@@ -67,7 +59,7 @@
 
 /* Internal function for use from `printf'. */
 
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
 FAR char *__ultoa_invert(unsigned long long val, FAR char *str, int base);
 #else
 FAR char *__ultoa_invert(unsigned long val, FAR char *str, int base);
diff --git a/sched/sched/sched_note.c b/sched/sched/sched_note.c
index d41c214fae..3adc93cd6d 100644
--- a/sched/sched/sched_note.c
+++ b/sched/sched/sched_note.c
@@ -40,18 +40,6 @@
 
 #include "sched/sched.h"
 
-/****************************************************************************
- * Pre-processor Definitions
- ****************************************************************************/
-
-/* CONFIG_LIBC_LONG_LONG is not a valid selection of the compiler does not
- * support long long types.
- */
-
-#ifndef CONFIG_HAVE_LONG_LONG
-#  undef CONFIG_LIBC_LONG_LONG
-#endif
-
 /****************************************************************************
  * Private Types
  ****************************************************************************/
@@ -964,7 +952,7 @@ void sched_note_vbprintf(uintptr_t ip, uint8_t event,
       short s;
       int i;
       long l;
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
       long long ll;
 #endif
       intmax_t im;
@@ -1040,7 +1028,7 @@ void sched_note_vbprintf(uintptr_t ip, uint8_t event,
               var->im = va_arg(va, intmax_t);
               next += sizeof(var->im);
             }
-#ifdef CONFIG_LIBC_LONG_LONG
+#ifdef CONFIG_HAVE_LONG_LONG
           else if (*(fmt - 2) == 'l' && *(fmt - 3) == 'l')
             {
               if (next + sizeof(var->ll) > length)

Reply via email to