2017-11-16 15:14:31 +01:00
|
|
|
# select the used CPU
|
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
|
|
|
|
2017-11-16 15:14:31 +01:00
|
|
|
# include this module in the build
|
|
|
|
USEMODULE += boards_common_wsn430
|
|
|
|
# use common wsn430 includes
|
|
|
|
export INCLUDES += -I$(RIOTBOARD)/common/wsn430/include
|
|
|
|
|
|
|
|
# configure the serial interface
|
2015-09-16 17:19:02 +02:00
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
2015-09-16 17:19:02 +02:00
|
|
|
|
2017-11-16 15:14:31 +01:00
|
|
|
# configure the flash tool
|
2013-05-25 12:34:18 +02:00
|
|
|
export FLASHER = mspdebug
|
|
|
|
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
|
2018-04-24 17:04:26 +02:00
|
|
|
|
|
|
|
# Use the HEXFILE when using iot-lab.single.inc.mk
|
|
|
|
IOTLAB_FLASHFILE = $(HEXFILE)
|