[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/mica CounterMicro32C.nc, 1.1.2.4, 1.1.2.5 PlatformSerialC.nc, 1.1.2.7, 1.1.2.8

David Gay idgay at users.sourceforge.net
Mon Oct 30 10:40:49 PST 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	CounterMicro32C.nc PlatformSerialC.nc 
Log Message:
fix mica family serial components - CounterThree may not be at 1MHz.


Index: CounterMicro32C.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica/CounterMicro32C.nc,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** CounterMicro32C.nc	12 Jun 2006 19:11:01 -0000	1.1.2.4
--- CounterMicro32C.nc	30 Oct 2006 18:40:45 -0000	1.1.2.5
***************
*** 27,31 ****
  {
    components CounterThree16C as Counter16, 
!     new TransformCounterC(TMicro, uint32_t, TMicro, uint16_t,
  			  MICA_DIVIDE_THREE_FOR_MICRO_LOG2,
  			  counter_three_overflow_t) as Transform32;
--- 27,31 ----
  {
    components CounterThree16C as Counter16, 
!     new TransformCounterC(TMicro, uint32_t, TThree, uint16_t,
  			  MICA_DIVIDE_THREE_FOR_MICRO_LOG2,
  			  counter_three_overflow_t) as Transform32;

Index: PlatformSerialC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica/PlatformSerialC.nc,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -d -r1.1.2.7 -r1.1.2.8
*** PlatformSerialC.nc	10 Oct 2006 19:18:42 -0000	1.1.2.7
--- PlatformSerialC.nc	30 Oct 2006 18:40:45 -0000	1.1.2.8
***************
*** 50,55 ****
    UartByte = Uart0;
    
!   components CounterThree16C;
!   Uart0.Counter -> CounterThree16C;
    
  }
--- 50,55 ----
    UartByte = Uart0;
    
!   components CounterMicro32C;
!   Uart0.Counter -> CounterMicro32C;
    
  }



More information about the Tinyos-2-commits mailing list