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 come back about this problem to provide some update.

There is a good explanation of the problem and why this happens here:
https://stackoverflow.com/questions/18502999/git-extensions-win32-error-487-couldnt-reserve-space-for-cygwins-heap-win32Question

Especially post “Install 64-bit Git for Windows 2” suggests that we should use MSYS2 instead of MSYS1 that SW4STM32 seems to be using, to get rid of that problem the clean way.

Another solution, which is clumsy, is to remap the msys-1.0.dll file this way on my computer:

C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.13.2.20
1705091103\tools\make>”c:\program files\Microsoft SDKs\Windows\v6.0A\bin\x64\reb
ase.exe” -b 0x70000000 msys-1.0.dll

You can try remaping to 0x50000000 or 0x70000000 or whatever else. You need to do that only once.
It seemws to help a little bit at first, but in fact I still have to build the project up to 20 times until it is successful, which is a nightmare.
Else, once the build is ok I have all features working perfectly, with debug and everything else working great. So sad that this problem remains..

Do you know if it is soon planned to do this move to MSYS2 so that this error would be fixed? Or any other solution to provide?