zephyrproject-rtos/eclipse-plugin

Eclipse plugin does not work

jorisoffouga opened this issue · 7 comments

Hi

I have problem occured when use ecplise plugin :

Errors occurred during the build.
Errors running builder 'Zephyr Application Builder' on project 'test'.
java.lang.NullPointerException

OS: Windows 10
Ecplise : 2020-09

Any ideas ?

image

Best regards

Hi @dcpleung

Do you have any idea how to solve this issue?

Best regards,

Joris Offouga

Could you try older version of Eclipse (2020-06 or 2020-03)? Sometimes Eclipse updates its APIs which breaks the plugin, and requires some workarounds.

I currently don't have time to look into it. Appreciate if you could find out which Eclipse version works, as it will narrow down the list of commits I have to look at upstream. Thanks.

Same issue here.

OS: macOS 11.2
Eclipse: 2021-06

Screenshot 2021-06-28 at 11 50 39

I think it has something to do with the pinctrl.dtsi not being found?

Interestingly the error above only appears the first time after a 'clean'.

If I run a second time the error message changes to "Symbol 'CONFIG_BOARD' could not be resolved"

Screenshot 2021-06-28 at 11 53 26

And if I comment out the printk line, no error, but build still not succesful

image

@jorisoffouga were you able to solve the issue, @dcpleung is there a fix?

I don't have time to look into it right now. The latest supported Eclipse version should be 2020-03. If possible, please use the older Eclipse version at the moment.

Hi @dcpleung,

I am able to build one of Zephyr sample project using west. Now I want to do same thing using eclipse. As per instruction mentioned on this page, I have configured PC with following version.

PC configured with :
OS : Windows 10 Enterprise 20H2 64 bit

Java SE 8 update 212
image

Eclipse 2019-12 with CDT 9.10.0
image
image

Zephyr Project details
Cmake generator : Ninja
Toolchain : GNU ARM Embedded Toolchain
Board Name: Nucleo_F429zi ( ST's arm Cortex-M )

Error with build command

image
image
image

@dcpleung Can you please help here
@jorisoffouga Did you find any solution on similar issue

#50 may have fixed this.