forked from Github/qmk_firmware
Add variable trace
For debugging changes to variables, either normally or as a result of a memory corruption.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user