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


CubeMX F4 projec with freertos will not build cos of asm instruction

With following assembler options
arm-none-eabi-as -g -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard
i am getting the error:
startup/os_cpu_a.s:231: Error: selected processor does not support `vstmdb R0!,{S16-S31}’ in Thumb mode
startup/os_cpu_a.s:252: Error: selected processor does not support `vldmia R0!,{S16-S31}’ in Thumb mode

please help

Experienced a similar thing. In my case it was because a sub folder in the Eclipse workspace was overwridding the build settings - which was something it decided to do itself. Have a look at the command line used for the file that is not building, and you will probably find it doesn’t have the options you list in your post. Do any of the folder icons in the Eclipse browser look different to any other? If so, right click on it, then in the pop up menu select the configurations option and click ‘reset to default’. Then it will just inehrit the compiler options from the project.

Thank you for the reply.
Though it is an Eclipse project, i am using a makefile. So the the file should build with the assembler flags that i am providing.