change DEBUG optimization option from O0 to Og

add uart write to board test example
This commit is contained in:
hathach
2019-10-18 17:50:29 +07:00
parent 90b6b5d137
commit 558b4dbde3
4 changed files with 13 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ CFLAGS += \
# Debugging/Optimization
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -ggdb -DCFG_TUSB_DEBUG=1
CFLAGS += -Og -ggdb -DCFG_TUSB_DEBUG=2
else
ifneq ($(BOARD), spresense)
CFLAGS += -flto -Os