6 #For tos-bsl, use --invert-reset --invert-test
7 BSL=goodfet.bsl -c $(GOODFET) --speed=38400
14 #N.B., gcc WILL NOT BITCH if this file doesn't exist.
15 #GCCINC=-T ldscripts/161x.x
16 GCCINC=-T ldscripts/$(mcu).x
19 CC=msp430-gcc -Wall -Os -g -mmcu=$(mcu) -DGCC $(GCCINC) -I include $(CCEXTRA)
21 #Define extra modules here.
24 apps= $(moreapps) apps/monitor/monitor.o apps/spi/spi.o apps/i2c/i2c.o apps/chipcon/chipcon.o apps/jtag/jtag.o apps/jtag/jtag430.o apps/jtag/jtag430x2.o apps/avr/avr.o
25 libs= lib/$(mcu).o lib/command.o apps/jtag/jtag430asm.o
33 ../client/goodfet.msp430 test
37 ls info.txt && $(BSL) -p info.txt || true #MSP430F2xx targets only, inelegant.
40 $(BSL) -P $(app).hex -v $(app).hex
43 $(app): $(app).c $(libs) $(apps)
45 msp430-objcopy goodfet -O ihex goodfet.hex
47 msp430-objdump -D -m msp430 $(app).hex | m4s init
51 rm -f $(app) $(app).hex $(libs) $(apps)
55 rsync --exclude .svn -ave ssh doc/html/* travisutk,goodfet@web.sourceforge.net:htdocs/docs/