2024-09-09 04:59 AM
i've just installed all necessary requirements for the STM32 vscode extension however it doesn't seem to launch cube mx or mcu finder when i click launch from vscode. not sure if its incorrect paths or permission issues?
please see the screenshot for the path settings
2024-09-09 06:33 AM
Hello @CommercialIll4414 and welcome to the ST Community
Have you downloaded and installed the STM32CubeMX and STMCUFinder on your machine. If no, please do it. If yes, please uninstall and re-install them.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-09-09 06:39 AM
i did download and install them. i will try uninstalling and re-installing them. is there a recommended way to both uninstall and re-install them? it seems a bit unclear from the information i've found online
2024-09-09 07:26 AM
i can confirm i did a clean uninstall for both MX and Finder using their uninstallers (found in the package contents). i reinstalled them (also following this tip for opening the SetupSTMCUFinder installer file). i then gave vscode and MX full permissions on disk access and linked their paths in the vscode extension:
/Applications/STMicroelectronics/STM32CubeMX.app
/Applications/STMicroelectronics/STMCUFinder.app
/opt/ST/STM32CubeCLT_1.16.0
however im still running into the same issue where when i click "Launch STM32CubeMX" or "Launch STMCUFinder" nothing happens...
is this how its supposed to work or have i misunderstood?
2024-09-11 01:03 AM
any thoughts on this would be appreciated!
2024-09-17 09:47 AM
I have the STM32 VS Code extensions installed on my Macbook, along with STM32CubeMX and STMCUFinder, both installed in their default installation path ($HOME).
STM32CubeMX launched fine. But I had to change the settings for the location of STMCUFinder in order for it to work.
/Users/rob/STMCUFinder.app -> /Users/rob/STMCUFinder.app/Contents/Resources/STMCUFinder
This is the configuration for STM32CubeMX:
/Users/rob/STM32CubeMX.app/Contents/Resources/STM32CubeMX
In VS Code, open settings, search for STMCUFinder and change the installation path. It sounds like you will need to do the same for STM32CubeMX as well.