mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
14be504b6a
cpu: Add support for STM32F401xE cpu boards: Add support for Nucleo-f401 boards/nucleo-f401: New line fixes and comment on green led pin board/nucleo-f401: Added LED GPIO board/nucleo-f401: Fixed LED GPIO board/nucleo-f401: Minor fixes
17 lines
462 B
Makefile
17 lines
462 B
Makefile
# define the cpu used by the nucleo-f401 board
|
|
export CPU = stm32f4
|
|
export CPU_MODEL = stm32f401re
|
|
|
|
# define the default port depending on the host OS
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbmodem* | 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
|