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


Stack guard syntax

I’m trying to set a safe stack guard for stack.
I tried for example with or with out the ?
GUARD_SIZE = DEFINED(guard_size) ? guard_size:0x00000100;

.guard:
{
.=ALIGN(8);
FILL(0xC0DE);
.+=GUARD_SIZE-1;
BYTE(0xE)
}>m_data
But the ac6 tool chain linker in .ld file report it as an error.
Where can I find the right syntax for stack guard.

Elik