X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Ftests%2Fblink%2FMakefile;h=71a5c9b4f988af7ae35f52e57457502d0c651fe0;hp=85a982854bfdef754e4d7bd2419a906163020913;hb=78b9aa88dbfedd83c38c878d9f423af7da7cd36a;hpb=1aee2758590886e1d1018c840806195a71e12204 diff --git a/firmware/tests/blink/Makefile b/firmware/tests/blink/Makefile index 85a9828..71a5c9b 100644 --- a/firmware/tests/blink/Makefile +++ b/firmware/tests/blink/Makefile @@ -1,26 +1,25 @@ PORT=/dev/ttyUSB0 -BSL=tos-bsl --invert-reset --invert-test -c $(PORT) +BSL=goodfet.bsl + +#Default to 2001 with least resources. #mcu=msp430x1611 -mcu=msp430x1612 +#mcu=msp430x2618 +mcu?=msp430x2001 -GCCINC=-T ../../ldscripts/161x.x +#GCCINC=-T ../../ldscripts/161x.x CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include - - - app=blink all: $(app).hex $(app).hex: $(app) msp430-objcopy $(app) -O ihex $(app).hex -install: $(app) - $(BSL) -e -p $(app) - #$(BSL) -P $(app) -g 0x2500 - $(BSL) -P $(app) -r +install: $(app).hex + $(BSL) -e -p $(app).hex + $(BSL) -P $(app).hex -r erase: $(BSL) -e clean: - rm $(app) + rm -f $(app) $(app).hex