]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
added CIL_MACHINE for safe tinyos support
authorsallai <sallai>
Tue, 17 Jun 2008 18:21:08 +0000 (18:21 +0000)
committersallai <sallai>
Tue, 17 Jun 2008 18:21:08 +0000 (18:21 +0000)
tos/platforms/iris/.platform

index 90c013aa5a6f1602191b7e9bba9f6f601e589870..c53996f18ac37051826b73a09084b7a0ed28f237 100644 (file)
@@ -47,3 +47,28 @@ push( @includes, qw(
 push @opts, "-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask" if !$with_scheduler_flag;
 push @opts, "-mingw-gcc" if $cygwin;
 
+$ENV{'CIL_MACHINE'} =
+    "version_major=3 " .
+    "version_minor=4 " .
+    "version=avr-3.4.3 " .
+    "short=2,1, " .
+    "int=2,1 " .
+    "long=4,1 " .
+    "long_long=8,1 " .
+    "pointer=2,1 " .
+    "enum=2,1 " .
+    "float=4,1 " .
+    "double=4,1 " .
+    "long_double=4,1 " .
+    "void=1,1 " .
+    "fun=1,1 " .
+    "wchar_size_size=2,2 " .
+    "alignof_string=1 " .
+    "max_alignment=1 " .
+    "char_wchar_signed=true,true " .
+    "const_string_literals=true " .
+    "big_endian=false " .
+    "underscore_name=false " .
+    "__builtin_va_list=true " .
+    "__thread_is_keyword=true";
+    
\ No newline at end of file