Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soc: stm32: Disable null pointer exception detection by default #32983

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions soc/arm/st_stm32/common/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ config SYS_CLOCK_TICKS_PER_SEC
default 4096 if STM32_LPTIM_TIMER && STM32_LPTIM_CLOCK_LSE
default 4000 if STM32_LPTIM_TIMER && STM32_LPTIM_CLOCK_LSI

# Disable null pointer exception detection by default as long as debug
# mode is left active by west runners (openocd mainly)
# cf https://github.com/zephyrproject-rtos/zephyr/issues/32984
choice CORTEX_M_DEBUG_NULL_POINTER_EXCEPTION_DETECTION
erwango marked this conversation as resolved.
Show resolved Hide resolved
default CORTEX_M_DEBUG_NULL_POINTER_EXCEPTION_DETECTION_NONE
endchoice

config CLOCK_CONTROL_STM32_CUBE
default y
depends on CLOCK_CONTROL
Expand Down