mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
14 lines
415 B
Makefile
14 lines
415 B
Makefile
# we use shared STM32 configuration snippets
|
|
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*)))
|
|
|
|
# setup serial terminal
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# this board is flashed using DFU
|
|
DFU_ARGS += --alt 0 -s 0x8000000
|
|
include $(RIOTMAKE)/tools/dfu.inc.mk
|