forked from forks/qmk_firmware
1f2fe2eab9
* Remove GCC check from debug * Remove platform logic from common.mk * Refactor platform logic within print.h * restore debug.c format * headers * Rename function pointer type * review comments * Update tmk_core/common/printf.c Co-authored-by: Nick Brassel <nick@tzarc.org> * Format Co-authored-by: Nick Brassel <nick@tzarc.org>
10 lines
355 B
Makefile
10 lines
355 B
Makefile
PRINTF_PATH = $(LIB_PATH)/printf
|
|
|
|
TMK_COMMON_SRC += $(PRINTF_PATH)/printf.c
|
|
TMK_COMMON_SRC += $(COMMON_DIR)/printf.c
|
|
TMK_COMMON_DEFS += -DPRINTF_DISABLE_SUPPORT_FLOAT
|
|
TMK_COMMON_DEFS += -DPRINTF_DISABLE_SUPPORT_EXPONENTIAL
|
|
TMK_COMMON_DEFS += -DPRINTF_DISABLE_SUPPORT_LONG_LONG
|
|
TMK_COMMON_DEFS += -DPRINTF_DISABLE_SUPPORT_PTRDIFF_T
|
|
VPATH += $(PRINTF_PATH)
|