Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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