I'm trying to use UartStream to send debug commands to my PC. When I wire up
the component I get the compiler error
In component `TestC.Debug':
/opt/tinyos-2.x/tos/chips/atm128/Atm128UartP.nc: In function
`UartStream.send':
/opt/tinyos-2.x/tos/chips/atm128/Atm128UartP.nc(TestC.Debug):133:
HplUart.txnot connected
/opt/tinyos-2.x/tos/chips/atm128/Atm128UartP.nc: In function
`StdControl.start':
/opt/tinyos-2.x/tos/chips/atm128/Atm128UartP.nc(TestC.Debug):70:
HplUartTxControl.start not connecte
d
/opt/tinyos-2.x/tos/chips/atm128/Atm128UartP.nc(TestC.Debug):71:
HplUartRxControl.start not connecte
d
make: *** [exe0] Error 1
**************************This is how it's wired
up.******************************
#if (DEBUG == TRUE)
TestApp.SendDebug -> Debug;
TestApp.InitDebug -> Debug;
TestApp.ControlDebug -> Debug;
TestApp.ByteDebug -> Debug;
#endif
#if(DEBUG == TRUE)
uses interface UartStream as SendDebug;
uses interface Init as InitDebug;
uses interface StdControl as ControlDebug;
uses interface UartByte as ByteDebug;
#endif
I just upgraded my source tree from 2.x Beta.
Thanks,
Ian
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help