STM32MP1 support available in SW4STM32

   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 download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32

Compiling Demonstration for 32L0538DISCOVERY on SW4STM32


Hi Shirokuma, if possible split request and use best Title to help other search topic.

About cubemx add library you need adapt your project or new board to existing product selection by board type.
From your writing appear you are using an ST board so:
Select board where you are working instead of processor based seems the best way to have BSP included.
If other package from preloaded: select middleware, enable product and fill relative configure page.
Last resource is to use project manager and add there remaining software/ add as library on generated code.
Also check FAQ:
Best regards