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

18 lines
504 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 ?= $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1)
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# setup flash tool
export OFLAGS = -O ihex
export FLASHER = mspdebug
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
# include wsn430-common includes
export INCLUDES += -I$(RIOTBOARD)/wsn430-common/include