[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/tinynode PlatformSerialC.nc, 1.1.2.3, 1.1.2.4

Henri DF henridf at users.sourceforge.net
Mon Oct 30 02:41:10 PST 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	PlatformSerialC.nc 
Log Message:
Keep up to date with changes in serial stack 
(Patch from G. Barrenetxea )


Index: PlatformSerialC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/tinynode/PlatformSerialC.nc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** PlatformSerialC.nc	22 Aug 2006 09:13:11 -0000	1.1.2.3
--- PlatformSerialC.nc	30 Oct 2006 10:41:08 -0000	1.1.2.4
***************
*** 1,12 ****
  configuration PlatformSerialC {
    provides interface StdControl;
!   provides interface SerialByteComm;
  }
  implementation {
!   components new Msp430Uart1C() as UartC, TinyNodeSerialP;
  
    StdControl = TinyNodeSerialP;
-   SerialByteComm = UartC;
-   TinyNodeSerialP.Resource -> UartC.Resource;
    TinyNodeSerialP.Msp430UartConfigure <- UartC.Msp430UartConfigure;
  }
--- 1,15 ----
  configuration PlatformSerialC {
    provides interface StdControl;
!   provides interface UartStream;
  }
+ 
  implementation {
!   components new Msp430Uart1C() as UartC;
!   UartStream = UartC;
  
+   components TinyNodeSerialP;
    StdControl = TinyNodeSerialP;
    TinyNodeSerialP.Msp430UartConfigure <- UartC.Msp430UartConfigure;
+   TinyNodeSerialP.Resource -> UartC.Resource;
  }
+ 



More information about the Tinyos-2-commits mailing list