Print ChibiOS Debug mode message only if the debug mode is ON

This commit is contained in:
Michal Podhradsky
2017-02-16 10:58:08 -08:00
parent bd4a5c2114
commit 72f0a5cc28
+1
View File
@@ -60,6 +60,7 @@ Q=@
RTOS_DEBUG ?= 0
ifeq (,$(findstring $(RTOS_DEBUG),0 FALSE))
$(info ChibiOS Debug mode is ON)
$(TARGET).CFLAGS += \
-DCH_DBG_STATISTICS=TRUE \
-DCH_DBG_SYSTEM_STATE_CHECK=TRUE \