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


Hi Bernard,

The reason it changed between 1.8 and no more in 1.14 or 2.0 was that, to avoid other problems, we included a bourne-compatible shell with make. So the fix proposed by jLn_38 is correct (include mkdir) but it’s not enough...

In fact you should adapt sligtly your makefile for it to work. There is two options there:

  1. Adapt your test to use the shell built-in test feature:
    if [ ! -d build ]; then mkdir build; fi
  2. Take advantage of the fact the mkdir is now a unix-like mkdir, which support the -p options, that allows you to just omit the test:
    mkdir -p build

Suppressing sh.exe from the plugin may fix your issue, but you will then have problems with, for example, projects generated by CubeMX; moreover, keeping the shell will allow you to use advanced makefile techniques.

In the future System Workbench for Linux may well require the shell to be able to compile correctly, so it’s probably better you correct your makefiles.

Hope this clarifies things,

Bernard (Ac6)