nRF5 SDK v15.2.0
Modules | Macros | Functions

Functions for enabling stack violation control. More...

Modules

 Stack guard configuration
 

Macros

#define STACK_SIZE   (((int32_t)(STACK_TOP)) - (int32_t)((void *)(STACK_BASE)))
 
#define REAL_STACK_SIZE   STACK_SIZE
 
#define NRF_STACK_GUARD_INIT()   NRF_SUCCESS
 

Functions

ret_code_t nrf_stack_guard_init (void)
 Function for initializing the Stack Guard Page. More...
 

Detailed Description

Functions for enabling stack violation control.

Function Documentation

ret_code_t nrf_stack_guard_init ( void  )

Function for initializing the Stack Guard Page.

Note
When this module is enabled, the usable stack size is reduced by NRF_STACK_GUARD_CONFIG_SIZE.

Documentation feedback | Developer Zone | Subscribe | Updated