mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 03:27:33 +08:00
Print ChibiOS Debug mode message only if the debug mode is ON
This commit is contained in:
@@ -60,6 +60,7 @@ Q=@
|
|||||||
RTOS_DEBUG ?= 0
|
RTOS_DEBUG ?= 0
|
||||||
|
|
||||||
ifeq (,$(findstring $(RTOS_DEBUG),0 FALSE))
|
ifeq (,$(findstring $(RTOS_DEBUG),0 FALSE))
|
||||||
|
$(info ChibiOS Debug mode is ON)
|
||||||
$(TARGET).CFLAGS += \
|
$(TARGET).CFLAGS += \
|
||||||
-DCH_DBG_STATISTICS=TRUE \
|
-DCH_DBG_STATISTICS=TRUE \
|
||||||
-DCH_DBG_SYSTEM_STATE_CHECK=TRUE \
|
-DCH_DBG_SYSTEM_STATE_CHECK=TRUE \
|
||||||
|
|||||||
Reference in New Issue
Block a user