[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/btnode3 .platform, 1.6, 1.7

Kevin Klues klueska at users.sourceforge.net
Thu Jan 17 15:19:01 PST 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/btnode3
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26868/tos/platforms/btnode3

Modified Files:
	.platform 
Log Message:
Added functionality for setting the TOS scheduler via flag to ncc. Updated .platform files to be backwards compatible, but by default no longer explicitly set the -fnesc-scheduler-flag unless using an older version of ncc

Index: .platform
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/btnode3/.platform,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** .platform	30 Jul 2007 17:48:49 -0000	1.6
--- .platform	17 Jan 2008 23:18:59 -0000	1.7
***************
*** 41,47 ****
    -fnesc-target=avr
    -fnesc-no-debug
-   -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask
  );
  
  push @opts, "-mingw-gcc" if $cygwin;
  
--- 41,47 ----
    -fnesc-target=avr
    -fnesc-no-debug
  );
  
+ push @opts, "-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask" if !$with_scheduler_flag;
  push @opts, "-mingw-gcc" if $cygwin;
  



More information about the Tinyos-2-commits mailing list