Add dcc debug write and fix mcu part number
This commit is contained in:
11
Makefile
11
Makefile
@@ -5,12 +5,17 @@ BUILD_DIR = bin
|
||||
|
||||
#SHARED_DIR = ../my-common-code
|
||||
CFILES = main.c
|
||||
#CFILES += api.c
|
||||
#AFILES += api-asm.S
|
||||
|
||||
# TODO - you will need to edit these two lines!
|
||||
DEVICE=stm32f103rcbt6
|
||||
OOCD_FILE = board/stm32f4discovery.cfg
|
||||
DEVICE=STM32F103C8T6
|
||||
OOCD_FILE=openocd.cfg
|
||||
|
||||
# Send debug messages via OpenOCD DCC support
|
||||
CFILES += dcc_stdio.c
|
||||
VPATH += libdcc
|
||||
INCLUDES += $(patsubst %,-I%, . libdcc)
|
||||
|
||||
|
||||
# You shouldn't have to edit anything below here.
|
||||
#VPATH += $(SHARED_DIR)
|
||||
|
||||
Reference in New Issue
Block a user