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


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