Discussion:
[GSoC] KDevelop Integration with Arduino and embedded development
patrick JP
2016-03-25 00:23:41 UTC
Permalink
Hello everybody !

My name is Patrick and I want to send this proposal (in attachment) to GSoC
(Google Summer of Code).

Title: KDevelop Integration with Arduino and embedded development

I have already talked with Kfunk, milian, apol, nicolas 17, scummos and
they like the idea :)

Any correction or suggestion will be of great help !

My nickname in #kdevelop is patrickelectric

ty,
--
Patrick José Pereira
4° year of Electronic Engineering.
Site: www.patrickjp.com
Skype: patrickelectric434
+55(048)9917-4777
Aleix Pol
2016-03-25 00:32:58 UTC
Permalink
Post by patrick JP
Hello everybody !
My name is Patrick and I want to send this proposal (in attachment) to GSoC
(Google Summer of Code).
Title: KDevelop Integration with Arduino and embedded development
I have already talked with Kfunk, milian, apol, nicolas 17, scummos and they
like the idea :)
Any correction or suggestion will be of great help !
My nickname in #kdevelop is patrickelectric
Hi Patrick,
It's good to see your proposal. Note that this needs to get in the
system really soon:
https://summerofcode.withgoogle.com/

Personally, I'd be _very_ happy to see KDevelop gaining support for
Arduino. It's something I even investigated some time ago and couldn't
pursue only because lack of time.

Regarding your proposal, I'm a bit concerned about what is the
relationship you want to end up having between ArduIDE and KDevelop.
I'd be happier to see the proposal written in terms of KDevelop. If
what you do on KDevelop is re-usable for ArduIDE afterwards, I'd be
more than happy but focus is fundamental.

Hope this helps, good luck!
Aleix
patrick JP
2016-03-25 00:50:47 UTC
Permalink
Ty Apol,

The proposal is already on GSoC. The relationship with KDevelop and arduide
is to develop in ArduIDE some features and support to the new Arduino
libraries because some already have some base to work, so it will be only
a qt implementation.
After that I will port everything that is relationed with Arduino to
KDevelop and start the work with ARM, OpenOCD and GDB.

It will be a good thing to both projects.

One more time, ty for the answer !

Best regards.
Post by Aleix Pol
Post by patrick JP
Hello everybody !
My name is Patrick and I want to send this proposal (in attachment) to GSoC
(Google Summer of Code).
Title: KDevelop Integration with Arduino and embedded development
I have already talked with Kfunk, milian, apol, nicolas 17, scummos and they
like the idea :)
Any correction or suggestion will be of great help !
My nickname in #kdevelop is patrickelectric
Hi Patrick,
It's good to see your proposal. Note that this needs to get in the
https://summerofcode.withgoogle.com/
Personally, I'd be _very_ happy to see KDevelop gaining support for
Arduino. It's something I even investigated some time ago and couldn't
pursue only because lack of time.
Regarding your proposal, I'm a bit concerned about what is the
relationship you want to end up having between ArduIDE and KDevelop.
I'd be happier to see the proposal written in terms of KDevelop. If
what you do on KDevelop is re-usable for ArduIDE afterwards, I'd be
more than happy but focus is fundamental.
Hope this helps, good luck!
Aleix
Sven Brauch
2016-03-25 01:21:41 UTC
Permalink
Hey,
Post by patrick JP
The proposal is already on GSoC.
You can update even the final proposal until the deadline tomorrow.
Post by patrick JP
The relationship with KDevelop and arduide
is to develop in ArduIDE some features and support to the new Arduino
libraries because some already have some base to work, so it will be only
a qt implementation.
I agree with Aleix' concerns here. Your proposal reads like you plan to
spend half of the time working on ArduIDE. While I value your
involvement in other projects and think it's a great way to show that
you're actually capable of doing good work, your GSoC project for
KDevelop needs to be on KDevelop itself.
If time can be spent on working on (separate) libraries other projects
can profit from as well, that's fine, but in the end it must at least be
clear from each bullet point in your proposal how this is necessary and
hepful for your project (and the project is "KDevelop integration with
embedded development"). Those libraries should then also be actual
separate libraries, and not features you implement in a different IDE
and then port to KDevelop.

How realistic the timeline is remains to be seen, but that's always the
same for timelines, right ;)
The list of things you plan to do reads good. Also here, I'm sure some
things need to be dropped because they turn out to be too complicated,
but that's fine with me. Note that KDevelop already has clang-powered
completion for C, so I don't think much needs to be done here.

