1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 14:32:44 +01:00
RIOT/boards/common/wsn430/Makefile.include

18 lines
505 B
Makefile
Raw Normal View History

2013-05-25 12:34:18 +02:00
## the cpu to build for
export CPU = msp430fxyz
2015-09-16 17:19:02 +02:00
export CPU_MODEL = msp430f1611
2013-05-25 12:34:18 +02:00
2015-09-16 17:19:02 +02:00
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
2015-09-16 17:19:02 +02:00
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
2015-09-16 17:19:02 +02:00
# setup flash tool
export OFLAGS = -O ihex
2013-05-25 12:34:18 +02:00
export FLASHER = mspdebug
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
# include common wsn430 includes
export INCLUDES += -I$(RIOTBOARD)/common/wsn430/include