]> 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 1dcd46aa00636dc9cfc9d83d06700fc763829c25..3399b0eae127eca4bbda581cf7b8893ebe49fb25 100644 (file)
@@ -86,6 +86,15 @@ ifeq ($(MAKECMDGOALS),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