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
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-MXV*)))
|
2015-09-16 17:19:22 +02:00
|
|
|
# setup serial terminal
|
2016-03-31 17:00:30 +02:00
|
|
|
export BAUD ?= 9600
|
2015-09-16 17:19:22 +02:00
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2013-08-19 18:58:45 +02:00
|
|
|
|
2016-04-13 16:38:30 +02:00
|
|
|
# setup the boards dependencies
|
|
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
|
|
|
|
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)
|