mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
19 lines
507 B
Makefile
19 lines
507 B
Makefile
# we use shared STM32 configuration snippets
|
|
INCLUDES += -I$(RIOTBASE)/boards/common/stm32/include
|
|
|
|
# define the default port depending on the host OS
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
# setup serial terminal
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
PROGRAMMER ?= openocd
|
|
OPENOCD_DEBUG_ADAPTER ?= stlink
|
|
|
|
# openocd programmer is supported
|
|
PROGRAMMERS_SUPPORTED += openocd
|
|
|
|
# this board uses openocd
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|