From 753e2ab11ad8b253be26c34e175bec8b159b18d2 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Tue, 3 Apr 2012 18:37:44 +0200 Subject: digital/beacon: add APBTeam twi module --- digital/beacon/src/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'digital/beacon/src/Makefile') diff --git a/digital/beacon/src/Makefile b/digital/beacon/src/Makefile index 34cf8bc5..85c4cd26 100644 --- a/digital/beacon/src/Makefile +++ b/digital/beacon/src/Makefile @@ -11,6 +11,7 @@ include $(BASE)/make/Makefile.gen BITCLOUD_PATH = $(PWD)/Bitcloud_stack +APB_AVR_PATH = $(PWD)/../../avr CONFIG_NAME = All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc #CONFIG_NAME = Coordinator_ZigBit_Atmega1281_Rf230_8Mhz_Gcc #CONFIG_NAME = Router_ZigBit_Atmega1281_Rf230_8Mhz_Gcc @@ -26,15 +27,16 @@ simu:host avr: for count in $(NUMBER); do\ $(MAKE) -C makefiles/ -f Makefile_$(CONFIG_NAME) clean BITCLOUD_PATH=$(BITCLOUD_PATH);\ - $(MAKE) -C makefiles/ -f Makefile_$(CONFIG_NAME) all APP_NAME=beacon_$$count BITCLOUD_PATH=$(BITCLOUD_PATH) LOL_NUMBER=$$count;\ + $(MAKE) -C makefiles/ -f Makefile_$(CONFIG_NAME) all APP_NAME=beacon_$$count BITCLOUD_PATH=$(BITCLOUD_PATH) APB_AVR_PATH=$(APB_AVR_PATH) LOL_NUMBER=$$count;\ done;\ flash: 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\ - $(MAKE) -C makefiles/$(PROJECT_NAME) -f Makefile_$(CONFIG_NAME) clean APP_NAME=Beacon_$$count BITCLOUD_PATH=$(BITCLOUD_PATH);\ + $(MAKE) -C makefiles/$(PROJECT_NAME) -f Makefile_$(CONFIG_NAME) clean APP_NAME=beacon_$$count BITCLOUD_PATH=$(BITCLOUD_PATH);\ done;\ -- cgit v1.2.3