Skip to content
Commit f1a27a81 authored by Ioannis Glaropoulos's avatar Ioannis Glaropoulos Committed by Carles Cufí
Browse files

arm: cortex_m: assert if DebugMonitor exc is enabled in debug mode



Assert if the null pointer de-referencing detection (via DWT) is
enabled when the processor is in debug mode, because the debug
monitor exception can not be triggered in debug mode (i.e. the
behavior is unpredictable). Add a note in the Kconfig definition
of the null-pointer detection implementation via DWT, stressing
that the solution requires the core be in normal mode.

Signed-off-by: default avatarIoannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
parent 4b2d5d21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment