Skip to content

Commit 06c09fd

Browse files
committed
generated files wrapper
1 parent c15f2bc commit 06c09fd

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#ifndef _STM32YYXX_UTIL_FDCAN_H_
2+
#define _STM32YYXX_UTIL_FDCAN_H_
3+
/* LL raised several warnings, ignore them */
4+
#pragma GCC diagnostic push
5+
#pragma GCC diagnostic ignored "-Wunused-parameter"
6+
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
7+
#ifdef __cplusplus
8+
#pragma GCC diagnostic ignored "-Wregister"
9+
#endif
10+
11+
#ifdef STM32C5xx
12+
#include "stm32_utils_fdcan.h"
13+
#endif
14+
#pragma GCC diagnostic pop
15+
#endif /* _STM32YYXX_UTIL_FDCAN_H_ */
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#ifndef _STM32YYXX_UTIL_I2C_H_
2+
#define _STM32YYXX_UTIL_I2C_H_
3+
/* LL raised several warnings, ignore them */
4+
#pragma GCC diagnostic push
5+
#pragma GCC diagnostic ignored "-Wunused-parameter"
6+
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
7+
#ifdef __cplusplus
8+
#pragma GCC diagnostic ignored "-Wregister"
9+
#endif
10+
11+
#ifdef STM32C5xx
12+
#include "stm32_utils_i2c.h"
13+
#endif
14+
#pragma GCC diagnostic pop
15+
#endif /* _STM32YYXX_UTIL_I2C_H_ */

‎libraries/SrcWrapper/inc/stm32yyxx_util_i3c.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#pragma GCC diagnostic ignored "-Wregister"
99
#endif
1010

11-
#ifdef STM32H5xx
11+
#ifdef STM32C5xx
12+
#include "stm32_utils_i3c.h"
13+
#elif STM32H5xx
1214
#include "stm32h5xx_util_i3c.h"
1315
#elif STM32U3xx
1416
#include "stm32u3xx_util_i3c.h"

0 commit comments

Comments
 (0)