projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
latest updates including GoodFETARM.py "DEPRECATED" message
[goodfet]
/
firmware
/
tests
/
echo
/
Makefile
diff --git
a/firmware/tests/echo/Makefile
b/firmware/tests/echo/Makefile
index
1e5bbe8
..
86e4f2c
100644
(file)
--- a/
firmware/tests/echo/Makefile
+++ b/
firmware/tests/echo/Makefile
@@
-1,22
+1,25
@@
-PORT=/dev/ttyUSB0
-BSL=
tos-bsl --invert-reset --invert-test -c $(PORT)
+
+BSL=
goodfet.bsl
#mcu=msp430x1611
#mcu=msp430x1611
-mcu
=msp430x1612
+mcu
?=msp430x2618
#ldscript is wonky
#ldscript is wonky
-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
-libs=../../lib/
msp430f1612
.c
+libs=../../lib/
$(mcu)
.c
app=echo
install: $(app)
app=echo
install: $(app)
- $(BSL) -e -p $(app)
- $(BSL) -P $(app) -r
+ $(BSL) -e -p $(app).hex
+ $(BSL) -P $(app).hex -r
+all: $(app).hex
$(app): $(app).c $(libs)
$(app): $(app).c $(libs)
+$(app).hex: $(app)
+ msp430-objcopy -O ihex $(app) $(app).hex
erase:
$(BSL) -e
clean:
erase:
$(BSL) -e
clean: