mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 17:06:52 +06:00
d9bb189e25
mpaland printf implementation was abandoned in ~2019 and the fork by eyalroz is now regarded to be the goto replacement of it. So this commit incoporates the changes needed to use this fork in QMK. Note that pointer ptrdiff_t is always supported since commit 51c90f93a97fdaef895783ecbe24569be0db7cb8
13 lines
449 B
Makefile
13 lines
449 B
Makefile
PRINTF_PATH = $(LIB_PATH)/printf/src
|
|
|
|
VPATH += $(PRINTF_PATH) $(PRINTF_PATH)/printf
|
|
SRC += printf.c
|
|
QUANTUM_SRC +=$(QUANTUM_DIR)/logging/print.c
|
|
|
|
OPT_DEFS += -DPRINTF_SUPPORT_DECIMAL_SPECIFIERS=0
|
|
OPT_DEFS += -DPRINTF_SUPPORT_EXPONENTIAL_SPECIFIERS=0
|
|
OPT_DEFS += -DPRINTF_SUPPORT_LONG_LONG=0
|
|
OPT_DEFS += -DPRINTF_SUPPORT_WRITEBACK_SPECIFIER=0
|
|
OPT_DEFS += -DSUPPORT_MSVC_STYLE_INTEGER_SPECIFIERS=0
|
|
OPT_DEFS += -DPRINTF_ALIAS_STANDARD_FUNCTION_NAMES=1
|