-
Notifications
You must be signed in to change notification settings - Fork 243
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
Support for STM32CubeCLT #1071
Comments
Thanks for letting me know about STM32CubeCLT. I will look into it. Q? What if the user has both the IDE and CLT installed? FYI: we don't detect if STM32CubeIDE is being used. No way to do that. We just look for an STM32CubeIDE install in its default location. I wish STM32CubeIDE itself used the CLT and that way, there will be one version of the truth. Btw, I just installed the CLT on my Mac and I couldn't tell where it was installed. Had to go hunting for it |
FYI: it gets installed under |
Yes, I now know. I found the path in the uninstall documentation. Not where I was expecting. |
Regarding your question on the IDE and CLT? My suggestion would be to see if the IDE stuff is there and, if so, use that. Otherwise continue and look for the CLT. My assumption is that one would use or the other, not both. But I might be mistaken. |
So many ways things can go. I may have installed the IDE and then switched to CLT without un-installing the IDE. Their versioning system may not be helpful either between the two. I will have to think about it.
This may be what we end up with....with the user being able to force CLT |
For what it's worth, I believe the intent of the CLT is to supporting 3rd-party IDEs such as VS Code. In such a case, it's likely that we could recommend installing only the CLT as the full STM32 Cube IDE is not needed. Therefore, it might make sense to look for the CLT first and then fall back to the full IDE if that is not found. Of course, actually installations and what people do will vary widely. Personally, I'm fine with either provided it's clear what the logic is making things predictable. |
Hopping on this to bump searching for CLT first. We use it both on developers' machines and our build server. It's installed to |
It is already merged and undergoing testing. https://github.com/Marus/cortex-debug/blob/master/CHANGELOG.md#v1130-pre4 stay tuned for a pre-release |
Is your feature request related to a problem? Please describe.
I'm working with the STM32CubeCLT tools from ST Micro. STM32CubeCLT is a toolset for third-party integrated development environment (IDE) providers, allowing the use of STMicroelectronics proprietary tools within their own IDE frameworks.
I am using these instead of the STM32CubeIDE as I'm using this under WSL2 with VS Code. I've had issues with the full IDE under WSL and found these instructions on how to setup the CLT tools with WSL.
All of this works, however, I have to manually set the configuration values as the paths are not automatically found. While this works, it needs to be updated every time the tool version changes. Cortex Debug is able to automatically find the paths for the tools under the full IDE.
Describe the solution you'd like
I'd like Cortex Debug to automatically detect the path when using the CLT. It is my understanding that the CLT is the recommended toolset when using 3rd party IDEs such as VS Code.
Describe alternatives you've considered
Manual configuration of Cortex Debug parameters. In my case, I've installed STM32CubeCLT version 1.17.0. This requires me to set the following parameter:
I believe Cortex Debug assumes a base path of
STM32CubeIDE_
and the CLT uses a different base install path.Additional context
Information on the STM32CubeCLT tools can be found here.
The text was updated successfully, but these errors were encountered: