# use c++11 features for the checksums and set default baud rate for serial uart
DEFINES += -DCHECKSUM_USE_CPP -DDEFAULT_SERIAL_BAUD_RATE=$(DEFAULT_SERIAL_BAUD_RATE)
-# Set a Pin here that toggles high on block begin and low on block end for debugging with logic analyzer
-#DEFINES += -DBLOCK_DEBUG_PIN=P4_29
-
-# Set a Pin here that toggles on Stepticker overrun for debugging with logic analyzer
-DEFINES += -DSTEPTICKER_DEBUG_PIN=P4_29
+ifneq "$(STEPTICKER_DEBUG_PIN)" ""
+# Set a Pin here that toggles on end of move
+DEFINES += -DSTEPTICKER_DEBUG_PIN=$(STEPTICKER_DEBUG_PIN)
+endif
# add any modules that you do not want included in the build
export EXCLUDED_MODULES = tools/touchprobe