ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 12:20 pm

Eclipse Aarch64

We are pleased to announce that the first official Eclipse Aarch64 package running on Raspberry Pi OS 64-bit is now available for evaluation from:

https://projects.eclipse.org/projects/iot.embed-cdt/downloads/

(see the 2020-09-M3-KSE pre-release section)

The Eclipse IDE for Embedded C/C++ Developers packs together the Eclipse IDE for C/C++ Developers standard distribution with the Eclipse Embedded CDT plug-ins (formerly known as the GNU MCU Eclipse plug-ins, now part of the Eclipse Foundation and rebranded).


Additional tools

All additional open source tools used by the project, like Arm & RISC-V toolchains, OpenOCD, QEMU, are immediately available as binary packages (xPacks) that also have Arm variants.

And, last but not least, SEGGER, the manufacturer of J-Link, the market-leading debug probe, fully committed to support the industry migration towards Arm platforms, recently released V6.84 of the J-Link Software, which also includes Arm binaries that run on Raspberry Pi (download). The SEGGER graphical tools (Ozone, SystemView, etc) will be available at a later date.

With all these components in place, now the whole development cycle - create, build, flash and debug - can be performed directly on a Raspberry Pi 4 single board computer.


Documentation

The current pre-release is intended for evaluation and feedback. A final release is planned for the second half of September, after Eclipse 2020-09 is out.

The project also has a new web site, available from:

https://eclipse-embed-cdt.github.io/

(the site is still work in progress, thank you for helping to improve it)


How to evaluate

Those who want to evaluate the new Eclipse are invited to follow the Getting Started steps in the project web, starting with the Prerequisites, Install a New Eclipse, up to the Blinky Arm Tutorial, which ends with a debug session blinking 4 LEDs in an emulated STM32F4DISCOVERY board.

Image

For now the Eclipse for Aarch64 is built using the same procedures as the Eclipses for Intel, and requires the same Java 11 package (or higher) from Oracle.

We are aware that Java and especially Eclipse have both heavy implementations and generally running them on a small platform may require a bit of patience. At this moment, startup is slow; occasionally it takes some time for a menu item to appear, but subsequent accesses should be ok. Sometimes Eclipse may require a restart. If you run htop in a separate terminal, you can see when Java is busy compiling the byte code. The graphical CPU usage monitor enabled in the top bar may also give a good indication when Eclipse completed the startup.

This first Raspberry Pi release is about providing functionality. If you are a Java/Eclipse developer and feel inspired, your contributions to improve performance will be highly appreciated.

The systems used for development are Raspberry Pi4, with 8GB RAM, booting from a SanDisk Extreme Portable 250GB, USB 3.1, SSD. It is possible to run Eclipse in 4GB RAM, but 8GB and a fast SSD disk provide a better experience.


Feedback appreciated.

Liviu & Koen
Last edited by ilg on Tue Sep 08, 2020 9:50 pm, edited 2 times in total.

User avatar
clicky
Posts: 501
Joined: Thu Oct 25, 2012 7:34 am

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 1:25 pm

Good news! Well done.

How much of changes ended up back in main platform repo? Would it be possible building complete original Eclipse for Java Developers with your changes, too?

ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 1:34 pm

Thank you!

There weren't many changes, since the Arm Linux port shares the source files of Intel Linux.

I guess there would be no problems to bring Eclipse for Java Developers to Arm. Depending on further tests, perhaps the 2020-12 release will include more Arm packages.

For now you can use the Eclipse Embedded CDT package and simply add the Java plug-ins. If you don't use the CDT plug-ins, they are not loaded, and do not consume many resources.

LTolledo
Posts: 4178
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 1:40 pm

will this also work with STM32 "blue pill"
I've been waiting for way to flash it via RPi...
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 1:46 pm

The Eclipse Embedded CDT debug plug-ins support either J-Link or OpenOCD.

However, the purpose of the debug plug-ins is to run debug sessions. If you need only to write the flash, probably there are alternate solutions.

fanoush
Posts: 637
Joined: Mon Feb 27, 2012 2:37 pm

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 1:57 pm

LTolledo wrote:
Tue Sep 08, 2020 1:40 pm
will this also work with STM32 "blue pill"
I've been waiting for way to flash it via RPi...
Why you were waiting? openocd works for flashing blue pill or anything else over SWD and also other tools like dfu-util in standard repo that flash over serial or usb work. And there are also tools in python like https://github.com/blacksphere/blackmag ... m32_mem.py

Never hit any issue with any model of pi and flashing blue pill or similar boards, what didn't work for you?

LTolledo
Posts: 4178
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 2:55 pm

on the RPi3B+ been using arduino IDE for all (that I have in possession) micro-controller programming and flashing....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27461
Joined: Sat Jul 30, 2011 7:41 pm

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 4:46 pm

ilg wrote:
Tue Sep 08, 2020 1:34 pm
Thank you!

There weren't many changes, since the Arm Linux port shares the source files of Intel Linux.

