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 solved my own issue using a previous post on the forum:

here is a solution:
linker script:

region definitions:

RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
RAM_2 (xrw) : ORIGIN = 0x10000000, LENGTH = 32K


in section definitions:

.ram2_bss :
{
. = ALIGN(4);
*(.ram2_bss)
*(.ram2_bss*)

} >RAM_2


C source code:
static uint8_t attribute ((section (“.ram2_bss”), used)) ucHeap configTOTAL_HEAP_SIZE ;

regards,
Sylvain