projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shorted glitch interrupt, TACTL is now disabled post-glitch.
[goodfet]
/
firmware
/
tests
/
blink
/
Makefile
diff --git
a/firmware/tests/blink/Makefile
b/firmware/tests/blink/Makefile
index
422db30
..
74ecfdd
100644
(file)
--- a/
firmware/tests/blink/Makefile
+++ b/
firmware/tests/blink/Makefile
@@
-2,16
+2,28
@@
PORT=/dev/ttyUSB0
BSL=tos-bsl --invert-reset --invert-test -c $(PORT)
PORT=/dev/ttyUSB0
BSL=tos-bsl --invert-reset --invert-test -c $(PORT)
+#Default to 2001 with least resources.
+
#mcu=msp430x1611
#mcu=msp430x1611
-mcu=msp430x1612
+#mcu=msp430x2618
+mcu?=msp430x2001
+
+#GCCINC=-T ../../ldscripts/161x.x
+CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
+
+
-CC=msp430-gcc -g -mmcu=$(mcu) -DGCC
app=blink
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
erase:
$(BSL) -e
install: $(app)
$(BSL) -e -p $(app)
#$(BSL) -P $(app) -g 0x2500
$(BSL) -P $(app) -r
erase:
$(BSL) -e
+clean:
+ rm $(app)