mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
17 lines
445 B
Makefile
17 lines
445 B
Makefile
## the cpu to build for
|
|
export CPU = stm32l1
|
|
export CPU_MODEL = stm32l151rc
|
|
|
|
# define the default port depending on the host OS
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1)
|
|
|
|
# setup serial terminal
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
|
|
|
# this board uses openocd
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
|
|
|
# include cortex defaults
|
|
include $(RIOTBOARD)/Makefile.include.cortexm_common
|