a8b398bb673c5321916213234dce66b6a8862795
[goodfet] / firmware / tests / echo / Makefile
1
2 PORT=/dev/ttyUSB0
3 BSL=tos-bsl --invert-reset --invert-test -c $(PORT)
4
5 #mcu=msp430x1611
6 mcu=msp430x1612
7
8 GCCINC=-T ../../ldscripts/161x.x
9 CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
10
11
12 app=echo
13
14 install: $(app)
15         $(BSL) -e -p $(app) 
16         #$(BSL) -P $(app) -g 0x2500
17         $(BSL) -P $(app) -r
18 erase:
19         $(BSL) -e 
20 clean:
21         rm $(app)