]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosboot/Makefile
Added DelugeT2 support for the tinynode platform.
[tinyos-2.x.git] / tos / lib / tosboot / Makefile
index cebcf9cb5b3922b9cf3f429f2c7e993bfb0e430b..3399b0eae127eca4bbda581cf7b8893ebe49fb25 100644 (file)
@@ -79,6 +79,22 @@ ifeq ($(MAKECMDGOALS),epic)
   POST_BUILD_EXTRA_DEPS += strip_iv
 endif
 
+ifeq ($(MAKECMDGOALS),mulle)
+  CFLAGS += -DTOSBOOT_START=0xe0000 -DTOSBOOT_END=0xeffff
+  CFLAGS += -Iat45db -Imulle -Im16c62p -Ilib
+  CFLAGS += -I../net/Deluge -I../net/Deluge/extra/mulle
+  CFLAGS += -I../net/Deluge/extra/m16c62p
+endif
+
+ifeq ($(MAKECMDGOALS),tinynode)
+  CFLAGS += -DTOSBOOT_START=0x4000 -DTOSBOOT_END=0x4a00
+  CFLAGS += -Itinynode -Imsp430 -Imsp430f1611 -Iat45db -Ilib
+  CFLAGS += -I../net/Deluge
+  POST_BUILD_EXTRA_DEPS += strip_iv 
+endif
+
+
+
 strip_iv: FORCE
        @echo "    removing interrupt vector from binary"
        msp430-objcopy -j .text -j .data -O ihex $(BUILDDIR)/main.exe $(BUILDDIR)/main.ihex