summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-26 14:51:44 +0700
committerhathach <[email protected]>2020-04-26 14:51:44 +0700
commit017c95037f3173455fa09efae6093d56fd3f3d1a (patch)
tree37e5eb03f99c95ca9ebdb69c0bf6c8b263342492 /examples/make.mk
parentf1ecda392ffcc0c114269c3b6c318a2d0a50e2f5 (diff)
add usbd edpt open
- RTT mode is blocking to prevent log lost - Improve logging message
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 319ceece8..449dc899d 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -84,7 +84,7 @@ endif
ifeq ($(LOGGER),rtt)
RTT_SRC = lib/SEGGER_RTT
- CFLAGS += -DLOGGER_RTT
+ CFLAGS += -DLOGGER_RTT -DSEGGER_RTT_MODE_DEFAULT=SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL
INC += $(TOP)/$(RTT_SRC)/RTT
SRC_C += $(RTT_SRC)/RTT/SEGGER_RTT_printf.c
SRC_C += $(RTT_SRC)/RTT/SEGGER_RTT.c