mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
559 B
Makefile
20 lines
559 B
Makefile
|
# define the cpu used by the stm32f4-discovery board
|
||
|
export CPU = stm32f4
|
||
|
export CPU_MODEL = stm32f429zi
|
||
|
|
||
|
# we use shared STM32 configuration snippets
|
||
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||
|
|
||
|
# set default port depending on operating system
|
||
|
PORT_LINUX ?= /dev/ttyACM0
|
||
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||
|
|
||
|
# setup serial terminal
|
||
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
||
|
|
||
|
# this board has an on-board ST-link adapter
|
||
|
export DEBUG_ADAPTER ?= stlink
|
||
|
|
||
|
# this board uses openocd
|
||
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|