7 #For tos-bsl, use --invert-reset --invert-test
8 BSL=goodfet.bsl -c $(GOODFET) --speed=38400
15 #N.B., gcc WILL NOT BITCH if this file doesn't exist.
16 #GCCINC=-T ldscripts/161x.x
17 GCCINC=-T ldscripts/$(mcu).x
20 CC=msp430-gcc -Wall -g -mmcu=$(mcu) -DGCC $(GCCINC) -I include $(CCEXTRA)
22 #Define extra modules here.
25 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
26 libs= lib/$(mcu).o lib/command.o apps/jtag/jtag430asm.o
34 ../client/goodfet.msp430 test
38 ls info.txt && $(BSL) -p info.txt || true #MSP430F2xx targets only, inelegant.
41 $(BSL) -P $(app).hex -v $(app).hex
44 $(app): $(app).c $(libs) $(apps)
46 msp430-objcopy goodfet -O ihex goodfet.hex
48 msp430-objdump -D -m msp430 $(app).hex | m4s init
52 rm -f $(app) $(app).hex $(libs) $(apps)
56 rsync --exclude .svn -ave ssh doc/html/* travisutk,goodfet@web.sourceforge.net:htdocs/docs/