2025-12-19 6:58 AM
When I run build in a VSCode Dev Container with STM32CubeIDE installed, the build fails and i receive an error stating arm-none-eabi-gcc and arm-none-eabi-g++ was not found in the PATH.
The compilers are installed, I see them inside the bundles folder (under /root/.local/share/stm32cube/bundles/), the extension is just not picking them up.
This was previously working in a separate container but I can't seem to replicate it.
2025-12-19 8:54 AM - edited 2025-12-19 9:06 AM
Hi @maxhalanen,
Are you invoking cmake directly, or through cube / cube-cmake commands?
In the second cases, can you verify that your project is correctly set up with the toolchain, cmake, and ninja bundles? Run cube bundle show --project in your project directory or check the .settings/bundles.store.json file.
2025-12-19 10:20 AM
Hi @Julien D
There did appear to be a mismatch in the versions I have installed and the versions that were reported in the settings/bundles.store.json file. Running cube bundle show --project to showed missing on the compilers, it looks like it was searching for version 13.3.1 and I had 14.3.1 installed. Downgrading the versions seems to have worked for finding the compiler, the debugger is still not working (I'm passing the usb device into the container, it worked previously), Is there a command to update these json configs?