Improved Eclipse usage #69812
-
A generic disadvantage of using Eclipse according to the instructions on the Debugging docs page is the fact that the build directory as a subdirectory of the source directory would not be supported well in eclipse (hm, I don't see that point). Well, I think that the main problem is that the two files Some time ago, I created symlinks to achieve that Remaining problems:
Just as a sidenote: I'm not sticked to Eclipse. Another IDE could be used as well. But the docs page |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Just a quick reply to your to sidenotes:
Hoping to get CLion documentation added soon #60204
I am using VS Code in this video. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this information.
After having read a really short comparison of Eclipse and CLion (https://stackshare.io/stackups/clion-vs-eclipse), I decided to install the latter, due to the notified integration with CMake as well as being specialized as C/C++ IDE. When it works okay, it would be worth the yearly charge for licensing.
I followed the instructions according to your #60204 link and I got it working, building & debugging from within the IDE. In this case, instead of Segger, ST-link V3 is used. In a separate discussion (because of ST target and project outside of `zephyr` tree) I'll report some experiences & topics to take into attention.
This does not mean yet that Eclipse is out of focus.
Am 05.03.2024, 18:30 Uhr, schrieb Benjamin Cabé ***@***.***>:
…
Just a quick reply to your to sidenotes:
>
> _Just as a sidenote: I'm not sticked to Eclipse. Another IDE could be used as well. But the docs >>page Tools and IDEs don't tell anything.
Hoping to get CLion documentation added soon #60204
Also hoping to refresh the Eclipse CDT instruction soon (have started something here a while ago but I need >to find some time to finish it)
>
> Just before writing this, I watched the video that summarizes the new 3.6 release. I was not able >>to identify the IDE that is used in the video._
I am using VS Code in this video.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
According to what I mentioned end of last week, yet I'm going to describe a (very) successful implementation of Eclipse integration, using STM32cubeIDE. Which should more or less also work with comparable debugging capabilities when e.g. MCUxpresso is being used - all of them operating with good capabilities out of the box, including peripheral view and live view. Introductory note: the instructions here (https://docs.zephyrproject.org/latest/develop/debug/index.html#debug-with-eclipse) seems to be obsolete when the steps as outlined hereafter are carried out. This also means: no (bloated) It is supposed that the eclipse (STM32cubeIDE) workspace is anywhere on the system, not as part of the After these steps are done, you should see The only remaining 'problem' is the fact that the underlying build process uses In Project Properties, C/C++ Build, Tab The resulting hex file is verified to be the same as upon using west build. Note: the decisive hints regarding the latter two tabs came from http://blog.peschla.net/2012/09/build-chromium-in-eclipse-with-ninja-and-clang/ (2012!). This old post suggests that no specific The screenshot below shows a shapshot of debugger usage with live view, in this case in a modbus application frontend that translates modbus addresses to addresses of VOLATILE registers, EEPROM area or e.g. OTP area. The values with yellow background changes when an |
Beta Was this translation helpful? Give feedback.
According to what I mentioned end of last week, yet I'm going to describe a (very) successful implementation of Eclipse integration, using STM32cubeIDE. Which should more or less also work with comparable debugging capabilities when e.g. MCUxpresso is being used - all of them operating with good capabilities out of the box, including peripheral view and live view.
Introductory note: the instructions here (https://docs.zephyrproject.org/latest/develop/debug/index.html#debug-with-eclipse) seems to be obsolete when the steps as outlined hereafter are carried out. This also means: no (bloated)
.project
and.cproject
in the build directory., but instead smaller project files in the target proj…