Skip to content

Commit 23dab9e

Browse files
committed
core: update ll source wrapped files to ignore unused warning
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
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

libraries/SrcWrapper/src/LL/stm32yyxx_ll_exti.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_exti.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_exti.c"
3135
#endif
36+
#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_fmac.c"
37
#elif STM32H7xx
48
#include "stm32h7xx_ll_fmac.c"
59
#endif
10+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmc.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 STM32F3xx
26
#include "stm32f3xx_ll_fmc.c"
37
#elif STM32F4xx
@@ -15,3 +19,4 @@
1519
#elif STM32MP1xx
1620
#include "stm32mp1xx_ll_fmc.c"
1721
#endif
22+
#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 STM32F4xx
26
#include "stm32f4xx_ll_fmpi2c.c"
37
#endif
8+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_fsmc.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 STM32F1xx
26
#include "stm32f1xx_ll_fsmc.c"
37
#elif STM32F2xx
@@ -7,3 +11,4 @@
711
#elif STM32L1xx
812
#include "stm32l1xx_ll_fsmc.c"
913
#endif
14+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_gpio.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_gpio.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_gpio.c"
3135
#endif
36+
#pragma GCC diagnostic pop
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F3xx
26
#include "stm32f3xx_ll_hrtim.c"
37
#elif STM32G4xx
48
#include "stm32g4xx_ll_hrtim.c"
59
#elif STM32H7xx
610
#include "stm32h7xx_ll_hrtim.c"
711
#endif
12+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_i2c.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_i2c.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_i2c.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 STM32L5xx
26
#include "stm32l5xx_ll_icache.c"
37
#endif
8+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_lptim.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_lptim.c"
37
#elif STM32F7xx
@@ -19,3 +23,4 @@
1923
#elif STM32WBxx
2024
#include "stm32wbxx_ll_lptim.c"
2125
#endif
26+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_lpuart.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 STM32G0xx
26
#include "stm32g0xx_ll_lpuart.c"
37
#elif STM32G4xx
@@ -13,3 +17,4 @@
1317
#elif STM32WBxx
1418
#include "stm32wbxx_ll_lpuart.c"
1519
#endif
20+
#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_mdma.c"
37
#endif
8+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_opamp.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 STM32F3xx
26
#include "stm32f3xx_ll_opamp.c"
37
#elif STM32G4xx
@@ -11,3 +15,4 @@
1115
#elif STM32L5xx
1216
#include "stm32l5xx_ll_opamp.c"
1317
#endif
18+
#pragma GCC diagnostic pop
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
/* LL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32L4xx
26
#include "stm32l4xx_ll_pka.c"
37
#elif STM32L5xx
48
#include "stm32l5xx_ll_pka.c"
59
#elif STM32WBxx
610
#include "stm32wbxx_ll_pka.c"
711
#endif
12+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_pwr.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_pwr.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_pwr.c"
3135
#endif
36+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_rcc.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_rcc.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_rcc.c"
3135
#endif
36+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_rng.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 STM32F2xx
26
#include "stm32f2xx_ll_rng.c"
37
#elif STM32F4xx
@@ -19,3 +23,4 @@
1923
#elif STM32WBxx
2024
#include "stm32wbxx_ll_rng.c"
2125
#endif
26+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_rtc.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_rtc.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_rtc.c"
3135
#endif
36+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_sdmmc.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 STM32F1xx
26
#include "stm32f1xx_ll_sdmmc.c"
37
#elif STM32F2xx
@@ -17,3 +21,4 @@
1721
#elif STM32MP1xx
1822
#include "stm32mp1xx_ll_sdmmc.c"
1923
#endif
24+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_spi.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_spi.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_spi.c"
3135
#endif
36+
#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_swpmi.c"
37
#elif STM32L4xx
48
#include "stm32l4xx_ll_swpmi.c"
59
#endif
10+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/LL/stm32yyxx_ll_tim.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_tim.c"
37
#elif STM32F1xx
@@ -29,3 +33,4 @@
2933
#elif STM32WBxx
3034
#include "stm32wbxx_ll_tim.c"
3135
#endif
36+
#pragma GCC diagnostic pop

0 commit comments

Comments
 (0)