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.
Defaults
No defaults. Implicitly defaults to n
.
Symbols that select this symbol
Kconfig definition
At <Zephyr>/arch/arm/core/aarch32/cortex_m/Kconfig:411
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:39
→ <Zephyr>/arch/Kconfig:12
→ <Zephyr>/arch/arm/Kconfig:57
→ <Zephyr>/arch/arm/core/aarch32/Kconfig:305
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.)