1 /*
2 * Copyright (c) 2020 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7 #include <zephyr/sys/__assert.h>
8 #include <zephyr/kernel.h>
9
10 #include <nrf_802154_serialization_error.h>
11
nrf_802154_serialization_error(const nrf_802154_ser_err_data_t * err)12 void nrf_802154_serialization_error(const nrf_802154_ser_err_data_t *err)
13 {
14 (void)err;
15 __ASSERT(false, "802.15.4 serialization error");
16 k_oops();
17 }
18
nrf_802154_sl_fault_handler(uint32_t id,int32_t line,const char * err)19 void nrf_802154_sl_fault_handler(uint32_t id, int32_t line, const char *err)
20 {
21 __ASSERT(false, "module_id: %u, line: %d, %s", id, line, err);
22 k_oops();
23 }
24