projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed deprecated MSP430 flash test.
[goodfet]
/
firmware
/
tests
/
blink
/
Makefile
diff --git
a/firmware/tests/blink/Makefile
b/firmware/tests/blink/Makefile
index
4b176de
..
74ecfdd
100644
(file)
--- a/
firmware/tests/blink/Makefile
+++ b/
firmware/tests/blink/Makefile
@@
-2,15
+2,23
@@
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
+
#
GCCINC=-T ../../ldscripts/161x.x
CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
+
+
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
install: $(app)
$(BSL) -e -p $(app)
#$(BSL) -P $(app) -g 0x2500