 |
Edge AI Add-on API 2.2.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
14#ifndef _NRF_DSP_DEBUG_H_
15#define _NRF_DSP_DEBUG_H_
23#ifndef NRF_DSP_ZERO_DIV_FLAG
24#define NRF_DSP_ZERO_DIV_FLAG 0
34#ifdef NRF_DSP_ENABLE_RUNTIME_CHECKS
35#define NRF_DSP_RETURN_IF(is_true, ret_val) RETURN_IF(is_true, ret_val)
37#define NRF_DSP_RETURN_IF(is_true, ret_val) ;
44#ifndef NRF_DSP_LOG_ENABLE
45#define NRF_DSP_LOG_ENABLE 0
48#if NRF_DSP_LOG_ENABLE == 1
50#define NRF_DSP_LOG(...) printf(__VA_ARGS__)
52#define NRF_DSP_LOG(...)
59#ifndef NRF_DSP_ASSERT_ENABLE
60#define NRF_DSP_ASSERT_ENABLE 0
63#if NRF_DSP_ASSERT_ENABLE == 1
65#define nrf_dsp_assert(x) assert(x)
67#define nrf_dsp_assert(x) ;