[Tinyos-help] eclipse plugin make on rene2
Sören Rinne
soeren.rinne at rub.de
Fri Aug 18 03:37:52 PDT 2006
I created a rene2.target in tools/make an I modified the
tools/make/all.target, so make rene2 will now compile. But when I try to
compile the Blink example, I got this error:
compiling Blink to a rene2 binary
> ncc -o build/rene2/main.exe -Os -finline-limit=100000 -Wall -Wshadow
> -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=rene2
> -fnesc-cfile=build/rene2/app.c -board=none -DIDENT_PROGRAM_NAME=\"Blink\"
> -DIDENT_USER_ID=\"Sören\" -DIDENT_HOSTNAME=\"p45\"
> -DIDENT_USER_HASH=0x11e34428L -DIDENT_UNIX_TIME=0x44e59815L
> -DIDENT_UID_HASH=0x7873ce25L Blink.nc -lm
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:46: `Clock.setRate': async mismatch
> with declaration
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/interfaces/Clock.nc:96: previous declaration of `Clock.setRate'
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:62: `Clock.fire': async mismatch with
> declaration
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/interfaces/Clock.nc:180: previous declaration of `Clock.fire'
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.setCounter' not implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.intEnable' not implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.setNextScale' not
> implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.setInterval' not implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.setIntervalAndScale' not
> implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.getScale' not implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.readCounter' not implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.setNextInterval' not
> implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.getInterval' not implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/platform/rene2/HPLClock.nc:44: `Clock.intDisable' not implemented
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/system/ClockC.nc:54: no match
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/system/TimerC.nc:57: component HPLPowerManagementM not found
> c:/Programme/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-
> 1.x/tos/system/TimerC.nc:61: no match
> make: *** [exe0] Error 1
Whats wrong with it?
I copied the mica2.target to rene2.target, replaced any appearance of mica2
with rene2 and finally modified -dpart=ATmega128 to ATmega163.
My question is now, if there is anybody with a better rene2.target file than
my copied and modified version. Or maybe better platform files?
/Soeren
2006/8/18, Simon Willis <simon.willis at jcu.edu.au>:
>
> I have the same problem in Eclipse. I have altered the make environment
> for my own node using a similar process to you, except I didn't copy my
> .target file into the tools/make directory. I just set the TOSMAKE_PATH
> variable to contain the location of my own make directory in the contrib
> directory.
>
> make works fine from the shell, but not with Eclipse. I suspect that the
> Eclipse plugin might be using the old make environment instead of the
> new one.
>
> Simon
>
> Firat TARAKTAS wrote:
> > 1. have you created a rene2.target file in tools/make?
> > 2. Modify tools/make/all.target file as PLATFORMS ?= mica mica2
> > mica2dot telos telosb micaz pc rene2?
> > I wish they can solve
> > ___________________________________________________
> > *F?rat TARAKTAS,** *
> >
> > *GENETLAB BI.LGI. TEKNOLOJI.LERI. A.S,.*
> > Kay?s,dag(? Caddesi Kar Plaza D Blok Kat:3 34752
> > I.çerenköy / I.stanbul
> >
> > Tel: +90 (216) 573 00 85 | 354
> > Fax:+90 (216) 469 85 07
> >
> > *firat.taraktas at genetlab.com* <mailto:firat.taraktas at genetlab.com>
> > *www.genetlab.com
> > * * * <http://www.genetlab.com/>
> >
> > ----- Original Message -----
> >
> > *From:* Sören Rinne <mailto:soeren.rinne at rub.de>
> > *To:* tinyos-help at Millennium.Berkeley.EDU
> > <mailto:tinyos-help at Millennium.Berkeley.EDU>
> > *Sent:* Thursday, August 17, 2006 2:16 PM
> > *Subject:* [Tinyos-help] eclipse plugin make on rene2
> >
> > Hi,
> >
> > can anybody tell me, why "make" won't work for target "rene2" in
> > the eclipse plugin? There is a folder called "rene2" in
> > "tos\platform", but ...?
> >
> > cheers
> > Soeren
> >
> >
> ------------------------------------------------------------------------
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at Millennium.Berkeley.EDU
> > <mailto:Tinyos-help at Millennium.Berkeley.EDU>
> >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at Millennium.Berkeley.EDU
> >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060818/d9e72954/attachment.html
More information about the Tinyos-help
mailing list