From e64f5c70e7553d2d37572f3efc766b13ce8a14b9 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Wed, 4 Apr 2012 00:04:52 +0200 Subject: digital/beacon: DEV2 flashing port selectable via $(DEV2) --- digital/beacon/src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'digital/beacon/src') diff --git a/digital/beacon/src/Makefile b/digital/beacon/src/Makefile index 85c4cd26..b7dffc4f 100644 --- a/digital/beacon/src/Makefile +++ b/digital/beacon/src/Makefile @@ -20,6 +20,7 @@ CONFIG_NAME = All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc #CONFIG_NAME = Router_Sec_ZigBit_Atmega1281_Rf230_8Mhz_Gcc NUMBER:= 0 1 2 3 +DEV2 := 0 simu:host python simulator.py @@ -31,8 +32,8 @@ avr: done;\ flash: + ../../dev2/tools/dev2ctl.py -s $(DEV2) avrdude -c stk500v2 -P /dev/ttyUSB1 -p atmega1281 -B3 -U flash:w:obj/beacon_$(TARGET).hex - ../../dev2/tools/dev2ctl.py -s 1 clean: for count in $(NUMBER); do\ -- cgit v1.2.3