lib/os: With CBPRINTF_NANO, picolibc long-long printf isn't required

CBPRINTF_FULL_INTEGRAL doesn't happen to explicitly conflict with
CBPRINTF_NANO, but when CBPRINTF_NANO is enabled, there's no long long I/O
support provided.

Allow picolibc long-long I/O support to also be elided when CBPRINTF_NANO
is enabled to save similar amounts of space.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2023-09-12 23:46:30 -07:00 committed by Chris Friedt
parent 196341c18b
commit 47e09806c8

View File

@ -31,7 +31,7 @@ choice CBPRINTF_INTEGRAL_CONV
# 01: 0% / 0 B (01 / 00)
config CBPRINTF_FULL_INTEGRAL
bool "Convert the full range of integer values"
select PICOLIBC_IO_LONG_LONG if PICOLIBC
select PICOLIBC_IO_LONG_LONG if PICOLIBC && !CBPRINTF_NANO
help
Build cbprintf with buffers sized to support converting the full
range of all integral and pointer values.