[Tinyos-devel] about Msp430Uart0C.nc

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Tue Jan 9 08:30:33 PST 2007


Hi!

On Tue, 9 Jan 2007, Vlado Handziski wrote:

> Can you send more info about the errors you are seeing?

Here is the error:

 	$ make telosb
 	mkdir -p build/telosb
 	    compiling SerialTestApp to a telosb binary
 	ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=   SerialTestApp.nc -lm
 	In file included from SerialTestC.nc:9,
 	                 from SerialTestApp.nc:5:
 	In component `Msp430Uart0C':
 	/home/tinyos2/local/src/tinyos-2.x/tos/chips/msp430/usart/Msp430Uart0C.nc:46: interface Msp430UartControl not found
 	/home/tinyos2/local/src/tinyos-2.x/tos/chips/msp430/usart/Msp430Uart0C.nc:61: cannot find `UartControl'
 	make: *** [exe0] Error 1
 	$

I also attached a program that generates the error.

--
Razvan ME

> On 1/4/07, Razvan Musaloiu-E. <razvanm at cs.jhu.edu> wrote:
>> 
>> 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;
>> 
>> _______________________________________________
>> Tinyos-devel mailing list
>> Tinyos-devel at Millennium.Berkeley.EDU
>> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>> 
>> 
>> 
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Msp430Uart0C-bug.tar.gz
Type: application/x-gzip
Size: 989 bytes
Desc: 
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20070109/7dbfc201/Msp430Uart0C-bug.tar.bin


More information about the Tinyos-devel mailing list