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


Error "Couldn't reserve space for cygwin's heap, Win32 error 0" after SW4STM32 update

I think I have been able to solve the issue using MSYS2 library instead of MSYS1 as I was suggesting SW4STM32 to do.

Here is the procedure I applied:

• Install the MSYS2 library for Windows: http://www.msys2.org/Question
• Open the make tool directory from SW4STM32. It should be located in a directory like the following:
C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.13.2.201705091103\tools\make
Browse until there to discover the real name of the directory on your computer or search for the “make.exe” file.
• Do a copy of that folder first somewhere else, like “make_orig”
• Replace the following files from the MSYS2 library into the “make” directory above. Take them from the “C:\msys64\usr\bin” directory:
- echo.exe
- msys-2.0.dll
- msys-iconv-2.dll
- msys-intl-8.dll
- rm.exe
- sh.exe
• Delete the following file from the “make” directory:
- msys-1.0.dll
• Restart SW4STM32 and run a new build of your project after a “clean”.

The error should not appear anymore. I rebuilt the project several times and it doesn’t appear anymore. Also tried several other projects successfully, error didn’t appear a single time.
I am running Windows 7 64bits.
BTW, system restart did not fix it for me.

Please tell if this works and then I hope SW4STM32 would include this fix in their next release.