-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Add CLion to "Tools and IDEs" #60204
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @MarinaKalashina, and thank you very much for your first pull request to the Zephyr project!
A project maintainer just triggered our CI pipeline to run it against your PR and ensure it's compliant and doesn't cause any issues. You might want to take this opportunity to review the project's Contributor Expectations and make any updates to your pull request if necessary. 😊
|
@MarinaKalashina thanks for your contribution. Please take a look at this page to fix the compliance issues: |
Thank you, done |
Please make sure to "push force" your fixed & amended commit! :) |
|
I guess I messed up something during the force push :( |
I don't think so! Thanks! I've triggered CI again, but from a quick look at the sign-off entry, I think it will not pass the check as your email should be between < >, ex. "Signed-off-by: Marina Kalashina marina@foo.com", and I think your commit message still is too long, it needs to wrap at 75 characters per line. Thanks again! |
Ok, I'll try again, thank you! |
|
Hi @kartben! But in my commit message, the line is “Marina Kalashina marina.kalashina@jetbrains.com” (no dot between the first name and the last name). How should I change it for the tests to pass? Thank you! |
|
Hi @MarinaKalashina! You should be able to amend the author name like this: |
Thanks a lot! Hopefully it's ok now :) |
|
Hi @kartben, sorry to bother you again. |
kartben
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This actually looks pretty good, thanks @MarinaKalashina!
We actually treat documentation warnings as errors :) In your case, this is an easy fix which I've noted in one of my review comments. Please also squash your second commit onto the first one as there's really no need for two commits in this case. Thanks again for your patience and your work on this!
|
Hi @kartben! Sorry for the delay, back on track after my vacation :) |
|
Hi @MarinaKalashina, and welcome back!
I think something might be missing as I don't think adding the venv Scripts folder to CMAKE_PROGRAM_PATH would be enough? I have several other comments in a pending review -- mostly formatting / ReStructuredText stuff -- but I want to wait until I actually have the thing running before sending these. Thanks! |
|
@kartben , what does not work in your case?
|
I think I am finally getting the hang of it, and I have a debug session up and running now. If I'm not mistaken there are two issues with this particular section of the tutorial:
|
Related issue https://youtrack.jetbrains.com/issue/CPP-14593/Project-python-interpreter-should-be-passed-to-CMAKE |
That is a valid option, but quite hackish, since people usually start CLion either from GUI start menu or via Toolbox. At least we suppose it's done this way:).
The interpreter is supposed to be used in Python projects, not as a general tool. At the moment I can't recommend that as a reliable way. Thanks for the ticket you found, I'll look at, it might be it's good step towards better Zephyr support. Let's get back to it later(when implemented).
|
kartben
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very cool to see the progress on this! Some quick comments re: images and syntax for GUI elements, but I will try to give the updated tutorial a full pass again.
3534ed1 to
abea58a
Compare
kartben
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice to see the progress on this!
Please see another round of comments, but this looks much better and streamlined than previous version.
Would be great to see if the instructions could be adapted to actually work for Linux/macOS, or if not there should a clear statement upfront that these are Windows specific.
Thanks again!
doc/develop/tools/clion.rst
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MarinaKalashina looks like this comment woudl still need to be addressed?
d3a1154 to
67ea81c
Compare
|
Hello @kartben! Sorry for pinging, but could you please update me on the status of the review here? Thanks a lot! |
|
I am really interested on that. Having Zephyr + CLion could be amazing. |
@MarinaKalashina Sorry for the delay (and it shouldn't be for you to apologize for the ping) :) - I will try to give this another look so that we can get it in time for the upcoming 3.6 release! |
7790cab to
1b1c5f2
Compare
kartben
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @MarinaKalashina!
I think we're almost there. I've reformatted the file and implemented some minor formatting changes (lines wrapping at 100 characters), reorganized the links (they show up altogether at the end of the file), and rebased/squashed everything on top of main.
I think this is pretty much ready to go, could you please just redo the screenshot mentioned in my latest comment? The boards' naming scheme has been reworked so the board used in your example now has a new name.
Thanks for your patience
Hello @kartben, huge thanks for your help! I changed the board name on the screenshot, hope everything is ok and ready now :) |
This commit adds a tutorial on how to set up, build, and debug a sample Zephyr application in CLion. Signed-off-by: Marina Kalashina <marina.kalashina@jetbrains.com> Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
|
Hi @MarinaKalashina! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
doc: develop: tools: add CLion tutorial
This commit adds a tutorial on how to set up, build, and debug Zephyr ‘example-application’ in CLion.
📄 CI BUILD: https://builds.zephyrproject.io/zephyr/pr/60204/docs/develop/tools/clion.html#clion