X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Ftests%2Fblink%2FMakefile;h=0c6ffc1fd882bc4e7a6ee2378003b5fc3e7e1ab9;hp=f8131f7b85e213896b197f7c44cef5a3a6556f86;hb=a3dbd267c9f9a20853ccbf64011ce3e185182106;hpb=c5a56b2284ba0cd554cb44ed221eb91489607b9e diff --git a/firmware/tests/blink/Makefile b/firmware/tests/blink/Makefile index f8131f7..0c6ffc1 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=msp430x2618 +#mcu=msp430x2618 +mcu=msp430x2001 #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