From a3dbd267c9f9a20853ccbf64011ce3e185182106 Mon Sep 17 00:00:00 2001 From: travisutk Date: Mon, 10 May 2010 00:27:29 +0000 Subject: [PATCH] Fixed the blink test. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@489 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- firmware/tests/blink/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/firmware/tests/blink/Makefile b/firmware/tests/blink/Makefile index 74ecfdd..0c6ffc1 100644 --- a/firmware/tests/blink/Makefile +++ b/firmware/tests/blink/Makefile @@ -1,29 +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?=msp430x2001 +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 -- 2.20.1