2017-05-12 16:01:19 +02:00
|
|
|
# define the cpu used by the stm32f769-discovery board
|
|
|
|
export CPU = stm32f7
|
|
|
|
export CPU_MODEL = stm32f769ni
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2018-05-29 23:30:29 +02:00
|
|
|
# this board has an on-board ST-link adapter
|
2017-10-06 14:59:07 +02:00
|
|
|
export DEBUG_ADAPTER ?= stlink
|
|
|
|
|
2017-05-12 16:01:19 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|