mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
24 lines
686 B
Makefile
24 lines
686 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 ?= $(shell ls -1 /dev/tty.usbserial* | head -n 1)
|
|
|
|
# setup serial terminal
|
|
export BAUD = 500000
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
|
|
|
# this board uses openocd
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
|
|
|
# export board specific includes to the global includes-listing
|
|
export INCLUDES += -I$(RIOTBASE)/drivers/at86rf231/include -I$(RIOTBASE)/sys/net/include
|
|
|
|
# include board dependencies
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
|
|
|
# include cortex defaults
|
|
include $(RIOTBOARD)/Makefile.include.cortex_common
|