Loading...
 

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


several projects with same drivers

France

Hi,

You should create a Static Library project for the same board/MCU with your drivers and three application projects for your applications. All projects should be created by importing the firmware libraries as static external libraries.

In this project create two folders: inc for header files and src for source files; then in Project >> Properties >> C/C++ General >> Paths and Symbols >> Includes add (for all languages and configuration) the workspace path to your inc directory (You can also use the ProjDirPath Eclipse variable by typing ${ProjDirPath}/inc in the Directory field of the Add dialog)

Then, for each application project, go in Project >> Properties >> C/C++ General >> Paths and Symbols >> References and select the library project created first. As the include files are not in the root folder of the library project you must also go in Project >> Properties >> C/C++ General >> Paths and Symbols >> Includes and add (for all languages and configurations) the workspace path to the inc directory of your library

Then when you build your applications SW4STM32 should automatically build first your library, then your application, linked with your library.

Hope this helps,

Bernard (Ac6)