Skip to content

Commit 563c8c0

Browse files
committed
chore: update SrcWrapper
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent b88f348 commit 563c8c0

6 files changed

Lines changed: 33 additions & 9 deletions

File tree

libraries/SrcWrapper/inc/stm32yyxx_util_fdcan.h renamed to libraries/SrcWrapper/inc/stm32yyxx_utils_fdcan.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef _STM32YYXX_UTIL_FDCAN_H_
2-
#define _STM32YYXX_UTIL_FDCAN_H_
1+
#ifndef _STM32YYXX_UTILS_FDCAN_H_
2+
#define _STM32YYXX_UTILS_FDCAN_H_
33
/* LL raised several warnings, ignore them */
44
#pragma GCC diagnostic push
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
@@ -12,4 +12,4 @@
1212
#include "stm32_utils_fdcan.h"
1313
#endif
1414
#pragma GCC diagnostic pop
15-
#endif /* _STM32YYXX_UTIL_FDCAN_H_ */
15+
#endif /* _STM32YYXX_UTILS_FDCAN_H_ */

libraries/SrcWrapper/inc/stm32yyxx_util_i2c.h renamed to libraries/SrcWrapper/inc/stm32yyxx_utils_i2c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef _STM32YYXX_UTIL_I2C_H_
2-
#define _STM32YYXX_UTIL_I2C_H_
1+
#ifndef _STM32YYXX_UTILS_I2C_H_
2+
#define _STM32YYXX_UTILS_I2C_H_
33
/* LL raised several warnings, ignore them */
44
#pragma GCC diagnostic push
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
@@ -12,4 +12,4 @@
1212
#include "stm32_utils_i2c.h"
1313
#endif
1414
#pragma GCC diagnostic pop
15-
#endif /* _STM32YYXX_UTIL_I2C_H_ */
15+
#endif /* _STM32YYXX_UTILS_I2C_H_ */

libraries/SrcWrapper/inc/stm32yyxx_util_i3c.h renamed to libraries/SrcWrapper/inc/stm32yyxx_utils_i3c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef _STM32YYXX_UTIL_I3C_H_
2-
#define _STM32YYXX_UTIL_I3C_H_
1+
#ifndef _STM32YYXX_UTILS_I3C_H_
2+
#define _STM32YYXX_UTILS_I3C_H_
33
/* LL raised several warnings, ignore them */
44
#pragma GCC diagnostic push
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
@@ -16,4 +16,4 @@
1616
#include "stm32u3xx_util_i3c.h"
1717
#endif
1818
#pragma GCC diagnostic pop
19-
#endif /* _STM32YYXX_UTIL_I3C_H_ */
19+
#endif /* _STM32YYXX_UTILS_I3C_H_ */
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* HAL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
5+
#ifdef STM32C5xx
6+
#include "stm32_utils_fdcan.c"
7+
#endif
8+
#pragma GCC diagnostic pop
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* HAL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
5+
#ifdef STM32C5xx
6+
#include "stm32_utils_i2c.c"
7+
#endif
8+
#pragma GCC diagnostic pop
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* HAL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
5+
#ifdef STM32C5xx
6+
#include "stm32_utils_i3c.c"
7+
#endif
8+
#pragma GCC diagnostic pop

0 commit comments

Comments
 (0)