One thing I personally would really like to view is a register/memory
map view (as described on the ideas page). If you're interested in
working on that, it would be a great thing to add to the proposal.

Thanks and best regards,
Sven
Sven Brauch
2016-03-25 12:54:02 UTC
Permalink
Hey Patrick,
I'll reformulate the proposal and add the register/memory map view in the
timeline together with GDB.
Great, looking forward to reading the final thing. :)

Best,
Sven
Sven Brauch
2016-03-25 14:26:42 UTC
Permalink
Hey Patrick,

from a short look, your Project Goals still list things you want to
reach for ArduIDE. I still do not think those are suitable goals for
this project. The project you apply to is KDevelop, and the proposal has
to be phrased accordingly. As said, if other projects benefit as well
that's fine, but work on KDevelop is required to be the primary thing
for each step and goal.

I'd remove "Autocomplete" from the feature list, that exists already.

I do not understand the sentence "Update ArduIDE features from Qt4 to
Qt5 into KDevelop.". Can you elaborate what exactly you mean by that?

Thanks and best regards,
Sven
Sven Brauch
2016-03-25 15:03:25 UTC
Permalink
Hey Patrick,

thanks for the update.

Now I'd just suggest to remove "1. Update ArduIDE from Arduino 1.0.0 to
Arduino 1.6.0." from the goals and we're good I think ;)
I think it sounds strange as a goal for this project and if I understood
you correctly you wanted to work on that before GSoC starts anyways.

Greetings,
Sven
Sven Brauch
2016-03-25 15:31:00 UTC
Permalink
Cool. Make sure to have the up-to-date version uploaded on your
dashboard, sit back and relax :-)

Best,
Sven
Arthur Gruzauskas
2016-03-30 13:09:43 UTC
Permalink
There used to be a page devoted to compiling KDevelop5 at
https://techbase.kde.org/KDevelop5/HowToCompile

It included an approach that seemed to compile the whole of KDE Plasma 5 to
get our beloved KDevelop v5.

And a little annotation at the bottom showed my still working method of
compiling just KDevelop5 for Debian based distributions like Debian & Ubuntu.

It's all gone, just an unuseful stub left.

I looked around, but I can't see any accessible page for compiling the current
v5 version anywhere.

I've been using KDevelop since v2 or so, and so I am somewhat familiar with
it. I strongly suspect I may be stupid, but perhaps it is even harder for
others even less familiar than myself.

I feel that to get newbies interested, and grow our community, you need to
have a way of getting them to actually access this wonderful tool.

https://www.kdevelop.org/ is the main site, and I cannot find a link from there
to actually use v5 anymore.

Is there a page which shows how to compile KDevelop V5 anywhere obvious?

I fully accept that my method may have been poor, but i see the need for a
compilation page as essential for wider acceptance.

Arthur, who may be very blind to something obvious
Kevin Funk
2016-03-30 13:15:52 UTC
Permalink
Post by Arthur Gruzauskas
There used to be a page devoted to compiling KDevelop5 at
https://techbase.kde.org/KDevelop5/HowToCompile
It moved to:
https://community.kde.org/KDevelop/HowToCompile_v5

... just recently.

Sorry for the confusion.

Cheers,
Kevin
Post by Arthur Gruzauskas
It included an approach that seemed to compile the whole of KDE Plasma 5 to
get our beloved KDevelop v5.
And a little annotation at the bottom showed my still working method of
compiling just KDevelop5 for Debian based distributions like Debian & Ubuntu.
It's all gone, just an unuseful stub left.
I looked around, but I can't see any accessible page for compiling the
current v5 version anywhere.
I've been using KDevelop since v2 or so, and so I am somewhat familiar with
it. I strongly suspect I may be stupid, but perhaps it is even harder for
others even less familiar than myself.
I feel that to get newbies interested, and grow our community, you need to
have a way of getting them to actually access this wonderful tool.
https://www.kdevelop.org/ is the main site, and I cannot find a link from
there to actually use v5 anymore.
Is there a page which shows how to compile KDevelop V5 anywhere obvious?
I fully accept that my method may have been poor, but i see the need for a
compilation page as essential for wider acceptance.
Arthur, who may be very blind to something obvious
_______________________________________________
KDevelop mailing list
https://mail.kde.org/mailman/listinfo/kdevelop
--
Kevin Funk | ***@kde.org | http://kfunk.org
Arthur Gruzauskas
2016-03-30 13:27:57 UTC
Permalink
Thank you Kevin, for your reply.

