Hello,
is there any way to access the Stack and Heap Start/End memory addresses from the zephyr code?
I have found the __INITIAL_SP definition that gives the Stack start in cmsis_gcc_m.h.
In the same file there is the __StackLimit, but when I include it in my code, I get an undefined error.
undefined reference to `__StackLimit'
In Keil there where the following definitions in arm_startup_nrf52.s:
__initial_sp
Stack_Size
__heap_base
Heap_Size
Are there something similar in Zephyr?
Best Regards