2013-08-19 18:58:45 +02:00
|
|
|
## the cpu to build for
|
2014-12-01 17:32:29 +01:00
|
|
|
export CPU = msp430fxyz
|
2015-09-16 17:19:22 +02:00
|
|
|
export CPU_MODEL = msp430f1611
|
2013-08-19 18:58:45 +02:00
|
|
|
|
2015-09-16 17:19:22 +02:00
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2015-11-27 16:10:21 +01:00
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbserial-MXV* | head -n 1)
|
2015-09-16 17:19:22 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2013-08-19 18:58:45 +02:00
|
|
|
|
2015-09-16 17:19:22 +02:00
|
|
|
# flash tool configuration
|
2013-12-16 15:06:31 +01:00
|
|
|
export OFLAGS = -O ihex
|
2015-09-16 17:19:22 +02:00
|
|
|
export FLASHER = $(RIOTBASE)/dist/tools/goodfet/goodfet.bsl
|
|
|
|
export FFLAGS = --telosb -c $(PORT) -r -e -I -p $(HEXFILE)
|