[Tinyos-devel] about Msp430Uart0C.nc
Razvan Musaloiu-E.
razvanm at cs.jhu.edu
Thu Jan 4 11:54:27 PST 2007
Hi!
I'm trying to use the UART0RX/UART0TX from the 10-pin expansion connector
from Telos and in order to be able to compile my application I had to
remove the following two lines from Msp430Uart0C.nc. My application use
the UartStream interface offered by this component and seems to work fine
without those two lines.
Could someone comment on this? :-)
Thank you!
Razvan ME
Index: Msp430Uart0C.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/usart/Msp430Uart0C.nc,v
retrieving revision 1.4
diff -u -r1.4 Msp430Uart0C.nc
--- Msp430Uart0C.nc 12 Dec 2006 18:23:11 -0000 1.4
+++ Msp430Uart0C.nc 4 Jan 2007 19:47:17 -0000
@@ -43,7 +43,7 @@
provides interface Resource;
provides interface UartStream;
provides interface UartByte;
- provides interface Msp430UartControl as UartControl;
+// provides interface Msp430UartControl as UartControl;
uses interface Msp430UartConfigure;
}
@@ -58,7 +58,7 @@
Resource = UartP.Resource[ CLIENT_ID ];
UartStream = UartP.UartStream;
UartByte = UartP.UartByte;
- UartControl = UartP.UartControl[ CLIENT_ID ];
+// UartControl = UartP.UartControl[ CLIENT_ID ];
Msp430UartConfigure = UartP.Msp430UartConfigure[ CLIENT_ID ];
components new Msp430Usart0C() as UsartC;
More information about the Tinyos-devel
mailing list