Fixed the blink test.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 10 May 2010 00:27:29 +0000 (00:27 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 10 May 2010 00:27:29 +0000 (00:27 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@489 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/tests/blink/Makefile

index 74ecfdd..0c6ffc1 100644 (file)
@@ -1,29 +1,25 @@
 
 PORT=/dev/ttyUSB0
 
 PORT=/dev/ttyUSB0
-BSL=tos-bsl --invert-reset --invert-test -c $(PORT)
+BSL=goodfet.bsl
 
 #Default to 2001 with least resources.
 
 #mcu=msp430x1611
 #mcu=msp430x2618
 
 #Default to 2001 with least resources.
 
 #mcu=msp430x1611
 #mcu=msp430x2618
-mcu?=msp430x2001
+mcu=msp430x2001
 
 #GCCINC=-T ../../ldscripts/161x.x
 CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
 
 
 #GCCINC=-T ../../ldscripts/161x.x
 CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
 
-
-
-
 app=blink
 
 all: $(app).hex
 $(app).hex: $(app)
        msp430-objcopy $(app) -O ihex $(app).hex
 app=blink
 
 all: $(app).hex
 $(app).hex: $(app)
        msp430-objcopy $(app) -O ihex $(app).hex
-install: $(app)
-       $(BSL) -e -p $(app) 
-       #$(BSL) -P $(app) -g 0x2500
-       $(BSL) -P $(app) -r
+install: $(app).hex
+       $(BSL) -e -p $(app).hex 
+       $(BSL) -P $(app).hex -r
 erase:
        $(BSL) -e 
 clean:
 erase:
        $(BSL) -e 
 clean:
-       rm $(app)
+       rm -f $(app) $(app).hex