[Tinyos-help] About including new hardware.h file for new platform

Chong Hui Kim chkim at rtcl.kaist.ac.kr
Fri Jun 30 12:20:18 PDT 2006


With the help of Cory, I did compile and download to new platform - telosc.
In order to wirte my own module, I have changed hardware.h
During compiling, however, I got implicit declaration errors.

Below shows my processing step.
1. I copied telosb directory to telosc directory.
2. I copied telosb.target as telosc.target and modified telosc.target according to Cory's comments.
3. I did compile and download Blink example. It worked well.
4. I changed TOSH_ASSIGN_PIN(RED_LED, 5, 4) of hardware.h file in telosc direction to TOSH_ASSIGN_PIN(RED_LED2, 5, 4).
5. I changed Leds related interface, configuration, and module correctly. It worked well for telosb case of new PIN assignment.
But, for telosc, there are errors such as implicit declaration of function `TOSH_SET_RED_LED2_IN_PIN'

In my thought, when I did compile example using "make telosc", hardware.h in telosc directory does not been included but hardware.h in telosb directory.

How can I do? Why hardware.h file in telosc directories does not been included?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060701/54b971eb/attachment.htm


More information about the Tinyos-help mailing list