X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Ftests%2Fecho%2FMakefile;fp=firmware%2Ftests%2Fecho%2FMakefile;h=a8b398bb673c5321916213234dce66b6a8862795;hp=0000000000000000000000000000000000000000;hb=bb855f2f31e89ae9bbe5d953fe431b9d3c35e929;hpb=17144f7f16d00c83d31528fd07cd65583f208d50 diff --git a/firmware/tests/echo/Makefile b/firmware/tests/echo/Makefile new file mode 100644 index 0000000..a8b398b --- /dev/null +++ b/firmware/tests/echo/Makefile @@ -0,0 +1,21 @@ + +PORT=/dev/ttyUSB0 +BSL=tos-bsl --invert-reset --invert-test -c $(PORT) + +#mcu=msp430x1611 +mcu=msp430x1612 + +GCCINC=-T ../../ldscripts/161x.x +CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include + + +app=echo + +install: $(app) + $(BSL) -e -p $(app) + #$(BSL) -P $(app) -g 0x2500 + $(BSL) -P $(app) -r +erase: + $(BSL) -e +clean: + rm $(app)