2015-09-16 17:16:03 +02:00
|
|
|
# CPU used by this board
|
2014-12-01 17:32:29 +01:00
|
|
|
export CPU = msp430fxyz
|
2015-09-16 17:16:03 +02:00
|
|
|
export CPU_MODEL = msp430f2617
|
2014-02-27 12:48:30 +01:00
|
|
|
|
2015-09-16 17:16:03 +02:00
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
2015-09-16 17:16:03 +02:00
|
|
|
# setup serial terminal
|
2015-09-15 13:43:50 +02:00
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2014-02-27 12:48:30 +01:00
|
|
|
|
2015-09-16 17:16:03 +02:00
|
|
|
# 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)
|