Beginning proper includes; compiles for both 1611 and 16112.
[goodfet] / firmware / tests / echo / Makefile
diff --git a/firmware/tests/echo/Makefile b/firmware/tests/echo/Makefile
new file mode 100644 (file)
index 0000000..a8b398b
--- /dev/null
@@ -0,0 +1,21 @@
+
+PORT=/dev/ttyUSB0
+BSL=tos-bsl --invert-reset --invert-test -c $(PORT)
+
+#mcu=msp430x1611
+mcu=msp430x1612
+
+GCCINC=-T ../../ldscripts/161x.x
+CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
+
+
+app=echo
+
+install: $(app)
+       $(BSL) -e -p $(app) 
+       #$(BSL) -P $(app) -g 0x2500
+       $(BSL) -P $(app) -r
+erase:
+       $(BSL) -e 
+clean:
+       rm $(app)