1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/z1/Makefile.include
Gaëtan Harter 1c14a7da86
boards/goodfet: use FLASHFILE for boards using goodfet.bsl
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:39 +02:00

15 lines
431 B
Makefile

# CPU used by this board
export CPU = msp430fxyz
export CPU_MODEL = msp430f2617
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup flash tool
FLASHER = $(RIOTTOOLS)/goodfet/goodfet.bsl
FLASHFILE ?= $(HEXFILE)
FFLAGS = --z1 -I -c $(PORT) -r -e -p $(FLASHFILE)