I don't beleive you can do what you want to do at least directly.

The way nesc finds files is by following the component name
<component_name>.nc and searching down through the search path.   It then
uses the first one it finds.   This is how shadowing works.

So the only way to execute shadowed code is to pull it and put it into a
different file.

On Sun, May 29, 2011 at 2:04 PM, Peng Du <[email protected]> wrote:

> Hi everyone,
>
> I have a stack under TOSROOT/apps/ , which has its own version of
> components such as CC2420Config. But I would also like to use some
> functions of the original version of CC2420Config. How can I do that?
> I tried adding the "CFLAGS += -I
> $(TOSROOT)/tos/chips/cc2420/interfaces" in the Makefile but it
> generates many error messages.
>
> And input will be appreciated. Thanks very much !
>
> Regards,
>
> Peng
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to