Add variable trace
For debugging changes to variables, either normally or as a result of a memory corruption.
This commit is contained in:
parent
d5270af111
commit
f519b94be7
2 changed files with 110 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue