1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00
RIOT/pkg/mpaland-printf/Makefile.dep
Marian Buschsieweke b9b488d6fb
sys/stdio: add printf_long_long
This adds the new `printf_long_long` module that can be used to enable
printing of `long long` and `unsigned long long`.

This has been implemented for `mpaland-printf`. In addition, this module
is a default module for 32-bit and 64-bit systems if `mpaland-printf` is
used, 64 bit support is not too expensive for them. (And on 64-bit
systems support for long long is needed for support of `%p`, which is
pretty basic.)

This is mainly useful for MSP430, where otherwise `mpaland-printf` would
require more memory than newlib's implementation.
2025-04-27 23:37:33 +02:00

11 lines
458 B
Makefile

# mpaland's printf does not implement non-standard format specifiers. For
# AVR MCUs we do need the ability to print from PROGMEM, though. Hence, this
# is not compatible with AVR MCUs.
FEATURES_BLACKLIST += arch_avr8
# On 32 bit and 64 bit systems support for long long is so cheap, that we
# can enable it by default. Users can still disable it, though.
ifneq (,$(filter arch_32bit arch_64bit,$(FEATURES_USED)))
DEFAULT_MODULE += printf_long_long
endif