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 Architecture>/arm/core/aarch32/cortex_m/Kconfig:411
Included via Kconfig:8 → Kconfig.zephyr:39 → <Zephyr Architecture>/Kconfig:12 → <Zephyr Architecture>/arm/Kconfig:57 → <Zephyr Architecture>/arm/core/aarch32/Kconfig:294
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.)