mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
diagnostics: enable DIAG_TASKS on OP board by default
This commit is contained in:
parent
b05697c2cf
commit
387ea77d30
@ -436,15 +436,15 @@ CSTANDARD = -std=gnu99
|
|||||||
# Flags for C and C++ (arm-elf-gcc/arm-elf-g++)
|
# Flags for C and C++ (arm-elf-gcc/arm-elf-g++)
|
||||||
|
|
||||||
ifeq ($(DEBUG),YES)
|
ifeq ($(DEBUG),YES)
|
||||||
CFLAGS = -DDEBUG
|
CFLAGS += -DDEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(DIAGNOSTICS),YES)
|
ifeq ($(DIAGNOSTICS),YES)
|
||||||
CFLAGS = -DDIAGNOSTICS
|
CFLAGS += -DDIAGNOSTICS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(DIAG_TASKS),YES)
|
ifeq ($(DIAG_TASKS),YES)
|
||||||
CFLAGS = -DDIAG_TASKS
|
CFLAGS += -DDIAG_TASKS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -g$(DEBUGF)
|
CFLAGS += -g$(DEBUGF)
|
||||||
|
@ -39,6 +39,7 @@ DEBUG ?= YES
|
|||||||
|
|
||||||
# Include objects that are just nice information to show
|
# Include objects that are just nice information to show
|
||||||
DIAGNOSTICS ?= YES
|
DIAGNOSTICS ?= YES
|
||||||
|
DIAG_TASKS ?= YES
|
||||||
|
|
||||||
# Set to YES to use the Servo output pins for debugging via scope or logic analyser
|
# Set to YES to use the Servo output pins for debugging via scope or logic analyser
|
||||||
ENABLE_DEBUG_PINS ?= NO
|
ENABLE_DEBUG_PINS ?= NO
|
||||||
@ -395,11 +396,15 @@ CSTANDARD = -std=gnu99
|
|||||||
# Flags for C and C++ (arm-elf-gcc/arm-elf-g++)
|
# Flags for C and C++ (arm-elf-gcc/arm-elf-g++)
|
||||||
|
|
||||||
ifeq ($(DEBUG),YES)
|
ifeq ($(DEBUG),YES)
|
||||||
CFLAGS = -DDEBUG
|
CFLAGS += -DDEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(DIAGNOSTICS),YES)
|
ifeq ($(DIAGNOSTICS),YES)
|
||||||
CFLAGS = -DDIAGNOSTICS
|
CFLAGS += -DDIAGNOSTICS
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(DIAG_TASKS),YES)
|
||||||
|
CFLAGS += -DDIAG_TASKS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -g$(DEBUGF)
|
CFLAGS += -g$(DEBUGF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user