- choice NULL_POINTER_EXCEPTION_DETECTION: Enable and use null-pointer exception
Enable and use null-pointer exception
Type: bool
Help
There are 2 implementations available, one based
on DWT and the other based on MPU. Use this choice
symbol to select one of the options. By default the
feature is disabled. In the test suite the feature
is enabled and the DWT-based solution is preferred.
Direct dependencies
BOARD_MPS2_AN521_CPU0
|| BOARD_MPS2_AN521_CPU0_NS
|| BOARD_MPS2_AN521_CPU1
|| BOARD_MPS3_AN547
|| BOARD_QEMU_CORTEX_M3
|| (CPU_CORTEX_M
&& ARM
)
(Includes any dependencies from ifs and menus.)
Defaults
Choice options
Kconfig definitions
At <Zephyr>/boards/arm/mps2_an521/Kconfig.defconfig:9
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:22
Menu path: (Top)
choice NULL_POINTER_EXCEPTION_DETECTION
bool
default NULL_POINTER_EXCEPTION_DETECTION_NONE if QEMU_TARGET
depends on BOARD_MPS2_AN521_CPU0 || BOARD_MPS2_AN521_CPU0_NS || BOARD_MPS2_AN521_CPU1
At <Zephyr>/boards/arm/mps3_an547/Kconfig.defconfig:12
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:22
Menu path: (Top)
choice NULL_POINTER_EXCEPTION_DETECTION
bool
default NULL_POINTER_EXCEPTION_DETECTION_NONE if QEMU_TARGET
depends on BOARD_MPS3_AN547
At <Zephyr>/boards/arm/qemu_cortex_m3/Kconfig.defconfig:16
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:22
Menu path: (Top)
choice NULL_POINTER_EXCEPTION_DETECTION
bool
default NULL_POINTER_EXCEPTION_DETECTION_NONE
depends on BOARD_QEMU_CORTEX_M3
At <Zephyr>/arch/arm/core/aarch32/cortex_m/Kconfig:347
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:39
→ <Zephyr>/arch/Kconfig:12
→ <Zephyr>/arch/arm/Kconfig:65
→ <Zephyr>/arch/arm/core/aarch32/Kconfig:305
Menu path: (Top) → ARM Options
choice NULL_POINTER_EXCEPTION_DETECTION
bool "Enable and use null-pointer exception"
default NULL_POINTER_EXCEPTION_DETECTION_MPU if TEST_ARM_CORTEX_M && !ARM_NONSECURE_FIRMWARE && ARM_MPU && !CPU_CORTEX_M_HAS_DWT
default NULL_POINTER_EXCEPTION_DETECTION_NONE
depends on CPU_CORTEX_M && ARM
help
There are 2 implementations available, one based
on DWT and the other based on MPU. Use this choice
symbol to select one of the options. By default the
feature is disabled. In the test suite the feature
is enabled and the DWT-based solution is preferred.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)