Skip to content

Commit 2448898

Browse files
committed
assert
1 parent 886cc3d commit 2448898

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

include/zephyr/arch/arm/error.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ extern "C" {
3535
*/
3636
#define ARCH_EXCEPT(reason_p) \
3737
do {\
38+
while(1) {} \
3839
arch_irq_unlock(0); \
3940
__asm__ volatile( \
4041
"mov r0, %[_reason]\n" \

modules/hal_nordic/nrf_802154/nrf_802154_assert_handler.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
__weak void nrf_802154_assert_handler(void)
1313
{
14+
while(1) {}
1415
#ifdef CONFIG_USERSPACE
1516
/* User threads aren't allowed to induce kernel panics; generate
1617
* an oops instead.

0 commit comments

Comments
 (0)