Sorry, minor typo in my message, change TOSMAKE_DIR to TOSMAKE_PATH:
export TOSMAKE_PATH=$TOSDIR/../contrib/moteiv/tools/make
On 12/6/05,
Joe Polastre <[EMAIL PROTECTED]> wrote:
Follow the instructions that have been posted to this mailing list:
To use Moteiv libraries for Tmote Sky:
1) Set your TOSMAKE_DIR to point to
tinyos-1.x/contrib/moteiv/tools/make
with the command:
export TOSMAKE_DIR=$TOSDIR/../contrib/moteiv/tools/make
2) Compile your applications with 'make tmote' instead of 'make telosb'
This will pull in the Moteiv code that is being removed from the main tree.
-Joe
On 7 Dec 2005 07:46:06 -0000, VMD Jagannath <
[EMAIL PROTECTED]> wrote:
Thanks Joe
Sorry for troubling again.
But it is still not working, here is a screen shot
mkdir -p build/telosb
compiling TestADC12DMAC to a telosb binary
ncc -o build/telosb/main.exe -O -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000 -DIDENT_PROGRAM_NAME
=\"TestADC12DMAC\" -DIDENT_USER_ID=\"jagan\" -DIDENT_HOSTNAME=\"iitk-jagan\"
-DIDENT_USER_HASH=0x233116baL -DIDENT_UNIX_TIME=0x43969129L -DIDENT_UID_HASH=0x935b0ec9L
-mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio TestADC12DMAC.nc -lm
TestADC12DMAM.nc: In function `DMA0.transferDone':
TestADC12DMAM.nc:89: interface has no command or event named `pauseSampling'
TestADC12DMAM.nc:93: interface has no command or event named `resumeSampling'
TestADC12DMAM.nc: In function `start_sampling':
TestADC12DMAM.nc:106: interface has no command or event named `init'
TestADC12DMAM.nc:107: interface has no command or event named `setFlags'
TestADC12DMAM.nc:120: interface has no command or event named `startSampling'
TestADC12DMAC.nc: At top level:
TestADC12DMAC.nc:21: cannot find `MSP430DMA'
TestADC12DMAC.nc:22: no match
make: *** [exe0] Error 1
And I think it is OK the interface doesnt have any commands/events like
'init' or 'setFlags' or 'startSampling'
I have copied the interface MSP430DMA both at
tinyos-1.x\contrib\moteiv\tos\platform\msp430\dma
and
opt\tinyos-1.x\tos\platform\msp430
does the make file search at any other place
why is it still throwing an error cannot find 'MSP430DMA'
TIA
On Wed, 07 Dec 2005 Joe Polastre wrote :
>Download from CVS, the files are under tinyos-1.x/contrib/moteiv/
>
>The rate is the number of ticks of a 1MHz clock per sample. Thus 125 is the
>number of ticks of that clock per sample for an 8khz signal
>(125/1000000=125us. 125us*8khz=1second=8khz samples). Fairly simple.
>
>-Joe
>
>On 7 Dec 2005 05:34:57 -0000, VMD Jagannath <[EMAIL PROTECTED]>
>wrote:
> >
> >
> > Hi joe,
> > I have the following doubts, kindly help me. I have followed ur link and
> > was trying to understand
> > TestADC12DMAM.nc. It uses an interface msp430DMA as DMA0. Surprisingly I
> > could neither find this interface on my PC ( tinyos ver 1.14) nor on the
> > CVS repository. Is it a bug which has to be fixed?
> > Even the application is not getting compiled. It is giving the same error
> > i.e couldnt find interface MSP430DMA.
> >
> > One more thing.In TestADC12DMAM.nc u have written these lines
> >
> > implementation {
> >
> > enum {
> > RATE_8_000_HZ = 125
> > };
> >
> > it means u have set teh sampling freq to 8KHZ, now if I want to change
> > this to any other value, how will I know what value should I give to this
> > enum constant. Suppose if I want to set it to 5000 HZ what should i
> > initialize this value to.
> >
> > On Mon, 05 Dec 2005 Joe Polastre wrote :
> > >See:
> > >
> > >
> > http://cvs.sourceforge.net/viewcvs.py/tinyos/tinyos-1.x/contrib/moteiv/apps/TestMSP430DMA/
> > >
> > >Specifically, TestADC12DMA*.nc
> > >
> > >-Joe
> > >
> > >On 5 Dec 2005 11:10:56 -0000, VMD Jagannath <[EMAIL PROTECTED]>
> > >wrote:
> > > >
> > > >
> > > > Hi all,
> > > > I need to sample an analog signal at 5Khz in my application.
> > > > I am using tmotes with an external vibrations sensor.I have heard that
> > I
> > > > can change some DCO settings in msp430. But I dont know how to do
> > it.Cananybody throw some light.
> > > >
> > > >
> > > > TIA
> > > > Jagan
> > > >
> > > >
> > > > <
> > http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/[EMAIL PROTECTED]
> > >
> > > > _______________________________________________
> > > > Tinyos-help mailing list
> > > > [email protected]
> > > >
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > > >
> > > >
> > > >
> >
> >
> > <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/[EMAIL PROTECTED]
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help