Flipper Developer Docs
Loading...
Searching...
No Matches
stm32_assert.h
Go to the documentation of this file.
1
21
/* Define to prevent recursive inclusion -------------------------------------*/
22
#ifndef STM32_ASSERT_H
23
#define STM32_ASSERT_H
24
25
#include <
core/check.h
>
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
31
/* Exported types ------------------------------------------------------------*/
32
/* Exported constants --------------------------------------------------------*/
33
/* Includes ------------------------------------------------------------------*/
34
/* Exported macro ------------------------------------------------------------*/
35
36
/* We're confident in the parameters we pass to LL functions, so we can skip asserts
37
* since they introduce significant bloat to debug builds */
38
39
#ifdef FURI_LL_DEBUG
40
#define assert_param furi_assert
41
#else
42
#define assert_param(__e) \
43
do { \
44
((void)(__e)); \
45
} while(0)
46
#endif
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
/* STM32_ASSERT_H */
check.h
Furi crash and assert functions.
targets
f7
inc
stm32_assert.h
Generated by
1.12.0