Skip to content

Commit e3d23d9

Browse files
kernel/os: Call ble_ll_assert on assert on netcore
1 parent c0d7f86 commit e3d23d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kernel/os/src/arch/cortex_m33/os_fault.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ __assert_func(const char *file, int line, const char *func, const char *e)
175175
/* Stop MTB if implemented so interrupt handler execution is not recorded */
176176
mtb_stop();
177177

178+
#if MYNEWT_VAL(BLE_CONTROLLER)
179+
extern void ble_ll_assert(const char *file, unsigned line) __attribute((noreturn));
180+
ble_ll_assert(file, line);
181+
#endif
182+
178183
OS_ENTER_CRITICAL(sr);
179184
(void)sr;
180185
console_blocking_mode();

0 commit comments

Comments
 (0)