CONFIG_CORTEX_M_NULL_POINTER_EXCEPTION_PAGE_SIZE

Size of paged unmapped to implement null pointer detection

Type: hex

Help

Size of the page reserved for detecting null pointer
dereferencing. Must be a power of two. A large value
offers enhanced detection performance to the cost of
wasting a large flash area that code may not use.

Direct dependencies

CORTEX_M_NULL_POINTER_EXCEPTION && CPU_CORTEX_M && ARM

(Includes any dependencies from ifs and menus.)

Default

  • 0x400

Kconfig definition

At <Zephyr>/arch/arm/core/aarch32/cortex_m/Kconfig:411

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:37<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:57<Zephyr>/arch/arm/core/aarch32/Kconfig:261

Menu path: (Top) → ARM Options

config CORTEX_M_NULL_POINTER_EXCEPTION_PAGE_SIZE
    hex "Size of paged unmapped to implement null pointer detection"
    default 0x400
    depends on CORTEX_M_NULL_POINTER_EXCEPTION && CPU_CORTEX_M && ARM
    help
      Size of the page reserved for detecting null pointer
      dereferencing. Must be a power of two. A large value
      offers enhanced detection performance to the cost of
      wasting a large flash area that code may not use.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)