mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
29459beaf2
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are automatically included Part of moving CPU/CPU_MODEL definition to Makefile.features to have it available before Makefile.include.
17 lines
555 B
Makefile
17 lines
555 B
Makefile
# Uses UART0 for stdio input/output (comment out to disable)
|
|
USEMODULE += stdio_uart
|
|
|
|
# set default port depending on operating system
|
|
PORT_LINUX ?= /dev/ttyUSB1
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
|
|
# setup serial terminal
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# this board uses openocd with a custom reset command
|
|
export OPENOCD_CMD_RESET_RUN=-c _reset
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|
|
|
|
# use our own openocd script to flash since HiFive1 has reset problems.
|
|
FLASHER = $(RIOTBASE)/boards/hifive1/dist/flasher.sh
|