Blame view

RIOT/boards/wsn430-common/Makefile.include 541 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  ## 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 wsn430-common includes
  export INCLUDES += -I$(RIOTBOARD)/wsn430-common/include
  
  USEMODULE += wsn430-common-drivers