]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/iris/.platform
Added functionality for setting the TOS scheduler via flag to ncc. Updated .platform...
[tinyos-2.x.git] / tos / platforms / iris / .platform
index 9943593da8f09766a154b3389518a749b339d1cb..fb79ce375fead0f86748a5978ffca9d654411afe 100644 (file)
@@ -40,9 +40,9 @@ push( @includes, qw(
   -mmcu=atmega1281
   -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;