Ohoh, since I don't use T2 and am only cargo-cult enabled with the config
files I should keep my trap shut...if you can find the file of interest
in some directory with a telos or msp name, I'd go with the subtle syntax
error explanation. Here's a use example I have from T1-Boomerang:
config file:
configuration PanTiltC
{
}
implementation
{
components Main;
components PanTiltP;
components new TimerMilliC();
components LedsC, MSP430GeneralIOM;
Main.StdControl -> PanTiltP;
// UserButton for testing
PanTiltP.Port1 -> MSP430GeneralIOM.Port27;
// ...
}
code file:
module PanTiltP
{
provides interface StdControl;
uses interface Timer2<TMilli> as Timer;
uses interface Leds;
// the IO pins
uses interface MSP430GeneralIO as Port1; // PORT27
// ...
}
Jim Fell wrote:
> Hello Michael,
>
> No, unfortunately it doesn't seem to work, but I think I'm making
> progress. Now when I "make telosb mote" in Cygwin I get the following
> error:
>
> In component `CC2420TransmitC':
> /opt/tinyos-2.x/tos/chips/cc2420/transmit/CC2420TransmitC.nc:82: cannot
> find `Hp
> lMsp430GeneralIOP'
> make: *** [exe0] Error 1
>
> Do you have any suggestions as to what I need to do to get it to find
> this module?
>
> Thanks,
>
> -Jim
>
>
>
>
> -----Original Message-----
> From: Michael Schippling [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 09, 2008 7:31 PM
> To: Jim Fell
> Cc: Tinyos-Help
> Subject: Re: [Tinyos-help] nesC Q
>
> That looks reasonable. Does it not work?
> MS
>
> Jim Fell wrote:
>> Hello. The last email I sent out got mangled by Outlook. I apologize
>
>> for the inconvenience. I'm new to TinyOS and nesC, and I'm trying to
>
>> add some debug pulses to the stack, so that I can characterize the
>> processing overhead for a packet to be received and retransmitted.
>>
>>
>>
>> Can I do something like this in the CC2420TransmitP module?
>>
>>
>>
>> implementation {
>>
>> ...
>>
>> uses GeneralIO as Twiddle -> GeneralIO.P23;
>>
>> ...
>>
>> command error_t StdControl.stop() {
>>
>> atomic {
>>
>> m_state = S_STOPPED;
>>
>> call BackoffTimer.stop();
>>
>> call CaptureSFD.disable();
>>
>> call SpiResource.release(); // REMOVE
>>
>> call CSN.set();
>>
>> }
>>
>> atomic {
>>
>> call Twiddle.set();
>>
>> }
>>
>> return SUCCESS;
>>
>> }
>>
>>
>>
>> Or, any good examples for setting clearing pines would be good. Any
>> suggestions would be appreciated.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> -Jim
>>
>>
>>
> ------------------------------------------------------------------------
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help