Skip to main content
Visitor II
September 9, 2024
Solved

STM32 vscode extension does not launch CubeMX or MCUFinder (mac)

  • September 9, 2024
  • 4 replies
  • 4310 views

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

    This topic has been closed for replies.
    Best answer by Sarra.S

    Hello all, 

    For everyone that came across this issue, for "Launch STM32CubeMX", "Launch STMCUFinder", you have to set the executable path not only the path of the folder, it should be something like this for windows:  

    SarraS_0-1730885846607.png

    And something like this for mac: 

    Home\xx\STMCUFinder\STMCUFinder
    Home\xx\STM32CubeMX\STM32CubeMX
    

    Hope that helps! 

     

    4 replies

    Technical Moderator
    September 9, 2024

    Hello @CommercialIll4414 and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    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

    Visitor II
    September 9, 2024

    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

    Graduate II
    September 17, 2024

    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. 

    Sarra.SAnswer
    ST Employee
    November 6, 2024

    Hello all, 

    For everyone that came across this issue, for "Launch STM32CubeMX", "Launch STMCUFinder", you have to set the executable path not only the path of the folder, it should be something like this for windows:  

    SarraS_0-1730885846607.png

    And something like this for mac: 

    Home\xx\STMCUFinder\STMCUFinder
    Home\xx\STM32CubeMX\STM32CubeMX
    

    Hope that helps! 

     

    Explorer
    April 9, 2025

    How about you guys make the tool a little smarter to make setting up the dev environment a smoother experience? This is dumb.

    Explorer II
    December 10, 2025

    Agreed, the VS Code extension needs a lot of work.

    Graduate II
    December 10, 2025

    @ufanders2 ... ok ...
    A bit more details about pain you have leading to this comment please ?

    You just post this short message in reply to a post which is more than one year old. Since extensions have been revisited with major updates >3.x.y versions.

    Are you still discussing about this post topic "STM32 vscode extension does not launch CubeMX or MCUFinder (mac)" ? Have you issue here ?