Loading...
 
Skip to main content

System Workbench for STM32


Unable to change compiler version

Dear STM32 community,

I have installed Eclipse System Workbench for STM32 which defaultly camed with GCC 5.2.1 compiler revision.
It is mandatory for me to change the compiler version from 5.2.1 20151202 (release) ARM/embedded-5-branch revision 231848 to 4.5.3 in order to have traceability among other tools that are using same version.

I have tried downloading the compiler manually and changing "Project >> Properties >> C/C++ Build >> Settings >> MCU Settings >> Path" with 4.5.3 new compiler path.
Changing "${openstm32_compiler_path}" to "C:\arm-none-eabi-gcc-4.5.3\bin".

I have attached the print screens taken before and after compiler change.

Looking forward for your reply!

I have an update!

While updating the compiler I was getting next error: "arm-none-eabi-gcc: nosys.specs: No such file or directory".
I see that the problem was that I was using default 4.5.3 GCC compiler and not the ToolChain one for STM32.
The source code for this special compilers can be found ((https://launchpad.net/gcc-arm-embedded/+download|here)).

With this compilers and updating only the first parameter of the variable PATH, I was able to build with success my project. 😎

Problem facing now is that GCC 4.5.3 compiler (which includes nosys.specs) is not supported by this website !

Can someone help me please ?! 🙄