Hello Ramus,

Nescdt was the first TinyOS plug-in I tried.  After linking in "
C:\Program Files\UCB\cygwin\opt\tinyos-2.x\tos" to my project, I added a
new file, main.c:

void main(void)
{
        _NOP();
}

However, the Create and Build options under Project -> Make Target are
greyed out
(http://www.enlightenedcode.net/temp/eclipse_screen_capture.JPG), and if
I click the Make Target button in the Make Targets pane on the right,
nothing happens.  It's as if there is a path error in linking the nescdt
plug-in with the installed tinyos on cygwin.

I'm also working on installing the TinyOS Plug-in for Eclipse from DCG
(http://dcg.ethz.ch/projects/tos_ide/).  Is anyone familiar with this
plug-in?

-Jim


Date: Wed, 30 Jul 2008 21:28:07 +0200
From: Rasmus Ulslev Pedersen <[EMAIL PROTECTED]>
Subject: [Tinyos-help]  TinyOS and Eclipse
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi Jim and MS,

There is perhaps a way to do it: An editor (Eclipse plugin) project
for nesC was started some weeks ago. It was committed to contrib a few
days ago, and it is not tested so much yet... 

But if you go to the contrib index;
http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x-contrib/c
ontrib.html
and look for "nescdt" in the "Tools" column; and then follow the links
you will find the 
page in the TinyOS wiki that describes how to use (and extend (or fix
bugs)) the editor 
(or go directly to the home page
http://docs.tinyos.net/index.php/NESCDT-_An_editor_for_nesC_in_Eclipse).

Good luck, Rasmus

PS: Perhaps drop me a note if you have time to give nescdt a try?

> I have been unsuccessful in repeated attempts to make either
> of the Eclipse TOS plugins work, perhaps due to my inability
> to follow instructions...if anyone has been successful I'd
> love to hear about it.

> However I do use Eclipse with TOS as a big search engine.
> I create an Eclipse Project at the top of the tinyos tree
> and make some sub-search components (I forget what they are
> called, but under Search-File you can select areas to search).
> Unfortunately Eclipse will only allow you to have one Project
> in any directory tree. I haven't found a way to make sub-
> projects for individual apps because TOS seems to insist on
> having it's devel tree tightly integrated.
> MS
> 
>  
> 
Jim Fell wrote:
>>/ Hello.  I?m hoping to develop with TinyOS using Eclipse on a Windows
XP 
/>/> platform.  In installed the recommended MSP430 RPMs from this page:
/>/> 
/>/>  
/>>/ 
/>>/ http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
/>>/ 
/>>/  
/>>/ 
/>>/ Now, in Eclipse I?m unsure as to which directory I should link my 
/>>/ Eclipse TinyOS project to for a proper build.  I currently have it 
/>>/ linked to here:
/>>/ 
/>>/  
/>>/ 
/>>/ C:\Program Files\UCB\cygwin\opt\msp430
/>>/ 
/>>/  
/>/> 
/>/> Is this correct, or is there a better folder?
/>/> 
/>/>  
/>>/ 
/>/> Thanks,
/>/> 
/>/>  
/>>/ 
/>/> *Jim Fell*

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to