Skip to content

Commit 23dab9e

Browse files
committed
core: update ll source wrapped files to ignore unused warning
Signed-off-by: Frederic Pillon <[email protected]>
1 parent ecf03eb commit 23dab9e

36 files changed

+180
-0
lines changed

libraries/SrcWrapper/src/LL/stm32yyxx_ll_adc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F0xx
26
#include "stm32f0xx_ll_adc.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_adc.c"
3135
#endif
36+
#pragma GCC diagnostic pop
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32H7xx
26
#include "stm32h7xx_ll_bdma.c"
37
#endif
8+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_comp.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F0xx
26
#include "stm32f0xx_ll_comp.c"
37
#elif STM32F3xx
@@ -19,3 +23,4 @@
1923
#elif STM32WBxx
2024
#include "stm32wbxx_ll_comp.c"
2125
#endif
26+
#pragma GCC diagnostic pop
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32G4xx
26
#include "stm32g4xx_ll_cordic.c"
37
#elif STM32H7xx
48
#include "stm32h7xx_ll_cordic.c"
59
#endif
10+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_crc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F0xx
26
#include "stm32f0xx_ll_crc.c"
37
#elif STM32F1xx
@@ -27,3 +31,4 @@
2731
#elif STM32WBxx
2832
#include "stm32wbxx_ll_crc.c"
2933
#endif
34+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_crs.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F0xx
26
#include "stm32f0xx_ll_crs.c"
37
#elif STM32G0xx
@@ -15,3 +19,4 @@
1519
#elif STM32WBxx
1620
#include "stm32wbxx_ll_crs.c"
1721
#endif
22+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_dac.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F0xx
26
#include "stm32f0xx_ll_dac.c"
37
#elif STM32F1xx
@@ -25,3 +29,4 @@
2529
#elif STM32L5xx
2630
#include "stm32l5xx_ll_dac.c"
2731
#endif
32+
#pragma GCC diagnostic pop
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32H7xx
26
#include "stm32h7xx_ll_delayblock.c"
37
#elif STM32MP1xx
48
#include "stm32mp1xx_ll_delayblock.c"
59
#endif
10+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F0xx
26
#include "stm32f0xx_ll_dma.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_dma.c"
3135
#endif
36+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma2d.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F4xx
26
#include "stm32f4xx_ll_dma2d.c"
37
#elif STM32F7xx
@@ -7,3 +11,4 @@
711
#elif STM32L4xx
812
#include "stm32l4xx_ll_dma2d.c"
913
#endif
14+
#pragma GCC diagnostic pop

0 commit comments

Comments
 (0)