diff --git a/boards/arm/moxart/moxa/configs/nsh/defconfig b/boards/arm/moxart/moxa/configs/nsh/defconfig index 7737891372e..cfc10b9313a 100644 --- a/boards/arm/moxart/moxa/configs/nsh/defconfig +++ b/boards/arm/moxart/moxa/configs/nsh/defconfig @@ -58,6 +58,7 @@ 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 4b557b62d20..a9238b9ead8 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/audiopack/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/audiopack/defconfig @@ -7,6 +7,7 @@ # # 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 dd3667004ce..2872983bfc4 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/composite/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/composite/defconfig @@ -6,6 +6,7 @@ # 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 64ed42a63db..d727b5327f8 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/displaypack/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/displaypack/defconfig @@ -8,6 +8,7 @@ # 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 32ca78d840a..72e13ca259b 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/enc28j60/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/enc28j60/defconfig @@ -6,6 +6,7 @@ # 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 2bae642bbc3..f3ce6b844bf 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/lcd1602/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/lcd1602/defconfig @@ -6,6 +6,7 @@ # 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 63cf867fbcb..6ba24969c26 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/nsh/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/nsh/defconfig @@ -6,6 +6,7 @@ # 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 41dbab2ef87..89ed83f4576 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/nshsram/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/nshsram/defconfig @@ -6,6 +6,7 @@ # 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 286f51c5d6a..2f08ff67433 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/smp/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/smp/defconfig @@ -6,6 +6,7 @@ # 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 0ed71b38bf4..b8493f32fbc 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/spisd/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/spisd/defconfig @@ -6,6 +6,7 @@ # 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 10e2cc311e5..df472a28e7c 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/ssd1306/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/ssd1306/defconfig @@ -7,6 +7,7 @@ # # 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 3de5327cb79..7e3b0812375 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/st7735/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/st7735/defconfig @@ -6,6 +6,7 @@ # 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 0e8c83bd286..2da9edb2e1e 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbmsc/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbmsc/defconfig @@ -6,6 +6,7 @@ # 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 ac01c0ed7dd..0739d670960 100644 --- a/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbnsh/defconfig +++ b/boards/arm/rp2040/adafruit-feather-rp2040/configs/usbnsh/defconfig @@ -7,6 +7,7 @@ # # 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 f611f83fb9e..9728913ab74 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,6 +7,7 @@ # # 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 0c42fb34484..03d0591c5e2 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,6 +7,7 @@ # # 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 c0301981d69..f7da58bc23c 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/audiopack/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/audiopack/defconfig @@ -7,6 +7,7 @@ # # 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 9cd25e58d39..75bf88f4a52 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/composite/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/composite/defconfig @@ -6,6 +6,7 @@ # 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 456c89990b6..f00c1c10d68 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/displaypack/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/displaypack/defconfig @@ -8,6 +8,7 @@ # 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 878e79b7244..76f2f7c5e13 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/enc28j60/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/enc28j60/defconfig @@ -6,6 +6,7 @@ # 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 5f160bf9a0b..edcfef241e7 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/lcd1602/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/lcd1602/defconfig @@ -6,6 +6,7 @@ # 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 ef991e5294a..d050b733501 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/nsh/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/nsh/defconfig @@ -6,6 +6,7 @@ # 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 355ea8d1262..0640dc38bea 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/nshsram/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/nshsram/defconfig @@ -6,6 +6,7 @@ # 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 84225b27f5d..14b4395cf5e 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/smp/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/smp/defconfig @@ -6,6 +6,7 @@ # 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 8ae0e465196..e136fde9d9b 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/spisd/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/spisd/defconfig @@ -6,6 +6,7 @@ # 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 0bb7ac0cad0..7188c9f22e1 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/ssd1306/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/ssd1306/defconfig @@ -7,6 +7,7 @@ # # 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 eeebaa408d2..c129acbea1e 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/st7735/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/st7735/defconfig @@ -6,6 +6,7 @@ # 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 310e85b7204..4b4d1cee69e 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/usbmsc/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/usbmsc/defconfig @@ -6,6 +6,7 @@ # 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 75a380f421d..d4658760b80 100644 --- a/boards/arm/rp2040/adafruit-kb2040/configs/usbnsh/defconfig +++ b/boards/arm/rp2040/adafruit-kb2040/configs/usbnsh/defconfig @@ -7,6 +7,7 @@ # # 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 052fa04644a..4d7593b7d3e 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,6 +7,7 @@ # # 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 c2286085b6e..629e0b14da5 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,6 +7,7 @@ # # 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 12f1fe0a82f..573206543a7 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/configs/composite/defconfig +++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/composite/defconfig @@ -6,6 +6,7 @@ # 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 1c80997c4ba..a25898b3372 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/configs/gpio/defconfig +++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/gpio/defconfig @@ -6,6 +6,7 @@ # 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 4fb94b269c3..3630991fa02 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/configs/nsh/defconfig +++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/nsh/defconfig @@ -6,6 +6,7 @@ # 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 15265ff2833..99dbb282a93 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/configs/nshsram/defconfig +++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/nshsram/defconfig @@ -6,6 +6,7 @@ # 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 0815ce44788..235ce75b963 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/configs/smp/defconfig +++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/smp/defconfig @@ -6,6 +6,7 @@ # 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 dc71ca363ce..de1e4d5a482 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/configs/spisd/defconfig +++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/spisd/defconfig @@ -6,6 +6,7 @@ # 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 e735fc5c2e9..57cddbec76c 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/configs/usbmsc/defconfig +++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/usbmsc/defconfig @@ -6,6 +6,7 @@ # 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 ba672273a40..d1af1ca2e9a 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/configs/usbnsh/defconfig +++ b/boards/arm/rp2040/pimoroni-tiny2040/configs/usbnsh/defconfig @@ -7,6 +7,7 @@ # # 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 20548e659c5..41d32edef72 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/audiopack/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/audiopack/defconfig @@ -7,6 +7,7 @@ # # 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 b665347e108..38484216bc7 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/composite/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/composite/defconfig @@ -6,6 +6,7 @@ # 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 a0b34a15eef..f48923f4ae7 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/displaypack/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/displaypack/defconfig @@ -8,6 +8,7 @@ # 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 c7a2759852c..89c73fc0c7b 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/enc28j60/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/enc28j60/defconfig @@ -6,6 +6,7 @@ # 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 77e065d1d42..db9f390dec2 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/lcd1602/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/lcd1602/defconfig @@ -6,6 +6,7 @@ # 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 18c1ccd9d43..421ba0692a1 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/nsh/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/nsh/defconfig @@ -6,6 +6,7 @@ # 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 c4ac258c0f4..854cb64d539 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/nshsram/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/nshsram/defconfig @@ -6,6 +6,7 @@ # 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 16840379794..e7fc281bcd6 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/smp/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/smp/defconfig @@ -6,6 +6,7 @@ # 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 8d261f1ab58..b662bbaa520 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/spisd/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/spisd/defconfig @@ -6,6 +6,7 @@ # 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 de327fd349b..e9ebc400d26 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/ssd1306/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/ssd1306/defconfig @@ -7,6 +7,7 @@ # # 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 413f9adbe19..9e7d8caaab3 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/st7735/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/st7735/defconfig @@ -6,6 +6,7 @@ # 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 43b7326fbee..fc4af6e603b 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/usbmsc/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/usbmsc/defconfig @@ -6,6 +6,7 @@ # 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 d63bcd12e19..1944655f00b 100644 --- a/boards/arm/rp2040/raspberrypi-pico/configs/usbnsh/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico/configs/usbnsh/defconfig @@ -7,6 +7,7 @@ # # 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 1f9e17c86b2..b4748ad3df3 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,6 +7,7 @@ # # 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 37e1041a0a8..70ffeac581e 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,6 +7,7 @@ # # 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 0bd56b63f62..fb342b532ec 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig @@ -29,6 +29,7 @@ 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 6f8f083385e..342eb0a8050 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig @@ -6,6 +6,7 @@ # 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 c0dd331340d..1aae3b86678 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig @@ -7,6 +7,7 @@ # # 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 35305474310..51257aac51f 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig @@ -7,6 +7,7 @@ # # 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 cd70995e634..3fbf3c4b96b 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig @@ -6,6 +6,7 @@ # 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 3c1f9ad2c07..6ba0161546a 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig @@ -7,6 +7,7 @@ # # 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 7a408807227..e6c440ee36e 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig @@ -6,6 +6,7 @@ # 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 f63a0e6e0d3..8f662a571e4 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig @@ -6,6 +6,7 @@ # 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 2b05ffc5130..220576b4933 100644 --- a/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig +++ b/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig @@ -7,6 +7,7 @@ # # 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 c71392d6cd0..dc41801d6f1 100644 --- a/boards/arm/stm32/nucleo-l152re/configs/lcd/defconfig +++ b/boards/arm/stm32/nucleo-l152re/configs/lcd/defconfig @@ -5,6 +5,7 @@ # 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 6e19fb9a838..f4d9f3effc4 100644 --- a/boards/arm/stm32/nucleo-l152re/configs/nsh/defconfig +++ b/boards/arm/stm32/nucleo-l152re/configs/nsh/defconfig @@ -5,6 +5,7 @@ # 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 f9547a8cc38..5a710701e9f 100644 --- a/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig +++ b/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig @@ -7,6 +7,7 @@ # # 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 2aa1ab93f6b..14858f07c5e 100644 --- a/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig +++ b/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig @@ -7,6 +7,7 @@ # # 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 acd393186aa..89a0f73aa2a 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/max7219/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/max7219/defconfig @@ -51,6 +51,7 @@ 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 072cebea6d5..56bbce21484 100644 --- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/adc/defconfig +++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/adc/defconfig @@ -5,6 +5,7 @@ # 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 dbff12547f6..93704dbe249 100644 --- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nsh/defconfig +++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nsh/defconfig @@ -5,6 +5,7 @@ # 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 2f5e02c000a..4c3cfa69616 100644 --- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nxlines_oled/defconfig +++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/nxlines_oled/defconfig @@ -6,6 +6,7 @@ # 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 3e9a783f7d9..9eeb98058f7 100644 --- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/sx127x/defconfig +++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/configs/sx127x/defconfig @@ -5,6 +5,7 @@ # 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 04d16ef8b06..f40ada5128b 100644 --- a/boards/arm/stm32f0l0g0/nucleo-f091rc/configs/sx127x/defconfig +++ b/boards/arm/stm32f0l0g0/nucleo-f091rc/configs/sx127x/defconfig @@ -5,6 +5,7 @@ # 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 b6950e75340..cd7e8e20717 100644 --- a/boards/arm/stm32f0l0g0/nucleo-g070rb/configs/nsh/defconfig +++ b/boards/arm/stm32f0l0g0/nucleo-g070rb/configs/nsh/defconfig @@ -5,6 +5,7 @@ # 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 26813f0ffbb..438b41b8a3d 100644 --- a/boards/arm/stm32f0l0g0/nucleo-g071rb/configs/nsh/defconfig +++ b/boards/arm/stm32f0l0g0/nucleo-g071rb/configs/nsh/defconfig @@ -5,6 +5,7 @@ # 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 d3cc51f5240..7158c662a64 100644 --- a/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/nsh/defconfig +++ b/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/nsh/defconfig @@ -5,6 +5,7 @@ # 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 e5e67416e3e..869a69352f9 100644 --- a/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/sx127x/defconfig +++ b/boards/arm/stm32f0l0g0/nucleo-l073rz/configs/sx127x/defconfig @@ -5,6 +5,7 @@ # 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 29a61b40b00..29ea2579991 100644 --- a/boards/arm/stm32f0l0g0/stm32g071b-disco/configs/nsh/defconfig +++ b/boards/arm/stm32f0l0g0/stm32g071b-disco/configs/nsh/defconfig @@ -6,6 +6,7 @@ # 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 545a40fe153..a593c3b222c 100644 --- a/boards/arm/stm32f0l0g0/stm32l0538-disco/configs/nsh/defconfig +++ b/boards/arm/stm32f0l0g0/stm32l0538-disco/configs/nsh/defconfig @@ -5,6 +5,7 @@ # 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 efffae665d5..d179dcc2102 100644 --- a/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig +++ b/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig @@ -52,6 +52,7 @@ 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 297ac898653..9e64a850063 100644 --- a/boards/misoc/lm32/misoc/configs/nsh/defconfig +++ b/boards/misoc/lm32/misoc/configs/nsh/defconfig @@ -5,6 +5,7 @@ # 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 907c72c908b..52c03679600 100644 --- a/boards/sparc/bm3803/xx3803/configs/nsh/defconfig +++ b/boards/sparc/bm3803/xx3803/configs/nsh/defconfig @@ -8,6 +8,7 @@ # 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 fe73117afa5..5df847d4f2f 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig @@ -80,6 +80,7 @@ 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 7a521d1a405..b96ba69e54b 100644 --- a/libs/libc/stdio/Kconfig +++ b/libs/libc/stdio/Kconfig @@ -58,9 +58,25 @@ 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 f08d3eb88e0..56c3b444e1f 100644 --- a/libs/libc/stdio/lib_libvscanf.c +++ b/libs/libc/stdio/lib_libvscanf.c @@ -42,6 +42,14 @@ * 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 @@ -207,7 +215,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int *lastc, int base = 10; char tmp[MAXLN]; -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG FAR unsigned long long *plonglong = NULL; #endif FAR unsigned long *plong = NULL; @@ -309,7 +317,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_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG modifier = LL_MOD; #else modifier = L_MOD; @@ -561,7 +569,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int *lastc, *plong = 0; break; -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG case LL_MOD: plonglong = va_arg(ap, FAR unsigned long long *); *plonglong = 0; @@ -588,7 +596,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int *lastc, bool stopconv; int errsave; unsigned long tmplong = 0; -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG unsigned long long tmplonglong = 0; #endif /* Copy the real string into a temporary working buffer. */ @@ -807,7 +815,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int *lastc, switch (modifier) { -#ifndef CONFIG_HAVE_LONG_LONG +#ifndef CONFIG_LIBC_LONG_LONG case LL_MOD: #endif case HH_MOD: @@ -824,7 +832,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int *lastc, } break; -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG case LL_MOD: if (sign) { @@ -870,7 +878,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int *lastc, *pint = (unsigned int)tmplong; break; -#ifndef CONFIG_HAVE_LONG_LONG +#ifndef CONFIG_LIBC_LONG_LONG case L_MOD: #endif default: @@ -878,7 +886,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int *lastc, *plong = tmplong; break; -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG case LL_MOD: linfo("Return %lld to %p\n", tmplonglong, plonglong); @@ -1133,7 +1141,7 @@ int lib_vscanf(FAR struct lib_instream_s *obj, FAR int *lastc, *plong = (unsigned long)nchars; break; -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_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 67776b36bf4..62d44077e35 100644 --- a/libs/libc/stdio/lib_libvsprintf.c +++ b/libs/libc/stdio/lib_libvsprintf.c @@ -59,6 +59,14 @@ * 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 @@ -123,7 +131,7 @@ struct arg_s { unsigned int u; unsigned long ul; -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG unsigned long long ull; #endif double d; @@ -177,7 +185,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream, int prec; union { -#if defined (CONFIG_HAVE_LONG_LONG) || (ULONG_MAX > 4294967295UL) +#if defined (CONFIG_LIBC_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' */ @@ -406,7 +414,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_HAVE_LONG_LONG + * CONFIG_LIBC_LONG_LONG * is not enabled and sizeof(size_t) is equal to * sizeof(unsigned long long). This latter case is an * error. @@ -423,7 +431,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream, c = 'l'; break; -#if defined(CONFIG_HAVE_LONG_LONG) && ULLONG_MAX != ULONG_MAX +#if defined(CONFIG_LIBC_LONG_LONG) && ULLONG_MAX != ULONG_MAX case sizeof(unsigned long long): c = 'l'; flags |= FL_LONG; @@ -437,7 +445,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream, { /* Same as long long if available. Otherwise, long. */ -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG flags |= FL_REPD_TYPE; #endif flags |= FL_LONG; @@ -485,7 +493,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream, flags &= ~(FL_LONG | FL_REPD_TYPE); -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_LONG_LONG if (sizeof(void *) == sizeof(unsigned long long)) { flags |= (FL_LONG | FL_REPD_TYPE); @@ -955,7 +963,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream, if (c == 'd' || c == 'i') { -#ifndef CONFIG_HAVE_LONG_LONG +#ifndef CONFIG_LIBC_LONG_LONG long x; #else long long x; @@ -1038,7 +1046,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream, else { int base; -#ifndef CONFIG_HAVE_LONG_LONG +#ifndef CONFIG_LIBC_LONG_LONG unsigned long x; #else unsigned long long x; @@ -1337,7 +1345,7 @@ int lib_vsprintf(FAR struct lib_outstream_s *stream, switch (arglist[i].type) { case TYPE_LONG_LONG: -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_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 434087a925a..ae35b966dc3 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_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_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 fa8fe08b3e2..7f7d3fb86a9 100644 --- a/libs/libc/stdio/lib_ultoa_invert.h +++ b/libs/libc/stdio/lib_ultoa_invert.h @@ -48,6 +48,14 @@ * 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 */ @@ -59,7 +67,7 @@ /* Internal function for use from `printf'. */ -#ifdef CONFIG_HAVE_LONG_LONG +#ifdef CONFIG_LIBC_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);