Two issues.

1) It really needs to be accessible from the main page,
https://www.kdevelop.org

2) Links to my approach are missing in item 6.

To me, Issue 1) is more important. If you are looking around for ways to
actually use this superb tool, it should be available on the main page of
KDevelop.

If it is hard to find, folk will move on. That is a needless loss to the
community.

Arthur
Post by Kevin Funk
Post by Arthur Gruzauskas
There used to be a page devoted to compiling KDevelop5 at
https://techbase.kde.org/KDevelop5/HowToCompile
https://community.kde.org/KDevelop/HowToCompile_v5
... just recently.
Sorry for the confusion.
Cheers,
Kevin
Post by Arthur Gruzauskas
It included an approach that seemed to compile the whole of KDE Plasma 5 to
get our beloved KDevelop v5.
And a little annotation at the bottom showed my still working method of
compiling just KDevelop5 for Debian based distributions like Debian & Ubuntu.
It's all gone, just an unuseful stub left.
I looked around, but I can't see any accessible page for compiling the
current v5 version anywhere.
I've been using KDevelop since v2 or so, and so I am somewhat familiar with
it. I strongly suspect I may be stupid, but perhaps it is even harder for
others even less familiar than myself.
I feel that to get newbies interested, and grow our community, you need to
have a way of getting them to actually access this wonderful tool.
https://www.kdevelop.org/ is the main site, and I cannot find a link from
there to actually use v5 anymore.
Is there a page which shows how to compile KDevelop V5 anywhere obvious?
I fully accept that my method may have been poor, but i see the need for a
compilation page as essential for wider acceptance.
Arthur, who may be very blind to something obvious
_______________________________________________
KDevelop mailing list
https://mail.kde.org/mailman/listinfo/kdevelop
Kevin Funk
2016-03-30 14:02:24 UTC
Permalink
Post by Arthur Gruzauskas
Thank you Kevin, for your reply.
Two issues.
1) It really needs to be accessible from the main page,
https://www.kdevelop.org
2) Links to my approach are missing in item 6.
No idea where that is gone. Some volunteers moved some pages from Techbase to
Community Wiki a while ago; probably that got lost?

Please check and link it to the new wiki page on community.kde.org if
possible!
Post by Arthur Gruzauskas
To me, Issue 1) is more important. If you are looking around for ways to
actually use this superb tool, it should be available on the main page of
KDevelop.
If it is hard to find, folk will move on. That is a needless loss to the
community.
I agree, and sorry for that. The KDevelop website is just being upgraded/
restructured, it's in the flux at the moment. We'll work on it.

Cheers,
Kevin
Post by Arthur Gruzauskas
Arthur
Post by Kevin Funk
Post by Arthur Gruzauskas
There used to be a page devoted to compiling KDevelop5 at
https://techbase.kde.org/KDevelop5/HowToCompile
https://community.kde.org/KDevelop/HowToCompile_v5
... just recently.
Sorry for the confusion.
Cheers,
Kevin
Post by Arthur Gruzauskas
It included an approach that seemed to compile the whole of KDE Plasma 5 to
get our beloved KDevelop v5.
And a little annotation at the bottom showed my still working method of
compiling just KDevelop5 for Debian based distributions like Debian & Ubuntu.
It's all gone, just an unuseful stub left.
I looked around, but I can't see any accessible page for compiling the
current v5 version anywhere.
I've been using KDevelop since v2 or so, and so I am somewhat familiar with
it. I strongly suspect I may be stupid, but perhaps it is even harder for
others even less familiar than myself.
I feel that to get newbies interested, and grow our community, you need to
have a way of getting them to actually access this wonderful tool.
https://www.kdevelop.org/ is the main site, and I cannot find a link from
there to actually use v5 anymore.
Is there a page which shows how to compile KDevelop V5 anywhere obvious?
I fully accept that my method may have been poor, but i see the need for a
compilation page as essential for wider acceptance.
Arthur, who may be very blind to something obvious
_______________________________________________
KDevelop mailing list
https://mail.kde.org/mailman/listinfo/kdevelop
_______________________________________________
KDevelop mailing list
https://mail.kde.org/mailman/listinfo/kdevelop
--
Kevin Funk | ***@kde.org | http://kfunk.org
Shervin Emami
2016-03-30 20:42:38 UTC
Permalink
I'm looking forward to one day using KDevelop for Arduino & microcontroller
development, thanks! (I actually already use KDevelop for some
microcontroller development, but obviously not as a fully integrated IDE)

