]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/bnp.extra
Rename the TOSBoot to tosboot.
[tinyos-2.x.git] / support / make / bnp.extra
index bf0cdbb89d4e6c78459ab5fe6edc988f3c828ad9..fbd40f48af2375a1cf824206e4ec4dc8da0e725e 100644 (file)
@@ -3,7 +3,7 @@
 
 DELUGE_DIR ?= $(TOSDIR)/lib/net/Deluge
 DELUGE_EXTRA ?= $(DELUGE_DIR)/extra
-TOSBOOT_DIR ?= $(TOSDIR)/lib/TOSBoot/build
+TOSBOOT_DIR ?= $(TOSDIR)/lib/tosboot/build
 
 ifeq ($(TINYOS_NP),BNP)
 
@@ -21,4 +21,10 @@ ifeq ($(TINYOS_NP),BNP)
     endif
   endif
 
+  ifeq ($(TARGETS),micaz)
+    CFLAGS += -I$(DELUGE_EXTRA) -I$(DELUGE_EXTRA)/avr -I$(DELUGE_EXTRA)/micaz -I$(DELUGE_EXTRA)/mica2
+    BOOTLOADER ?= $(TOSBOOT_DIR)/micaz/main.ihex
+    AVR_FUSE_H ?= 0xda
+  endif
+
 endif