-
Notifications
You must be signed in to change notification settings - Fork 98
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
Guide for doing embedded development in an IDE #54
Comments
I've been using IntelliJ IDEA Community with the Rust plugin for almost 9 months. It works really well. Only problem might be the different approach from using the RLS. What really is lacking, out there, is some form of Rust IDE debugging. Rust-DT was a good effort to use the Eclipse capabilities to also debug embedded systems. However, |
Debugging in CLION with intellij-rust works. |
I thought there were some problems with debugging in CLION. Anyway, I think CLION is not free. It doesn't have a community edition, so it would not be accessible to everybody equally. |
I've had success with VSCode using OpenOCD and STM32 MCUs on Windows. |
Hi @japaric, I set up the cortex-debug extension in vs-code and got it working, would love to write instructions but where should I write them up? |
I'd like to point 2 major use cases:
Both are important. Take a look at PlatformIO, it's available as plugin for atom/vscode/eclipse. It's not for Rust now, but solve some important usability issues:
It would be nice, if the same will be simple with rust to. |
My experience with ITM was that I would never really know how to setup the TPIU clock from gdb. Once I freeze the MCU to maximum speed (216Mhz) the ITM port didn't work properly. |
This issue was moved to rust-embedded/book#12 |
We have instructions for doing embedded development from the command line but we are missing
instructions for doing embedded development in an IDE.
I heard that VS Code plus the cortex-debug extension works nicely for embedded development but I
have no first hand experience.
We are looking for someone who can help us write down some instructions.
Tasks
Write instructions for setting up a Cargo project in VS code including instructions for
setting up the cortex-m extension, Xargo and the RLS. It could be any other IDE but VS code is the
IDE with official RLS support.
Bonus points if you write instructions for getting semihosting, ITM / SWO, register (SVD) view
to work.
Identify any changes that we could make to
cortex-m-quickstart
to make integration with VSCode, or any other IDE, easier. Like checking in some configuration file (?).
The text was updated successfully, but these errors were encountered: