]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mica2dot/.platform
Added functionality for setting the TOS scheduler via flag to ncc. Updated .platform...
[tinyos-2.x.git] / tos / platforms / mica2dot / .platform
index 7d4b0ec48fc93781c9d41b77c6a32d323eb63c26..b894fc2f1f016db9450dcac6492a206e73c1e062 100644 (file)
@@ -37,9 +37,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;