mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
9fbb23b167
Let boards explicitly use the common OpenOCD config if it works for them, rather than having boards with specific needs opt out.
18 lines
480 B
Makefile
18 lines
480 B
Makefile
# include this module into the build
|
|
INCLUDES += -I$(RIOTBOARD)/common/gd32v/include
|
|
|
|
# configure the serial interface
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
# configure the flasher
|
|
PROGRAMMER ?= openocd
|
|
OPENOCD_DEBUG_ADAPTER ?= ftdi
|
|
OPENOCD_FTDI_ADAPTER ?= openocd-usb
|
|
OPENOCD_TRANSPORT ?= jtag
|
|
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST = 1
|
|
|
|
# DFU programmer specific variables
|
|
DFU_USB_ID ?= 28e9:0189
|
|
DFU_USE_DFUSE ?= 1
|