This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 arch/arm/core/aarch32/cortex_m/Kconfig:411

Included via Kconfig:8Kconfig.zephyr:37arch/Kconfig:12arch/arm/Kconfig:57arch/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.)