]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosboot/Makefile
tosboot support for the iris mote
[tinyos-2.x.git] / tos / lib / tosboot / Makefile
index 56924184c88eb2dae9743d29d4636c01a410a8d9..0459d0f6c0883dd2cf83224650a88c62e4a64c0b 100644 (file)
@@ -3,19 +3,19 @@
 #                                                                      tab:2
 #
 #
-# "Copyright (c) 2000-2005 The Regents of the University  of California.  
+# "Copyright (c) 2000-2005 The Regents of the University  of California.
 # All rights reserved.
 #
 # Permission to use, copy, modify, and distribute this software and its
 # documentation for any purpose, without fee, and without written agreement is
 # hereby granted, provided that the above copyright notice, the following
 # two paragraphs and the author appear in all copies of this software.
-# 
+#
 # IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
 # OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
 # CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 
+#
 # THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
 # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 # AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
@@ -52,6 +52,13 @@ ifeq ($(MAKECMDGOALS),micaz)
   CFLAGS += -I../net/Deluge
 endif
 
+ifeq ($(MAKECMDGOALS),iris)
+  CFLAGS += -DTOSBOOT_START=0x1f000 -DTOSBOOT_END=0x20000
+  CFLAGS += -Wl,--section-start=.text=0x1f000
+  CFLAGS += -Iiris -Iat45db -Iavr -Imicaz -Ilib
+  CFLAGS += -I../net/Deluge
+endif
+
 # ifeq ($(MAKECMDGOALS),telosa)
 #   CFLAGS += -DTOSBOOT_START=0x1100 -DTOSBOOT_END=0x1a00
 #   CFLAGS += -Iat45db -Imsp430 -Itelos -Ilib