mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
18 lines
477 B
Makefile
18 lines
477 B
Makefile
# the cpu to build for
|
|
export CPU = stm32f1
|
|
export CPU_MODEL = stm32f103re
|
|
|
|
# define the default port depending on the host OS
|
|
PORT_LINUX ?= /dev/ttyUSB1
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*B)))
|
|
|
|
# setup serial terminal
|
|
export BAUD = 500000
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# this board uses openocd
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|
|
|
|
# add the common header files to the include path
|
|
INCLUDES += -I$(RIOTBOARD)/iotlab-common/include
|