Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


GCC path Enviroment variable

Hi!

Is there a way to change the path of the GCC compiler?. This is defined by a native enviroment variable “openstm32_compiler_path” which points by default to the compiler version contained in a installation folder.

I tried to redefine it but I get the failure in the screnshot.



We would like this variable to point to another folder, so we can keep control of what version of the compiler we are using. Otherwise with a new update of the System Workbench we get a new compiler version and the behaviour of the software could be different

Thanks a lot!

Regards

David

Hi David,

For now, the only way to change the GCC compiler path is to modify the Path setting in your project Properties > C/C++ Build > Settings > Tool Settings > Path and set the absolute path to your compiler. When System Workbench is updated, this setting will not be changed.

Redefining the “openstm32_compiler_path” does not work for now. I did report it to the development team to fix it on a next version.

Regards,
Kevin.

Hi!

I tried this but it does not work. It seems the software does not care this variable (maybe because I am compiling generating automatic make files?).

I even remove the compiler path, leaving it empty, and it continues compiling using the built-in gcc compiler.

Did you do something else appart from changing this setting?

Thanks!

Any updates on this topic?

Thanks in advance!


Hi David,
I faced issues with GCC 5.4.1, so I downloaded and uncompressed the 5_4_2016q3 compiler version from :
https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-updateQuestion
Then, right-click on the project >> Properties >> C/C++ Build >> Settings >> MCU Settings
then replace ${openstm32_compiler_path} with the path to the bin folder of the uncompressed 5_4_2016q3 compiler version :
for me it gives :
${openstm32_compiler_path}
replaced with :
C:\Project\STM32\Tools\GCC\gcc-arm-none-eabi-5_4-2016q3-20160926-win32\bin
It is clearly using the new GCC version and it fixes my issue.