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


STM32L4 linker script for 128 KB RAM

I tried to allocate my OS heap in SRAM2 that way:

Source C code:
static uint8_t attribute ((section (“RAM_2”))) ucHeap configTOTAL_HEAP_SIZE ;

Linker script: definiing the section:
RAM_2 (xrw) : ORIGIN = 0x10000000, LENGTH = 32K

But doing this is NOT working: gcc allocate a section RAM_2 in classic RAM section and ucHeap won’t reside in RAM_2 section defined in linker script.

Can you provide the right way to do this ?

thanks and regards,
Sylvain