I guess there would be no problems to bring Eclipse for Java Developers to Arm. Depending on further tests, perhaps the 2020-12 release will include more Arm packages.

For now you can use the Eclipse Embedded CDT package and simply add the Java plug-ins. If you don't use the CDT plug-ins, they are not loaded, and do not consume many resources.
What is the correct repo for the Embedded CDT? i.e. how to install the right/latest version?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 4:50 pm

Can you be more specific? Which repo do you mean?

The download link is in the post, there you can find the latest package.

And the install procedure is documented in the project web.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27461
Joined: Sat Jul 30, 2011 7:41 pm

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 8:30 pm

ilg wrote:
Tue Sep 08, 2020 4:50 pm
Can you be more specific? Which repo do you mean?

The download link is in the post, there you can find the latest package.

And the install procedure is documented in the project web.
Sorry, missed that in the post! Apologies.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Re: Eclipse is coming to Raspberry Pi

Tue Sep 08, 2020 9:43 pm

jamesh wrote:
Tue Sep 08, 2020 8:30 pm
Sorry, missed that in the post! Apologies.
No problem.

Please let me know if the documentation is not clear or you have any issues.

lurk101
Posts: 289
Joined: Mon Jan 27, 2020 2:35 pm

Re: Eclipse is coming to Raspberry Pi

Wed Sep 09, 2020 2:37 pm

Never understood the appeal of Eclipse. Every time I've tried, it turned out to be slow and bloated.

Seeking Sooth
Posts: 79
Joined: Sun Aug 23, 2020 7:03 pm

Re: Eclipse is coming to Raspberry Pi

Wed Sep 09, 2020 2:59 pm

Choice is great!

Eclipse is a top tier product relied on all over the world.

Thank you guys for the port!

ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Re: Eclipse is coming to Raspberry Pi

Wed Sep 09, 2020 3:27 pm

Seeking Sooth wrote:
Wed Sep 09, 2020 2:59 pm
Thank you guys for the port!
You're welcome!

Not to mention that our main role was to push things forward and integrate the results into a functional package; the actual port, in several different projects, was done by several other guys. We'll pass them your kind words.

ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Re: Eclipse is coming to Raspberry Pi

Sun Sep 27, 2020 7:22 am

The first official release including support for Aarch64, Eclipse IDE for Embedded C/C++ Developers 2020-09, is available for download from:

https://projects.eclipse.org/projects/iot.embed-cdt/downloads

zephyrprime
Posts: 3
Joined: Sun Sep 27, 2020 11:02 pm

Re: Eclipse is coming to Raspberry Pi

Sun Sep 27, 2020 11:28 pm

ilg wrote:
Sun Sep 27, 2020 7:22 am
The first official release including support for Aarch64, Eclipse IDE for Embedded C/C++ Developers 2020-09, is available for download from:

https://projects.eclipse.org/projects/iot.embed-cdt/downloads
I just tried using this but it says "Exec format error" when I run it. I downloaded from the link that says "NEW! Runs on Raspberry Pi OS 64-bit."

User avatar
Gavinmc42
Posts: 4863
Joined: Wed Aug 28, 2013 3:31 am

Re: Eclipse is coming to Raspberry Pi

Mon Sep 28, 2020 12:49 am

You probably have the 32bit Raspberry OS?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 4863
Joined: Wed Aug 28, 2013 3:31 am

Re: Eclipse is coming to Raspberry Pi

Mon Sep 28, 2020 12:58 am

The biggest IDE runs on Pi's?
Some would call that progress.

Opens the way for many development tools now that are based on Eclipse.
Infineon/Cypress PSoC6 ModusToolbox?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

zephyrprime
Posts: 3
Joined: Sun Sep 27, 2020 11:02 pm

Re: Eclipse is coming to Raspberry Pi

Mon Sep 28, 2020 5:28 am

Gavinmc42 wrote:
Mon Sep 28, 2020 12:49 am
You probably have the 32bit Raspberry OS?
Yes. I realize now that's the problem. I didn't realize eclipse was 64bit only nowadays

ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Re: Eclipse is coming to Raspberry Pi

Mon Sep 28, 2020 6:30 am

zephyrprime wrote:
Mon Sep 28, 2020 5:28 am
... I didn't realize eclipse was 64bit only nowadays
Unfortunately 32-bit support in Eclipse was dropped for quite some time, and now all packages are distributed as 64-bit only.

This also explains why an Eclipse for Arm took so long, because it had to wait for the 64-bit Raspberry Pi OS.

ilg
Posts: 14
Joined: Sat Aug 08, 2020 3:54 pm
Location: Bucharest, Romania

Re: Eclipse is coming to Raspberry Pi

Thu Oct 15, 2020 7:55 pm

The first internal Eclipse run that includes Aarch64 packages for all Eclipses is available as 2020-12 (milestone 1):

https://download.eclipse.org/technology/epp/downloads/release/2020-12/M1/

Those interested in using Eclipse on the Raspberry Pi OS 64-bit are invited to test the packages they need and provide feedback, to be eventually included in the 2020-12 release.

Return to “General discussion”