mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
15 lines
453 B
Makefile
15 lines
453 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
|
|
export OFLAGS = -O ihex
|
|
export FLASHER = $(RIOTBASE)/dist/tools/goodfet/goodfet.bsl
|
|
export FFLAGS = --z1 -I -c $(PORT) -r -e -p $(HEXFILE)
|