diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-11-07 10:55:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 10:55:05 -0500 |
commit | a9e0fd410ce7c8b975ba72cd7900c3f6edc0d108 (patch) | |
tree | 6ad9fae08c3ca15d0b56507afa2b788fc625571e /build_keyboard.mk | |
parent | 309d93184e7c9fab561a8678a4d287ef9ec970fd (diff) | |
parent | 0ba3e523a7c124e4ce54dfd043dc32e72ad3233b (diff) |
Merge pull request #867 from fredizzimo/variable_trace
Variable trace
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r-- | build_keyboard.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index 282adcb118..61aebf3935 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk @@ -180,6 +180,14 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes) VAPTH += $(SERIAL_PATH) endif +ifneq ($(strip $(VARIABLE_TRACE)),) + SRC += $(QUANTUM_DIR)/variable_trace.c + OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE)) +ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),) + OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE)) +endif +endif + # Optimize size but this may cause error "relocation truncated to fit" #EXTRALDFLAGS = -Wl,--relax |