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


Linux, MX and include paths

Hi folks,
I’m going through the procedure of generating and importing a project generated by MX (STM32CubeMX) and after impoort into eclipse, I went into Settings -> Tool Settings -> Includes and find:
------
....../../../../STM32Cube/Repository/STM32Cube_FW_F4_V1.5.0/Drivers/CMSIS/Device/ST/STM32F4xx/Include
------
for several include paths. This cannot work on Linux. I’m wondering if this is something that MX produced or is it related to the OpenSTM32 plugin?

Incidentally... Windows is mostly happy with forward slashes for file separators at the API level. Some programs (e.g File Explorer) may not like that, but the underlying libraries will work. Linux, unfortunately, already uses the backslash in strings to excape the following character so it cannot be made to use backslash as path seperator.

Thanks!

Edit: Settings -> Tool Settings -> MCU GCC Linker -> General had ‘..\STM32F429ZITx_FLASH.ld’ for linker script. Once changed to a forward slash the project built.

WRT the include paths, I wound up changing them to absolute paths. I could not figure out where the relative paths were relative from. I also had to add a {project}/Inc include path and IIRC I copied syscalls.c from another project. The cal to MSP_FMC_Init() wwas unresolved and I commented that out because I am not using it (SDRAM on the STM32F429I-DISCO)