<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 27, 2014 at 11:16 PM, Mohammad H. Amir Amjadi <span dir="ltr"><<a href="mailto:m.amjadi@engineer.com" target="_blank">m.amjadi@engineer.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hey guys.<br>
it's a while that I'm working on Ateml AVR chips and the lack of a great IDE<br>
for this kind of stuffs is killing me. There are a number of IDEs out there<br>
for linux, but actually they can't satisfy me and/or other avr programmers.<br>
for example there is a plugin for eclipse but it is not enough as it doesn't<br>
provide code generator and also (as you know) java sucks in so many aspects<br>
(slow performance, ugly interface which is not native and high resource<br>
usage).<br>
So I was thinking about a new IDE for avr-gcc developed on Qt, but actually I<br>
don't have enough time to invent a new wheel, so I thought a cool plugin for<br>
KDevelop can handle the job.<br>
But before going further, I would say that it won't be so much of hard works<br>
to develop this plugin, as the programming lanuage is based on Gnu C (or pure<br>
gcc or whatever it is called) with a few differences. So it can be built on<br>
top the built-in C or C++ feature of KDevelop.<br>
<br>
avr-gcc has it's own toolchain (the gnu toolchain built for Atmel products)<br>
and brings its own headers and library files.<br>
avr-gcc has some predefined variables (as registers) which will store the state<br>
of a bit (which has a special name). An example is TCCR0 which a register for<br>
setting the functionality of Timer 0 and it contains 3 bits named CS00, CS01<br>
and CS02 which stores the status of prescaler.<br>
There are also some predefined functions like ISR (Interupt Service Routine)<br>
which stores some statements for particular events.<br>
the number of these registers and ISRs is not too high and all of them are<br>
provided in the datasheets of Atmel products.<br>
<br>
So what are you saying guys? you think we can develop a cool plugin for that?<br>
and also beside the code highlight and code suggestion, we need a code<br>
generator which will generate  prebuilt codes based on the selections of check<br>
boxes and graphical elements. (it's actually for ease of programming as it's<br>
hard to remember the name of registers and its bits)<br>
And a graphical frontend for AVRdude (which I have worked on that a while ago<br>
on here <a href="https://github.com/nixmd/qvrdude/tree/develop" target="_blank">https://github.com/nixmd/qvrdude/tree/develop</a>)<br>
<br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kde.org">KDevelop-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdevelop-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop-devel</a><br>
</blockquote></div><br></div><div class="gmail_extra">Hello,</div><div class="gmail_extra">Mohammad, as you will imagine, what you want to do is possible to be done on top on KDevelop, and I think it would be very interesting-</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Personally, improving cross-platform integration in KDevelop will be an important step towards targeting upcoming development and it's something I'd like to see happening.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Regarding your project, I'd say that you'll have to figure out first a couple of things, KDevelop shouldn't generate code needed for compiling the application, usually this is done by the build tool (whatever you use) but further than that integrating such tools should be straightforward.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Good luck!</div><div class="gmail_extra">Aleix</div></div>