diff --git a/components/hal/esp32/include/hal/cpu_ll.h b/components/hal/esp32/include/hal/cpu_ll.h index 7a83ddbc43..49d2e3947d 100644 --- a/components/hal/esp32/include/hal/cpu_ll.h +++ b/components/hal/esp32/include/hal/cpu_ll.h @@ -170,7 +170,7 @@ static inline bool cpu_ll_is_debugger_attached(void) static inline void cpu_ll_break(void) { - __asm__ ("break 0,0"); + __asm__ ("break 1,15"); } static inline void cpu_ll_set_vecbase(const void* vecbase) diff --git a/components/hal/esp32s2/include/hal/cpu_ll.h b/components/hal/esp32s2/include/hal/cpu_ll.h index c70955eba2..ded1ca3ab4 100644 --- a/components/hal/esp32s2/include/hal/cpu_ll.h +++ b/components/hal/esp32s2/include/hal/cpu_ll.h @@ -165,7 +165,7 @@ static inline bool cpu_ll_is_debugger_attached(void) static inline void cpu_ll_break(void) { - __asm__ ("break 0,0"); + __asm__ ("break 1,15"); } static inline void cpu_ll_set_vecbase(const void* vecbase) diff --git a/components/hal/esp32s3/include/hal/cpu_ll.h b/components/hal/esp32s3/include/hal/cpu_ll.h index ea50870f93..cbcb8aa874 100644 --- a/components/hal/esp32s3/include/hal/cpu_ll.h +++ b/components/hal/esp32s3/include/hal/cpu_ll.h @@ -169,7 +169,7 @@ static inline bool cpu_ll_is_debugger_attached(void) static inline void cpu_ll_break(void) { - __asm__ ("break 0,0"); + __asm__ ("break 1,15"); } static inline void cpu_ll_set_vecbase(const void *vecbase)