mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 06:32:45 +01:00
15 lines
460 B
Makefile
15 lines
460 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_CONFIG ?= $(RIOTBOARD)/common/gd32v/dist/openocd.cfg
|
||
|
OPENOCD_DEBUG_ADAPTER ?= ftdi
|
||
|
OPENOCD_FTDI_ADAPTER ?= openocd-usb
|
||
|
OPENOCD_TRANSPORT = jtag
|
||
|
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST = 1
|