STM32 VS Code Extension (No compiler found in cache file)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-21 12:55 PM
I am trying to get the STM32 VS Code Extension working on my macOS (Ventura 13.2.1). I have installed STM32CubeCLT and STM32CubeMX. I can compile my project successfully using the build command command. However when I press on the debug icon on the bottom toolbar, I get an error saying that "No compiler found in cache file Source Make Tools (Extension)" (See attached screenshot). I have examined the build/debug/build/CMakeCache.txt file and everything looks ok at first glance. Any insight or solutions as to what is going on would be welcomed.
- Labels:
-
VSCode for STM32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-16 12:31 AM
Have you got a chance to try brand new released solution (pre-released takes care you have to push right button to install it) ? STM32CubeCLT is not required anymore ! Some brand new integrated solution is promoted instead so called STM32Cube bundles serving the same but revisited experience. May help possibly any tool setup pain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-16 2:18 AM
Could you elaborate more? I can't understand with "Have you got a chance to try brand new released solution".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-16 2:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-16 2:27 AM
Ah thanks for the explanation.
No, I'm used to work just with stable releases. I'll try the pre-release version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-16 2:58 AM
@nico23 let us know all if helping.
Sounds @AlanCui4080 has got some good first experience with see https://community.st.com/t5/stm32cube-for-visual-studio-code/why-this-extension-do-not-use-environment-variables/td-p/800975
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-22 3:21 PM
I can confirm that upgrading to the newest pre-release STM32Cube VSCode Extension version (3.4.11) and uploading the ST-LINK firmware has resolved the "No compiler found in cache file" error. I can now build and debug in VSCode. This recent video walks you through the entire setup: https://www.youtube.com/watch?v=aWMni01XGeI

- « Previous
- Next »