Skip to content

Commit aa8ec6b

Browse files
committed
core: update hal source wrapped files to ignore unused warning
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 76bb5d4 commit aa8ec6b

File tree

107 files changed

+535
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+535
-0
lines changed

libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c

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

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c

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

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c

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

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_can.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* HAL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
15
#ifdef STM32F0xx
26
#include "stm32f0xx_hal_can.c"
37
#elif STM32F1xx
@@ -13,3 +17,4 @@
1317
#elif STM32L4xx
1418
#include "stm32l4xx_hal_can.c"
1519
#endif
20+
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cec.c

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

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp.c

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

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c

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

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc.c

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

0 commit comments

Comments
 (0)