]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mica2/.platform
Added functionality for setting the TOS scheduler via flag to ncc. Updated .platform...
[tinyos-2.x.git] / tos / platforms / mica2 / .platform
index 6c5536ec28e91344edea3ef72c4e08d28932cfc7..8b52498be794fdc494b12a64c8185f00c720b19f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# FILE: micaz/.platform
+# FILE: mica2/.platform
 # 
 # Includes that should take precedence come first.  Platforms come before
 # chips because they may override files.  These must be specified as
@@ -12,7 +12,7 @@ push( @includes, qw(
 
   %T/platforms/mica
   %T/platforms/mica2/chips/cc1000
-  %T/chips/cc1000_lpl
+  %T/chips/cc1000
   %T/platforms/mica2/chips/at45db
   %T/platforms/mica/chips/at45db
   %T/chips/at45db
@@ -34,9 +34,9 @@ push( @includes, qw(
   -mmcu=atmega128
   -fnesc-target=avr
   -fnesc-no-debug
-  -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask
 
 );
 
+push @opts, "-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask" if !$with_scheduler_flag;
 push @opts, "-mingw-gcc" if $cygwin;