Beginning proper includes; compiles for both 1611 and 16112.
[goodfet] / firmware / tests / blink / 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=blink
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)