2024-12-19 06:54 AM
Hi,
I have STM32CubeIDE v1.13.2 installed and working quite fine.
By default, it is using GCC ARM for STM32 v11.3rel1 (included in the default installation).
I am trying to upgrade the Toolchain with more recent patched STM32 compilers.
I have tried installing both GCC ARM for STM32 v12.3rel1 and GCC ARM for STM32 v13.3rel1 toolchains.
With default v11.3rel1 and newest 13.3rel1, compilation is OK.
But when using v12.3rel1, I encounter the following error:
"c:/st/stm32cubeide_1.13.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.0.202305091550/tools/bin/sh: nullgcc: not found"
The toolchains installation seems fine, and I assume I have some issues with environment variables.
When using v11.3rel1 and v13.3rel1 versions, the PATH variable (set to BUILD_SYSTEM by default) includes the "right" directories.
For example, I have (with 13.3rel1):
"C:\ST\STM32CubeIDE_1.13.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344\tools\bin;
C:\ST\STM32CubeIDE_1.13.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.0.202305091550\tools\bin;"
But when switching to 12.3rel1, the first line is missing by default.
I have tried modifying the PATH variable in order to add this missing path = "C:\ST\STM32CubeIDE_1.13.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin;"
Unfortunately, is does not change anything. The compilation error (with nullgcc mention) is still present.
What am I doing wrong here? Have I missed something. Perhaps is it a known issue?
Thank you very much for your help and advice on this topic.
Best regards,
Laurent
2024-12-19 07:17 AM
@lmartinod wrote:I have STM32CubeIDE v1.13.2
That's pretty old.
Why not just update to the latest CubeIDE - currently 1.17.0 ?
https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-17-0-released/td-p/747656
2024-12-19 07:37 AM
Of course I would if not other constraints... I am still using Windows 7 and STM32CubeIDE v1.13.2 is the latest version I was able to fully run "smoothly" on Windows 7 PC... With more recent versions, I encounter incompatibilities or issues...