soc: nrf: Enable default DWT null pointer exception detection
Default null pointer exception detection to the DWT solution instead of MPU based solution. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
19314514e6
commit
79ea590bef
1 changed files with 4 additions and 0 deletions
|
@ -42,4 +42,8 @@ config GPIO
|
||||||
default y
|
default y
|
||||||
depends on SPI
|
depends on SPI
|
||||||
|
|
||||||
|
choice CORTEX_M_DEBUG_NULL_POINTER_EXCEPTION_DETECTION
|
||||||
|
default CORTEX_M_DEBUG_NULL_POINTER_EXCEPTION_DETECTION_DWT if TEST_ARM_CORTEX_M && !ARM_NONSECURE_FIRMWARE && CPU_CORTEX_M_HAS_DWT
|
||||||
|
endchoice
|
||||||
|
|
||||||
endif # SOC_FAMILY_NRF
|
endif # SOC_FAMILY_NRF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue