Skip to content

Commit 9fbb23b

Browse files
committed
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.
1 parent 8b1c43a commit 9fbb23b

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

boards/common/gd32v/Makefile.include

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
77

88
# configure the flasher
99
PROGRAMMER ?= openocd
10-
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
1110
OPENOCD_DEBUG_ADAPTER ?= ftdi
1211
OPENOCD_FTDI_ADAPTER ?= openocd-usb
1312
OPENOCD_TRANSPORT ?= jtag
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
PORT_LINUX ?= /dev/ttyACM0
2+
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
23
include $(RIOTBOARD)/common/gd32v/Makefile.include
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
PORT_LINUX ?= /dev/ttyACM0
22
PROGRAMMER ?= dfu-util
3+
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
34

45
include $(RIOTBOARD)/common/gd32v/Makefile.include

0 commit comments

Comments
 (0)