summaryrefslogtreecommitdiff
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-11-06 21:57:26 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-11-06 21:58:34 +0200
commitf519b94be7086852f2afe4ec248786b47968f7ff (patch)
tree1bcff3e55c2cde8ba9174ca31d17e5ccdbd09e87 /build_keyboard.mk
parentd5270af1118a86cc8aaf795005941ad980a0d128 (diff)
downloadqmk_firmware-f519b94be7086852f2afe4ec248786b47968f7ff.tar.gz
qmk_firmware-f519b94be7086852f2afe4ec248786b47968f7ff.zip
Add variable trace
For debugging changes to variables, either normally or as a result of a memory corruption.
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 282adcb118..461b17cd77 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -180,6 +180,8 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
VAPTH += $(SERIAL_PATH)
endif
+SRC += $(QUANTUM_DIR)/variable_trace.c
+
# Optimize size but this may cause error "relocation truncated to fit"
#EXTRALDFLAGS = -Wl,--relax