![]() |
Eclipse Development
I'm starting work on an all-out development environment in Eclipse. Anything you can do in mplab, Eclipse will do, but better. ;)
I've already written an error parser and toolchain handler, and I've started on the binary parser, a loader, and syntax highlighting extras. I've done enhanced wrapper scripts for mcc18 (no more "c:\mcc18\..."). My question is: How many people (adults and students) would be willing to help maintain it? The highlighting code especially will need to be kept real close to the CDT code, until they figure out how to extend it. The FDT (FIRST Development Toolkit) will take the form of a feature patch of the CDT. Most of the functionality is implemented as plugins. The exception is the actual highlighter, which is a fragment against org.eclipse.cdt.core. So I'm gaging interest to see if it would be worth my while or if it will fizzle out and die. Frankly, I'd love to be able to get this to the point where we can stick it in the kit and send it to the 1500 teams that will be around by then. |
Re: Eclipse Development
Sounds like a good project, I'd definitely use it! And if you need help developing it, I'd be more than happy to lend a hand. I don't know very much about the internals of Eclipse, but I'll pick it up quick.
|
Re: Eclipse Development
Hey, well, I like what you're talking about, and it shouldn't be too difficult. I was just curious on how you would write the binary parsers, since as far as I know, Microchip does not provide any information on the .lib format created by MPLINK. I'd certainly be willing to help though.
A few other questions too. By loader, do you mean code loader (i.e, loading a hex file onto the robot). And just out of curiosity, (since I've been working on error parsers as well), did you actually give the CDT a string to highlight for variable specific errors, or did you just leave it at the line. If anyone's interested in an example of what this might look like, you can install a bare-bones version of what Astronouth is suggesting from the update site at http://team254.bcp.org/update_site/. |
Re: Eclipse Development
Quote:
Quote:
Quote:
Quote:
|
Re: Eclipse Development
Quote:
Quote:
Quote:
|
Re: Eclipse Development
I've got it online!
See the Subversion repository (svn). There is also an Update site for Eclipse 3.2. I just don't recomend any installing it as-is, since there is little real functionality. (I've been working on setting up basic infrastructure!) |
Re: Eclipse Development
sounds awsome
i would probably defiently use it if it works perfectly now, we just need to all hope that ifi doesnt radically change the RC lol |
Re: Eclipse Development
One thing I forgot to mention. My enhanced MCC18 wrappers are in subversion. I just have to figure out how to package them.
Quote:
Even if it doesn't, it'd still work a lot better than MPLAB and IFI Loader. (I can't do much about MCC18.) |
Re: Eclipse Development
this post has intrigued me, but 2 questions. what is eclipse and why should I use it?(I can guess its a IDE/compiler of some sort but to me all compilers kinda look the same. what makes this "better" is the real question Im asking)
|
Re: Eclipse Development
Quote:
The goal is to have a complete code development system all installable from 1 CD. MPLab has no Linux version so you can instead use a modified version of Eclipse. Now that I think of it. Including instructions on how to set up a Subversion server in the final release might be helpful to some teams. |
Re: Eclipse Development
Quote:
The reasons, you can't just use Eclipse CDT right away are as follows:
Problems 2 & 4 are already fixed thanks to a plug-in I initially wrote. 2 has been fixed for a while. 4 was partially working for a while, then broke, and should be working now. The other 2 are not working yet, but are not a very big deal. By innappropriate syntax highlighting, the only thing I can think of, is that certain keywords, such as "rom" & "ram" that are specific to the C18 version of C, aren't highlighted. Most people don't use 5 anyway (I never have). Now why should you use Eclipse:
And it's usable, as chris31 said on Windows and Linux. However, don't be scared off by this fact. If anything, it's more usable on Windows than Linux because there is no hassle with WINE (a sort of windows emulator to get the compiler working) If you want more info see www.eclipse.org Hope I answered your question, Ben |
Re: Eclipse Development
Eclipse is unnecessarily resource hungry, a common drawback to software written in Java. Although Eclipse itself is available for multiple platforms, getting mcc18 to work on Linux is problematic as it relies on Wine, though that is a problem that can be overcome.
http://forum.microchip.com/tm.aspx?m...2&key=𳴥 There is an issue running mcc18 on 64 bit processors. Assuming that these problems are overcome, most of the Linux community already relies heavily on Makefiles because a good majority of Open Source Linux Software is distributed as Source which requires compilation after downloading. Eclipse is indeed resource hungry, and unnecessarily large as a general purpose IDE. You're taking a general purpose IDE and using it for a specific purpose. Most of the Linux community already uses a combination of Makefiles and Emacs for nearly all of their programming needs. Perhaps I should look into creating a pre-customized Emacs for the purpose of working with mcc18. I've created an unfinished but functional Portable IDE-like program written in Perl, as a Test of Concept. If there's a large enough Linux community within the Chief Delphi Programming community, I can adapt this program to run under Linux, so long as they have mcc18 set up. http://www.chiefdelphi.com/forums/sh...threadid=50708 I'm sorry I do not mean to bash anyone's project, I hope it did not seem that way. It's still a great idea, and I would more than love to contribute to its development. Eclipse is also a very versatile IDE, and does have several advantages over using using a few customizations in combination with makefiles. Or some poorly written perhaps unreliable custom IDE. (I suppose I should be allowed to bash my own project) My apologies again. |
Re: Eclipse Development
Quote:
Quote:
There are multiple makefiles around. I use one that updates itself (uses make's variables instead of hard-coded file names). There is a script that will generate one for you. You can also use Eclipse's Managed Make to do it. (Make sure you have the mcc18 toolchain plugin installed.) Quote:
|
Re: Eclipse Development
I'd definitely be interested in helping with the development.
|
Re: Eclipse Development
I just realized that I'm a bit late on that last post, but anyway, if you need any help developing the thing, let me know.
|
| All times are GMT -5. The time now is 11:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi