]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/tosboot.extra
Added DelugeT2 support for the tinynode platform.
[tinyos-2.x.git] / support / make / tosboot.extra
index 125972677e9144df9640ad8dcb5c1a84752d1547..ddb928c01f387642c8e30dab41734d31b24a713a 100644 (file)
@@ -45,5 +45,14 @@ ifeq ($(BOOTLOADER),tosboot)
     AVR_FUSE_H ?= 0xda
   endif
 
+   ifeq ($(TARGETS),tinynode)
+               CFLAGS += -I$(DELUGE_EXTRA)/tinynode
+               CFLAGS += -I$(DELUGE_EXTRA) -I$(DELUGE_EXTRA)/msp430 -I$(DELUGE_EXTRA)/msp430f1611 
+     ifeq ($(filter docs,$(GOALS)),)
+                       CFLAGS += -Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000
+     endif
+               BOOTLOADER_IMG ?= $(TOSBOOT_DIR)/tinynode/main.ihex
+   endif
+
 
 endif