1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/gd32v/Makefile.include
Marian Buschsieweke 9fbb23b167
boards/common/gd32v: make common OpenOCD config opt-in
Let boards explicitly use the common OpenOCD config if it works for
them, rather than having boards with specific needs opt out.
2024-01-19 23:17:35 +01:00

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