summaryrefslogtreecommitdiff
path: root/quantum/logging/print.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-08-03 18:49:33 +0100
committerGitHub <noreply@github.com>2021-08-03 18:49:33 +0100
commit34de7ca224d613e1ae19a45860e27c15d40254dd (patch)
tree3176aa05dd5175ae1a7a56b5b881fc89c1aa18ef /quantum/logging/print.mk
parent3f419dc872d3ab61d129c644e114f62fd738e9d6 (diff)
Move print/debug files to quantum (#12069)
* move print/debug files to quantum * Update comments
Diffstat (limited to 'quantum/logging/print.mk')
-rw-r--r--quantum/logging/print.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/quantum/logging/print.mk b/quantum/logging/print.mk
new file mode 100644
index 0000000000..67c004192d
--- /dev/null
+++ b/quantum/logging/print.mk
@@ -0,0 +1,9 @@
+PRINTF_PATH = $(LIB_PATH)/printf
+
+VPATH += $(PRINTF_PATH)
+SRC += $(PRINTF_PATH)/printf.c
+QUANTUM_SRC +=$(QUANTUM_DIR)/logging/print.c
+OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_FLOAT
+OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_EXPONENTIAL
+OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_LONG_LONG
+OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_PTRDIFF_T