mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
21 lines
594 B
Makefile
21 lines
594 B
Makefile
# select the used CPU
|
|
export CPU = msp430fxyz
|
|
export CPU_MODEL = msp430f1611
|
|
|
|
# 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
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# configure the flash tool
|
|
export FLASHER = mspdebug
|
|
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
|
|
|
|
# Use the HEXFILE when using iot-lab.single.inc.mk
|
|
IOTLAB_FLASHFILE = $(HEXFILE)
|