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

Problem Opening Wizard

Open sebistark opened this issue 1 year ago • 7 comments

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

sebistark avatar Apr 17 '24 17:04 sebistark

Same issue here with STM32CubeIDE.

motla avatar Sep 30 '24 15:09 motla

@dcpleung Do you have an idea?

motla avatar Sep 30 '24 15:09 motla

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

dcpleung avatar Sep 30 '24 16:09 dcpleung

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?

motla avatar Sep 30 '24 19:09 motla

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.

dcpleung avatar Sep 30 '24 19:09 dcpleung

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...

sebistark avatar Oct 01 '24 06:10 sebistark

@sebistark Thank you very much!

motla avatar Oct 01 '24 06:10 motla