]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/eyesIFXv2.target
Merge devel code into the trunk.
[tinyos-2.x.git] / support / make / eyesIFXv2.target
diff --git a/support/make/eyesIFXv2.target b/support/make/eyesIFXv2.target
new file mode 100644 (file)
index 0000000..c87abc3
--- /dev/null
@@ -0,0 +1,29 @@
+#-*-Makefile-*- vim:syntax=make
+#$Id$
+
+PLATFORM = eyesIFXv2
+
+MSP_MCU = msp430x1611
+
+# 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)
+    @: