Skip to content

Commit 02b6ba3

Browse files
committed
fix(wrapper): update after script fix
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 0793041 commit 02b6ba3

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
#include "stm32g4xx_hal.c"
2323
#elif STM32H5xx
2424
#include "stm32h5xx_hal.c"
25-
#elif STM32H5xx
26-
#include "stm32h5xx_hal.c"
2725
#elif STM32H7xx
2826
#include "stm32h7xx_hal.c"
2927
#elif STM32L0xx
@@ -40,8 +38,6 @@
4038
#include "stm32u0xx_hal.c"
4139
#elif STM32U3xx
4240
#include "stm32u3xx_hal.c"
43-
#elif STM32U3xx
44-
#include "stm32u3xx_hal.c"
4541
#elif STM32U5xx
4642
#include "stm32u5xx_hal.c"
4743
#elif STM32WBxx
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* HAL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
5+
#ifdef STM32H5xx
6+
#include "stm32h5xx_util_i3c.c"
7+
#elif STM32U3xx
8+
#include "stm32u3xx_util_i3c.c"
9+
#endif
10+
#pragma GCC diagnostic pop

0 commit comments

Comments
 (0)