microsoft / vscode-embedded-tools

Official issue tracking repository for Microsoft's Embedded Tools VS Code extension.
MIT License
43 stars 3 forks source link

Open With Stm32CubeMx Does Not Work #73

Open mike-colls-kollmorgen opened 5 months ago

mike-colls-kollmorgen commented 5 months ago

Many thanks for your work on a great VSCode extension.

Steps to reproduce the behavior:

  1. If I right click an .ioc file in the explorer panel on the left-hand side of VSCode I get an "Open with STM32CubeMX" menu option.
  2. Click on 'Open with STM32CubeMX'
  3. STM32CubeMX does not open.
  4. I do get a panel pop up saying "Could not find path to "STM32CubeMX. Ensure STM32CubeIDE is installed."

Expected behavior When pressing "Open with STM32CubeMX" I would expect STM32CubeMX to open with the ioc file loaded.

Screenshots image image

Additional context

  1. I do have STM32CubeMX installed in C:\Users\user-name\AppData\Local\Programs\STM32CubeMX from https://www.st.com/content/st_com/en/stm32cubemx.html#st-get-software
  2. I do have C:\Users\user-name\AppData\Local\Programs\STM32CubeMX in my current path
  3. I do not have STM32CubeIDE installed.
  4. I do not need to install the huge Eclipse based IDE. I am using VSCode as my development IDE and using the STM32CubeCLT install to get the required tool chain. As far as I can tell everything else works with my setup apart from the "Open with STM32CubeMX" menu option. https://www.st.com/en/development-tools/stm32cubeclt.html