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:
parent
8b1c43afb0
commit
9fbb23b167
@ -7,7 +7,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|||||||
|
|
||||||
# configure the flasher
|
# configure the flasher
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
|
|
||||||
OPENOCD_DEBUG_ADAPTER ?= ftdi
|
OPENOCD_DEBUG_ADAPTER ?= ftdi
|
||||||
OPENOCD_FTDI_ADAPTER ?= openocd-usb
|
OPENOCD_FTDI_ADAPTER ?= openocd-usb
|
||||||
OPENOCD_TRANSPORT ?= jtag
|
OPENOCD_TRANSPORT ?= jtag
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
|
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
|
||||||
include $(RIOTBOARD)/common/gd32v/Makefile.include
|
include $(RIOTBOARD)/common/gd32v/Makefile.include
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PROGRAMMER ?= dfu-util
|
PROGRAMMER ?= dfu-util
|
||||||
|
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/gd32v/Makefile.include
|
include $(RIOTBOARD)/common/gd32v/Makefile.include
|
||||||
|
Loading…
Reference in New Issue
Block a user