projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Beginning proper includes; compiles for both 1611 and 16112.
[goodfet]
/
firmware
/
tests
/
blink
/
Makefile
diff --git
a/firmware/tests/blink/Makefile
b/firmware/tests/blink/Makefile
index
7912810
..
4b176de
100644
(file)
--- a/
firmware/tests/blink/Makefile
+++ b/
firmware/tests/blink/Makefile
@@
-2,12
+2,20
@@
PORT=/dev/ttyUSB0
BSL=tos-bsl --invert-reset --invert-test -c $(PORT)
PORT=/dev/ttyUSB0
BSL=tos-bsl --invert-reset --invert-test -c $(PORT)
-CC=msp430-gcc -g -mmcu=msp430x1611 -DGCC
+#mcu=msp430x1611
+mcu=msp430x1612
+
+GCCINC=-T ../../ldscripts/161x.x
+CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
+
app=blink
install: $(app)
app=blink
install: $(app)
- $(BSL) -e -p $(app)
- $(BSL) -P $(app) -g 0x4000
+ $(BSL) -e -p $(app)
+ #$(BSL) -P $(app) -g 0x2500
+ $(BSL) -P $(app) -r
erase:
$(BSL) -e
erase:
$(BSL) -e
+clean:
+ rm $(app)