mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
19 lines
536 B
Makefile
19 lines
536 B
Makefile
# select the used CPU
|
|
export CPU = msp430fxyz
|
|
export CPU_MODEL = msp430f1611
|
|
|
|
# include this module in the build
|
|
USEMODULE += boards_common_wsn430
|
|
# use common wsn430 includes
|
|
export INCLUDES += -I$(RIOTBOARD)/common/wsn430/include
|
|
|
|
# configure the serial interface
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# configure the flash tool
|
|
export OFLAGS = -O ihex
|
|
export FLASHER = mspdebug
|
|
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
|