1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/telosb/Makefile.include
2016-07-06 18:14:48 +02:00

19 lines
564 B
Makefile

## the cpu to build for
export CPU = msp430fxyz
export CPU_MODEL = msp430f1611
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-MXV*)))
# setup serial terminal
export BAUD ?= 9600
include $(RIOTBOARD)/Makefile.include.serial
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# flash tool configuration
export OFLAGS = -O ihex
export FLASHER = $(RIOTBASE)/dist/tools/goodfet/goodfet.bsl
export FFLAGS = --telosb -c $(PORT) -r -e -I -p $(HEXFILE)