Make install now doesn't erase the chip, make reinstall does.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sat, 24 Nov 2012 20:03:34 +0000 (20:03 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sat, 24 Nov 2012 20:03:34 +0000 (20:03 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1350 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/Makefile

index bc24bc3..2d87705 100644 (file)
@@ -327,6 +327,10 @@ erase:
        $(JTAG) -e $(app).hex
 else
 install: $(app).hex
+       #Note that 'make install' no longer erases the chip.
+       #Use 'make reinstall' if you want that.
+       $(MSP430BSL) -p $(app).hex
+reinstall: $(app).hex
        $(MSP430BSL) -e -p $(app).hex
 installinfo:
        $(MSP430BSL) -P $(app).hex -p info.txt || true  #MSP430F2xx targets only, inelegant.