Hi,
I have added "config HW_STACK_PROTECTION" in KConfig file of the board.
Is there a way I can check during runtime if the Stack Protection is enabled? Is there any register to check this?
Hi,
I have added "config HW_STACK_PROTECTION" in KConfig file of the board.
Is there a way I can check during runtime if the Stack Protection is enabled? Is there any register to check this?
Hi,
I suggest trying to create a stack overflow in a test project. Then run the stack overflow both with and without this config and observe the difference.
See for example https://stackoverflow.com/questions/392859/generate-a-stack-overflow on how to do this.
Regards,
Sigurd Hellesvik
In both cases, I get usage fault exception. There is NO indication that a stack overflow error has been caught.
In both cases, I get usage fault exception. There is NO indication that a stack overflow error has been caught.