1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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.
This commit is contained in:
Marian Buschsieweke 2024-01-19 23:15:08 +01:00
parent 8b1c43afb0
commit 9fbb23b167
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6
3 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# configure the flasher
PROGRAMMER ?= openocd
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
OPENOCD_DEBUG_ADAPTER ?= ftdi
OPENOCD_FTDI_ADAPTER ?= openocd-usb
OPENOCD_TRANSPORT ?= jtag

View File

@ -1,2 +1,3 @@
PORT_LINUX ?= /dev/ttyACM0
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
include $(RIOTBOARD)/common/gd32v/Makefile.include

View File

@ -1,4 +1,5 @@
PORT_LINUX ?= /dev/ttyACM0
PROGRAMMER ?= dfu-util
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
include $(RIOTBOARD)/common/gd32v/Makefile.include