Hi all!I'm using TinyOS on Cygwin with a TmoteSky (TelosB). I want to use the "Timer62500C" component in my application. In the configuration file (named SenseAppC) I've written:
configuration SenseAppC
{
}
implementation {
components SenseC, MainC, LedsC, new Timer62500C() as Timer62k, new
Msp430Adc12ClientAutoRVGC() as Conversor;
SenseC.Timer -> Timer62k;
...
}
And the module "SenseC" :
#include "Timer62500hz.h"
...
module SenseC
{
uses {
interface Timer<T62500hz>;
...
}
}
When I compile the application (make telosb) I get:
SenseC.nc:3:26: error: Timer62500hz.h: No such file or directory
In file included from SenseAppC.nc:9:
In component `SenseC':
SenseC.nc:12: syntax error before `T62500hz'
In file included from SenseAppC.nc:9:
SenseC.nc: In function `Resource.granted':
SenseC.nc:85: `Timer' undeclared (first use in this function)
SenseC.nc:85: (Each undeclared identifier is reported only once
SenseC.nc:85: for each function it appears in.)
SenseC.nc: At top level:
SenseC.nc:137: unknown interface `Timer'
SenseC.nc: In function `Timer.fired':
SenseC.nc:139: interface has no command or event named `Led0Toggle'
In component `SenseAppC':
SenseAppC.nc: At top level:
SenseAppC.nc:9: component Timer62500C not found
SenseAppC.nc:9: component `Timer62500C' is not generic
/opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:68:4:
warning: #warning Accessing TimerA for ADC12
SenseAppC.nc:13: cannot find `Timer' make: *** [exe0] Error 1 What's the problem?? Thanks in advance. -- Jose A. Seville, Spain
<<attachment: jostargal.vcf>>
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
