]> 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 cfe7022f00c4ac00b2799b484ede950e3c38b75e..8b52498be794fdc494b12a64c8185f00c720b19f 100644 (file)
@@ -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;