Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse plugin does not work #45

Open
jorisoffouga opened this issue May 24, 2021 · 7 comments
Open

Eclipse plugin does not work #45

jorisoffouga opened this issue May 24, 2021 · 7 comments
Assignees

Comments

@jorisoffouga
Copy link

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
Copy link
Author

Hi @dcpleung

Do you have any idea how to solve this issue?

Best regards,

Joris Offouga

@dcpleung
Copy link
Member

dcpleung commented Jun 1, 2021

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.

@maksimdrachov
Copy link

maksimdrachov commented Jun 28, 2021

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

@hasikp1
Copy link

hasikp1 commented Jul 1, 2021

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

@dcpleung
Copy link
Member

dcpleung commented Jul 1, 2021

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.

@KalpeshKadam-eaton
Copy link

KalpeshKadam-eaton commented Jan 24, 2022

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

@dcpleung
Copy link
Member

#50 may have fixed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants