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

Problem Opening Wizard #61

Open
sebistark opened this issue Apr 17, 2024 · 7 comments
Open

Problem Opening Wizard #61

sebistark opened this issue Apr 17, 2024 · 7 comments

Comments

@sebistark
Copy link

sebistark commented Apr 17, 2024

I followed the "How to Install" guide step by step.
Unfortunately it fails between step 2 and 3.

Infos on About Eclipse IDE:
Version: 2024-03 (4.31.0)
Build id: 20240307-1437

Error message:

image

Log Info concerning Zephyr in the .metadata/.log file:

!ENTRY org.eclipse.launchbar.core 2 0 2024-04-17 19:20:15.260
!MESSAGE Enablement expression is missing for config provider for org.zephyrproject.ide.eclipse.core.launch.descriptorType.default
@motla
Copy link

motla commented Sep 30, 2024

Same issue here with STM32CubeIDE.

@motla
Copy link

motla commented Sep 30, 2024

@dcpleung Do you have an idea?

@dcpleung
Copy link
Member

The plugin never supports 2024-03, so there are going to be issues.

@motla
Copy link

motla commented Sep 30, 2024

This is unfortunate 🫤 It can maybe get fixed easily. Any chance you can look at it or give us some advice to solve this issue?

@dcpleung
Copy link
Member

CDT does not exactly support extending features via plugins so the interfaces are constantly changing there. Almost always, it requires rewriting this plugin to accommodate newer CDT version. At this point, I guess a complete rewrite would probably consume less time.

@sebistark
Copy link
Author

Hi Romain
I understand your frustration. I was there too...:(
My advice is, forget this plugin. The last two minor commits were from 2022 and the bigger one from 2020. So obviously it isn't maintained.
If you want to work with Zephyr on an IDE I have tested a few. Here is my advice:

  • VSCode:
    • nRF has a lot of plugins which work also with other microcontroller. In combination with a shell and the cortex debug plugin you can get a decent workflow.
    • Zephyr Workbench: It's a brand new plugin from AC6. They do Zephyr training and are trustworthy in my eyes. I have used it throughout the last month and I am quite amazed. They have dedicated build and debug buttons, which makes it really easy to start. they have also an easy way to download and install the whole toolchain.
  • STM32CubeIDE: I found a way to use it with Zephyr. And it works quite well. You can build and debug.
    1. define a directory were you want your STM32CubeIDE workspace
    2. Inside, create a new zephyr application directory. You'll need at least:
      (further references: https://github.com/zephyrproject-rtos/example-application/tree/main/app)
      • prj.conf file
      • CMakeLists.txt
      • directory src with main.c
    3. create new STM32 Cmake Project. select project with existing CMake sources
    4. Enter the same name as your zephyr application directory. STM32CubeIDE will recognize the project and a pop up window should notice you "Existing CMake sources found at project location". If not, you've done something wrong.
    5. From there select your STM32 controller and your project is set up.
    6. you can now build and debug. Unfortunately you can't use CubeMX code generator or *.ioc files. ...yet. I hope the ST will integrate more Zephyr possibilities in the future...

@motla
Copy link

motla commented Oct 1, 2024

@sebistark Thank you very much!

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

3 participants