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