RTEMS 6.1-rc5
Loading...
Searching...
No Matches
stm32_assert_template.h
1
21/* Define to prevent recursive inclusion -------------------------------------*/
22#ifndef __STM32_ASSERT_H
23#define __STM32_ASSERT_H
24
25#ifdef __cplusplus
26 extern "C" {
27#endif
28
29/* Exported types ------------------------------------------------------------*/
30/* Exported constants --------------------------------------------------------*/
31/* Includes ------------------------------------------------------------------*/
32/* Exported macro ------------------------------------------------------------*/
33#ifdef USE_FULL_ASSERT
42 #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
43/* Exported functions ------------------------------------------------------- */
44 void assert_failed(uint8_t* file, uint32_t line);
45#else
46 #define assert_param(expr) ((void)0U)
47#endif /* USE_FULL_ASSERT */
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* __STM32_ASSERT_H */
54
55
56
Definition: mongoose.c:448