Skip to content

Commit

Permalink
soc: nrf: Enable default DWT null pointer exception detection
Browse files Browse the repository at this point in the history
Default null pointer exception detection to the DWT solution
instead of MPU based solution.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information
erwango authored and nashif committed Mar 9, 2021
1 parent 1931451 commit 79ea590
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions soc/arm/nordic_nrf/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ config GPIO
default y
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

0 comments on commit 79ea590

Please sign in to comment.