mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
19 lines
594 B
Makefile
19 lines
594 B
Makefile
# add the common header files to the include path
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
# define the default port depending on the host OS
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
# this board uses openocd
|
|
PROGRAMMER ?= openocd
|
|
OPENOCD_DEBUG_ADAPTER ?= stlink
|
|
STLINK_VERSION ?= 2
|
|
|
|
# The board can become un-flashable after some execution,
|
|
# use connect_assert_srst to always be able to flash or reset the board.
|
|
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
|
|
|
# openocd programmer is supported
|
|
PROGRAMMERS_SUPPORTED += openocd
|