Skip to content

Commit f076540

Browse files
committed
soc: nrf: Disable DWT NULL pointer detection by default
Having DWT-based NULL-pointer detection enabled by default trips a lot of users since it will make any debugging fail when enabled. Disable it by default and let users enable it if they desire to. Fixes #39216. Signed-off-by: Carles Cufi <[email protected]>
1 parent bdf0cd2 commit f076540

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

soc/arm/nordic_nrf/Kconfig.defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,4 @@ config GPIO
4242
default y
4343
depends on SPI
4444

45-
choice NULL_POINTER_EXCEPTION_DETECTION
46-
default NULL_POINTER_EXCEPTION_DETECTION_DWT if TEST_ARM_CORTEX_M && !ARM_NONSECURE_FIRMWARE && CPU_CORTEX_M_HAS_DWT
47-
endchoice
48-
4945
endif # SOC_FAMILY_NRF

0 commit comments

Comments
 (0)