1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/wsn430/Makefile.include

21 lines
594 B
Makefile
Raw Normal View History

2017-11-16 15:14:31 +01:00
# select the used CPU
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
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
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)"
# Use the HEXFILE when using iot-lab.single.inc.mk
IOTLAB_FLASHFILE = $(HEXFILE)