Page 1 of 1

Developing using Eclipse IDE on Windows

Posted: Mon Jul 14, 2014 12:21 pm
by Crt Valentincic
Originally posted by Georg Brunnhofer:
Hi guys
I followed your questions (https://redpitaya.zendesk.com/hc/commun ... chitecture) as they came my mind as well. I am only a Windows user and wanted to install eclipse as my programming IDE. However, as I used to program in IDEs that are dedicated to the processors I use, I have never had to bother which compiler, cross-compiler to choose. Hence, I am new to this field and would need some elaborated documentation anyway.
Could someone provide some documentation on how to setup Eclipse in windows? This would be great, at least for me.
Hoping for response
Georg B.

Re: Developing using Eclipse IDE on Windows

Posted: Mon Jul 14, 2014 12:24 pm
by Crt Valentincic
We have just updated our development document also for Windows users.
On our wiki page http://wiki.redpitaya.com/index.php?tit ... oper_Guide you can found instructions about how to install git, C compiler and use it together with Eclipse IDE in Windows 7.

Re: Developing using Eclipse IDE on Windows

Posted: Sat Jul 19, 2014 1:33 pm
by antrorsum
Great guide, i only had one question. In the guide you include how to do remote debugging with eclipse in windows. However, i'm getting stuck as i don't have a gdbserver on the redpitaya. Is there a way to easily include it?

Re: Developing using Eclipse IDE on Windows

Posted: Tue Jul 22, 2014 8:18 am
by Crt Valentincic
Thank you. ;) gdbserver comes with Linaro ARM toolchain (gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux/arm-linux-gnueabi/debug-root/usr/bin/gdbserver) and will also be included in the next Red Pitaya OS release. At the moment you will have to copy it into /opt/bin folder manually.

Re: Developing using Eclipse IDE on Windows

Posted: Tue Oct 28, 2014 5:10 am
by john k2ox
This still has not happened as of 10/2014

Re: Developing using Eclipse IDE on Windows

Posted: Tue Oct 28, 2014 11:24 am
by Nils Roos
The available development builds already have it. Until a new ecosystem is officially released you can use these.

Re: Developing using Eclipse IDE on Windows

Posted: Sun Nov 23, 2014 2:22 pm
by Wolan32
I copied the gdbserver to the /bin folder of SD card, works fine.
Would have been nice some one mentioned it on the manual for Eclipse for Windows http://wiki.redpitaya.com/index.php?tit ... or_Windows.
Just a commend like:
You need to copy gcc-linaro-arm-linux-gnueabi-2012.03-20120326_win32\arm-linux-gnueabi\debug-root\usr\bin\gdbserver to /bin folder on SD-card,
or copy with ssh to /opt/bin folder(don't forget rw command), till it's part of official ecosystem.

But with search I came very fast to this thread so it's OK.

Re: Developing using Eclipse IDE on Windows

Posted: Thu Oct 08, 2015 6:04 pm
by wwwsol
Great tip jobstulus, the system found the server!

Last login: Thu Oct 8 18:58:11 2015 from uwes-acer.fritz.box
echo $PWD'>'

chmod 777 /tmp/blink_diode;gdbserver :2345 /tmp/blink_diode;exit

redpitaya> echo $PWD'>'
/root>
redpitaya>
redpitaya> chmod 777 /tmp/blink_diode;gdbserver :2345 /tmp/ blink_diode;exit
Process /tmp/blink_diode created; pid = 1790

Here is the new/old error

Cannot exec /tmp/blink_diode: No such file or directory.

Child exited with status 127
No program to debug. GDBserver exiting.
logout

Re: Developing using Eclipse IDE on Windows

Posted: Fri Oct 27, 2017 11:11 pm
by ruben.valderas
Hi!

By any chance does anybody know where can I find the old red pitaya documentation? I started a project about one year ago with the old system. Now i need to configure a new pc for cross-compile and debug but there is no way I can find the propper documentation.