mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Add DEBUG_PRINTF flag
This commit is contained in:
parent
b665c65ed6
commit
faf79007c9
@ -54,6 +54,10 @@ else
|
|||||||
CFLAGS += -O2 -ggdb3 -DNDEBUG
|
CFLAGS += -O2 -ggdb3 -DNDEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(DEBUG_PRINTF), 1)
|
||||||
|
CFLAGS += -DDEBUG_PRINTF
|
||||||
|
endif
|
||||||
|
|
||||||
# Compiler Flags
|
# Compiler Flags
|
||||||
include $(TOP_DIR)/$(OMV_DIR)/boards/$(TARGET)/omv_boardconfig.mk
|
include $(TOP_DIR)/$(OMV_DIR)/boards/$(TARGET)/omv_boardconfig.mk
|
||||||
CFLAGS += -std=gnu99 -Wall -Werror -Warray-bounds -mthumb -nostartfiles -mabi=aapcs-linux -fdata-sections -ffunction-sections
|
CFLAGS += -std=gnu99 -Wall -Werror -Warray-bounds -mthumb -nostartfiles -mabi=aapcs-linux -fdata-sections -ffunction-sections
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user