Problem Opening Wizard
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:
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
Same issue here with STM32CubeIDE.
@dcpleung Do you have an idea?
The plugin never supports 2024-03, so there are going to be issues.
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?
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.
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.
- define a directory were you want your STM32CubeIDE workspace
- 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
- create new STM32 Cmake Project. select project with existing CMake sources
- 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.
- From there select your STM32 controller and your project is set up.
- 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 Thank you very much!