summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-10-18 17:50:29 +0700
committerhathach <[email protected]>2019-10-18 17:50:29 +0700
commit558b4dbde3b9c5e575de08399bad94ae2737d697 (patch)
tree519a057d2afbb65075b8cf059e3eb0d332010237 /examples/make.mk
parent90b6b5d137af680e807bc2909d9d0e79b9f118ce (diff)
change DEBUG optimization option from O0 to Og
add uart write to board test example
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 552483965..b736b8776 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -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