2013-05-25 12:34:18 +02:00
|
|
|
## the cpu to build for
|
2014-12-01 17:32:29 +01:00
|
|
|
export CPU = msp430fxyz
|
2015-09-16 17:19:02 +02:00
|
|
|
export CPU_MODEL = msp430f1611
|
2013-05-25 12:34:18 +02:00
|
|
|
|
2015-09-16 17:19:02 +02:00
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1)
|
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
|
|
|
|
|
|
|
# setup flash tool
|
|
|
|
export OFLAGS = -O ihex
|
2013-05-25 12:34:18 +02:00
|
|
|
export FLASHER = mspdebug
|
|
|
|
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
|
|
|
|
|
2015-09-16 17:19:02 +02:00
|
|
|
# include wsn430-common includes
|
|
|
|
export INCLUDES += -I$(RIOTBOARD)/wsn430-common/include
|