1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00
RIOT/tests/sys/snprintf/Makefile
Marian Buschsieweke 4a84f6f58e
tests/sys/snprintf: use printf_long_long
This is required to support printing 64 bit numbers, as is done in the
test.

In addition that 64 bit formatting test is feature gated, so that users
can simply comment out the `USEMODULE += printf_long_long` to fit tiny
boards.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-08-21 12:08:10 +02:00

13 lines
450 B
Makefile

include ../Makefile.sys_common
# avrlibc's snprintf doesn't support uint64_t / int64_t and even fails
# to compile due to PRI*64 macros not being defined
FEATURES_BLACKLIST := arch_avr8
# This enables support for printing 64 bit numbers. You can comment this out
# to shrink the test app. The test will skip the corresponding test
# automatically if printf_long_long is not used.
USEMODULE += printf_long_long
include $(RIOTBASE)/Makefile.include