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

19 lines
564 B
Makefile
Raw Normal View History

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