1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 06:32:44 +01:00
RIOT/boards/common/wsn430/Makefile.include
2017-11-30 10:26:35 +01:00

18 lines
505 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.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup flash tool
export OFLAGS = -O ihex
export FLASHER = mspdebug
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
# include common wsn430 includes
export INCLUDES += -I$(RIOTBOARD)/common/wsn430/include