mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
17 lines
420 B
Makefile
17 lines
420 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 ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
# setup serial terminal
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
export DEBUG_ADAPTER ?= stlink
|
|
export STLINK_VERSION ?= 2
|
|
|
|
# this board uses openocd
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|