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


FreeRTOS with enabling cpp, all functions are not working

Microcontroller : STM32F415RGTx

When I was debugging this issue more in detail, then it seems to be like some heap memory allocation is done in wrong way. So maybe I would have to change heap_1/heap_2/heap_3/heap_4/heap_5.c files. So I have tried all of them but no one is working with enabling c++ option.

Still for more clarification when I am testing normal LED blinking task with -C99 option then it is working and as sson as I am doing -cpp same code is not working and that code is stucking somewhere in below code(startup_stm32f415xx.s),

SVC_Handler PROC
EXPORT SVC_Handler WEAK
B .
ENDP

So please any help would be appreciated. Thanks.

France

What do you mean by “doing -cpp”?

Do you just convert the project to C++ and recompile or do you make any other change in the project?

FreeRTOS source code is C code and should always be compiled as C code, not as C++ code, so do not rename any .c file as .cpp, except perhaps for the main.c and, of course, your own source code.

Hope this helps,

Bernard (Ac6)