Skip to content

Commit 76bb5d4

Browse files
committed
scripts: stm32wrapper: add pragma to ignore unused warnings in HAL
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 1d4c0c5 commit 76bb5d4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

CI/utils/templates/stm32yyxx_zz_ppp.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
{% if type == "ll" %}
2-
/* LL raised several warnings, ignore them */
1+
/* {{type.upper()}} raised several warnings, ignore them */
32
#pragma GCC diagnostic push
43
#pragma GCC diagnostic ignored "-Wunused-parameter"
54

6-
{% endif %}
75
{% for serie in serieslist %}
86
{% if loop.first %}
97
#ifdef STM32{{serie.upper()}}xx
@@ -19,7 +17,5 @@
1917
#endif
2018
{% endif %}
2119
{% endfor %}
22-
{% if type == "ll" %}
2320
#pragma GCC diagnostic pop
24-
{% endif %}
2521

0 commit comments

Comments
 (0)