#For tos-bsl, use --invert-reset --invert-test
BSL=goodfet.bsl -c $(GOODFET) --speed=38400
+
+#One of these should be defined explicitly.
+#Default removed because of confusion.
+
#mcu=msp430x2274
#mcu=msp430x2618
-mcu?=msp430x1612
-
+#mcu?=msp430x1612
+mcu?=RUNCONFIG
#N.B., gcc WILL NOT BITCH if this file doesn't exist.
#GCCINC=-T ldscripts/161x.x
all: $(app).hex
+lib/RUNCONFIG.o:
+ ./configure
+ false
+
goodfet.hex: goodfet
run:
The MSP430F161x is targetted by default. Build for others
by setting one of the following.
-mcu=msp430x2618
-mcu=msp430x1612 #MSP430F1612 or 1611
-mcu=msp430x2274 #2272 or 2274
+mcu=msp430x2618 #BadFET20
+mcu=msp430x1612 #GoodFET10, GoodFET20
+mcu=msp430x2274 #GoodFET30
EOF