- CONFIG_CORTEX_M_NULL_POINTER_EXCEPTION¶
(No prompt – not directly user assignable.)
Type: bool
Help¶
Enable and use the null pointer exception option.
This is a debug feature in Cortex-M, allowing for
detecting null pointer dereferencing (raising a
CPU fault). Supporting the feature results in an
increased code footprint, determined by option
CORTEX_M_NULL_POINTER_EXCEPTION_PAGE_SIZE.
Note: this hidden option is selected by the choice
symbols corresponding to the DWT-based or to the
MPU-based solution.
Direct dependencies¶
CPU_CORTEX_M
&& ARM
(Includes any dependencies from ifs and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Symbols that select this symbol¶
Kconfig definition¶
At arch/arm/core/aarch32/cortex_m/Kconfig:395
Included via Kconfig:8
→ Kconfig.zephyr:29
→ arch/Kconfig:12
→ arch/arm/Kconfig:57
→ arch/arm/core/aarch32/Kconfig:261
Menu path: (Top) → ARM Options
config CORTEX_M_NULL_POINTER_EXCEPTION
bool
depends on CPU_CORTEX_M && ARM
help
Enable and use the null pointer exception option.
This is a debug feature in Cortex-M, allowing for
detecting null pointer dereferencing (raising a
CPU fault). Supporting the feature results in an
increased code footprint, determined by option
CORTEX_M_NULL_POINTER_EXCEPTION_PAGE_SIZE.
Note: this hidden option is selected by the choice
symbols corresponding to the DWT-based or to the
MPU-based solution.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)