Cheers,
Shervin Emami.
http://www.shervinemami.info/Robotics_Engineer.html
Post by Sven Brauch
Cool. Make sure to have the up-to-date version uploaded on your
dashboard, sit back and relax :-)
Best,
Sven
_______________________________________________
KDevelop mailing list
https://mail.kde.org/mailman/listinfo/kdevelop
patrick JP
2016-03-30 20:55:22 UTC
Permalink
Ty Shervin,

Right now I have the AVR boards done and working with the ARM based
Arduinos board.
In April I'll start to integrate Arduino with KDevelop and get a first
version.

Best regards,
Post by Shervin Emami
I'm looking forward to one day using KDevelop for Arduino &
microcontroller development, thanks! (I actually already use KDevelop for
some microcontroller development, but obviously not as a fully integrated
IDE)
Cheers,
Shervin Emami.
http://www.shervinemami.info/Robotics_Engineer.html
Post by Sven Brauch
Cool. Make sure to have the up-to-date version uploaded on your
dashboard, sit back and relax :-)
Best,
Sven
_______________________________________________
KDevelop mailing list
https://mail.kde.org/mailman/listinfo/kdevelop
--
Patrick José Pereira
8° Fase de Engenharia EletrÎnica
Site: www.patrickjp.com
Skype: patrickelectric434
+55(048)9917-4777
Sven Brauch
2016-03-30 20:57:12 UTC
Permalink
Hey Patrick,

it would be very cool to see you around in #kdevelop on IRC to talk
about this project a bit. Make sure to drop by if you want to :)

Greetings,
Sven
Post by patrick JP
Ty Shervin,
Right now I have the AVR boards done and working with the ARM based
Arduinos board.
In April I'll start to integrate Arduino with KDevelop and get a first
version.
Best regards,
Post by Shervin Emami
I'm looking forward to one day using KDevelop for Arduino &
microcontroller development, thanks! (I actually already use KDevelop for
some microcontroller development, but obviously not as a fully integrated
IDE)
Cheers,
Shervin Emami.
http://www.shervinemami.info/Robotics_Engineer.html
Post by Sven Brauch
Cool. Make sure to have the up-to-date version uploaded on your
dashboard, sit back and relax :-)
Best,
Sven
_______________________________________________
KDevelop mailing list
https://mail.kde.org/mailman/listinfo/kdevelop
patrick JP
2016-04-16 21:17:13 UTC
Permalink
Hello everybody,

Until now I have a simple interface that download and install the necessary
tools to the development of embedded systems in Arduino boards.
In the last days I am trying to figure out how to send my commits to the
git.kde.org to permit that everybody of KDevelop to see and give some
necessary points to create a better plugin.

$ git clone -b Arduino git://anongit.kde.org/scratch/patrickpereira/embedded

