#-*-Makefile-*- vim:syntax=make
#$Id: eyesIFXv2.target,v 1.5 2008/03/11 09:34:13 klueska Exp $

PLATFORM = eyesIFXv2

MSP_MCU = msp430x1611

#Flash Config
VOLUME_FILE = volumes-at45db.xml
VOLUME_ALLOCATOR ?= tos-storage-at45db

# Disable MSP430 hardware multiply because it makes MSPGCC die
PFLAGS += -mdisable-hwmul
OPTFLAGS += -O

ifndef DEFAULT_PROGRAM
DEFAULT_PROGRAM = bsl
endif

MSP_BSL_FLAGS ?= --invert-test --invert-reset --f1x
BSL?=/dev/ttyUSB1
ifeq (,$(findstring /dev/ttyUSB,$(BSL)))
  ifneq (,$(findstring USB,$(BSL)))
    BSL:=/dev/tty$(BSL)
  endif
endif

NESC_FLAGS:=-Wnesc-all -mdisable-hwmul

$(call TOSMake_include_platform,msp)

eyesIFXv2: $(BUILD_DEPS)
    @:
