]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/micaz/sim/.platform
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / platforms / micaz / sim / .platform
index 030ff3c791d328fced76cfcdf1e4d5c821f60bfc..e9de97234bbbd84406bd666c034f7eb06cf03f68 100644 (file)
@@ -20,7 +20,7 @@ push( @includes, qw(
   %T/chips/atm128/pins
   %T/chips/atm128/spi
   %T/chips/atm128/timer
-  %T/lib/adc
+  %T/lib/power
   %T/lib/timer
   %T/lib/serial
 
@@ -28,11 +28,15 @@ push( @includes, qw(
 
 @opts = qw(
 
-  -gcc=gcc
   -fnesc-no-debug
   -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask
 
 );
 
+if (defined($ENV{"GCC"})) {
+  push @opts, "-gcc=$ENV{'GCC'}";
+} else {
+  push @opts, "-gcc=gcc";
+}
 push @opts, "-mingw-gcc" if $cygwin;