Best regards,
Post by Sven Brauch
Hey Patrick,
it would be very cool to see you around in #kdevelop on IRC to talk
about this project a bit. Make sure to drop by if you want to :)
Greetings,
Sven
Post by patrick JP
Ty Shervin,
Right now I have the AVR boards done and working with the ARM based
Arduinos board.
In April I'll start to integrate Arduino with KDevelop and get a first
version.
Best regards,
Post by Shervin Emami
I'm looking forward to one day using KDevelop for Arduino &
microcontroller development, thanks! (I actually already use KDevelop
for
Post by patrick JP
Post by Shervin Emami
some microcontroller development, but obviously not as a fully
integrated
Post by patrick JP
Post by Shervin Emami
IDE)
Cheers,
Shervin Emami.
http://www.shervinemami.info/Robotics_Engineer.html
Post by Sven Brauch
Cool. Make sure to have the up-to-date version uploaded on your
dashboard, sit back and relax :-)
Best,
Sven
_______________________________________________
KDevelop mailing list
https://mail.kde.org/mailman/listinfo/kdevelop
--
Patrick José Pereira
8° Fase de Engenharia EletrÎnica
Site: www.patrickjp.com
Skype: patrickelectric434
+55(048)9917-4777
Sven Brauch
2016-04-17 18:09:24 UTC
Permalink
Hey!
Post by patrick JP
Until now I have a simple interface that download and install the necessary
tools to the development of embedded systems in Arduino boards.
In the last days I am trying to figure out how to send my commits to the
git.kde.org to permit that everybody of KDevelop to see and give some
necessary points to create a better plugin.
Cool to see something happening there even though GSoC results are not
even published :)
I will take a closer look in the next days. In principle, you can
request your project to be moved to playground by the sysadmins if it
might be useful for other people as well. I don't know the exact
procedure required for this (if any) but I'll look around. It's not
difficult in any case.

From a short look at the code:

^ is not the exponentation operator but xor, so 2^20 doesn't do what
you want it to ;) (use 1 << 20)

make sure all translatable texts are wrapped in i18n() calls -- do not
use tr!

Greetings!
Sven
patrick JP
2016-04-19 02:26:34 UTC
Permalink
Hi Sven,

Sorry for this numeric mistake, to much languages to confuse. (The value in
KB ir correct now).
The in future patchs I will work only with translation (right now I need to
understand better how KDevelop work with such thing).
The next step is to finish the template for Arduino projects.

Thanks for the tips !
Post by Sven Brauch
Hey!
Post by patrick JP
Until now I have a simple interface that download and install the
necessary
Post by patrick JP
tools to the development of embedded systems in Arduino boards.
In the last days I am trying to figure out how to send my commits to the
git.kde.org to permit that everybody of KDevelop to see and give some
necessary points to create a better plugin.
Cool to see something happening there even though GSoC results are not
even published :)
I will take a closer look in the next days. In principle, you can
request your project to be moved to playground by the sysadmins if it
might be useful for other people as well. I don't know the exact
procedure required for this (if any) but I'll look around. It's not
difficult in any case.
^ is not the exponentation operator but xor, so 2^20 doesn't do what
you want it to ;) (use 1 << 20)
make sure all translatable texts are wrapped in i18n() calls -- do not
use tr!
Greetings!
Sven
--
Patrick José Pereira
8° Fase de Engenharia EletrÎnica
Site: www.patrickjp.com
Skype: patrickelectric434
+55(048)9917-4777
Sven Brauch
2016-04-19 06:46:26 UTC
Permalink
Hey!

Sorry, still didn't have a closer look, will do asap :/
Post by patrick JP
right now I need to
understand better how KDevelop work with such thing
That's not really difficult, basically just write i18n("some text");
when you have an argument write i18n("some %1 text %2", arg1, arg2);
when you have a plural form write i18np("%1 item", "%2 items", num);
and for giving comments to the translators for what the text means when
you think it might be difficult to grasp, there's i18nc() which takes an
additional comment as first argument. There are lots of other forms but
you very rarely need them.

Have a nice day,
Sven
patrick JP
2016-04-20 03:30:05 UTC
Permalink
Hi Sven,

Ty for the support !
I rethought about when to add the translation functions and do this when
creating the code is the best practice,
to don't lose any sentence.
The suggestions were added.

Best regards,
Post by Sven Brauch
Hey!
Sorry, still didn't have a closer look, will do asap :/
Post by patrick JP
right now I need to
understand better how KDevelop work with such thing
That's not really difficult, basically just write i18n("some text");
when you have an argument write i18n("some %1 text %2", arg1, arg2);
when you have a plural form write i18np("%1 item", "%2 items", num);
and for giving comments to the translators for what the text means when
you think it might be difficult to grasp, there's i18nc() which takes an
additional comment as first argument. There are lots of other forms but
you very rarely need them.
Have a nice day,
Sven
--
Patrick José Pereira
8° Fase de Engenharia EletrÎnica
Site: www.patrickjp.com
Skype: patrickelectric434
+55(048)9917-4777
Loading...