Print configuration instructions.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Wed, 21 Oct 2009 14:05:48 +0000 (14:05 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Wed, 21 Oct 2009 14:05:48 +0000 (14:05 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@215 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/Makefile
firmware/configure

index 32a72cb..9b73883 100644 (file)
@@ -6,10 +6,14 @@ GOODFET?=/dev/ttyUSB0
 #For tos-bsl, use --invert-reset --invert-test
 BSL=goodfet.bsl -c $(GOODFET) --speed=38400
 
 #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=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
 
 #N.B., gcc WILL NOT BITCH if this file doesn't exist.
 #GCCINC=-T ldscripts/161x.x
@@ -27,6 +31,10 @@ app= goodfet
 
 all: $(app).hex
 
 
 all: $(app).hex
 
+lib/RUNCONFIG.o:
+       ./configure
+       false
+
 goodfet.hex: goodfet
 
 run:
 goodfet.hex: goodfet
 
 run:
index 8767af6..43b2f40 100755 (executable)
@@ -7,8 +7,8 @@ GOODFET=/dev/ttyUSB*             #Linux (Default)
 
 The MSP430F161x is targetted by default.  Build for others
 by setting one of the following.
 
 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
 
 EOF