1
0

Replace DCC printf logging with SEGGER RTT

It turns out that RTT also works with OpenOCD starting from v0.11
This commit is contained in:
2021-06-27 18:32:43 +03:00
parent b7d241746c
commit 826084b927
12 changed files with 3557 additions and 281 deletions

View File

@@ -2,19 +2,19 @@ V=1
DEBUG=1
PROJECT = dht_test
BUILD_DIR = bin
OPT=-O0
#SHARED_DIR = ../my-common-code
CFILES = main.c
#AFILES += api-asm.S
# TODO - you will need to edit these two lines!
DEVICE=STM32F103C8T6
OOCD_FILE=openocd.cfg
# Send debug messages via OpenOCD DCC support
CFILES += dcc_stdio.c
VPATH += libdcc
INCLUDES += $(patsubst %,-I%, . libdcc)
# Send debug messages via SEGGER RTT
CFILES += SEGGER_RTT.c SEGGER_RTT_printf.c SEGGER_RTT_Syscalls_GCC.c
VPATH += RTT
INCLUDES += $(patsubst %,-I%, . RTT)
# You shouldn't have to edit anything below here.