eclipse-plugin icon indicating copy to clipboard operation
eclipse-plugin copied to clipboard

Eclipse plugin does not work

Open jorisoffouga opened this issue 4 years ago • 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

jorisoffouga avatar May 24 '21 14:05 jorisoffouga

Hi @dcpleung

Do you have any idea how to solve this issue?

Best regards,

Joris Offouga

jorisoffouga avatar May 31 '21 16:05 jorisoffouga

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.

dcpleung avatar Jun 01 '21 18:06 dcpleung

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

maksimdrachov avatar Jun 28 '21 09:06 maksimdrachov

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

hasikp1 avatar Jul 01 '21 06:07 hasikp1

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.

dcpleung avatar Jul 01 '21 16:07 dcpleung

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

KalpeshKadam-eaton avatar Jan 24 '22 11:01 KalpeshKadam-eaton

#50 may have fixed this.

dcpleung avatar Mar 17 '22 19:03 dcpleung