Skip to content

Commit 4a6c80b

Browse files
committed
ci(wrapper): update template to ignore register
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 9c11950 commit 4a6c80b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CI/update/templates/stm32yyxx_ll.h

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#pragma GCC diagnostic push
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
7+
#ifdef __cplusplus
8+
#pragma GCC diagnostic ignored "-Wregister"
9+
#endif
710

811
/* Include Low Layers drivers */
912
{% for ll_header_name in ll_header_list %}

CI/update/templates/stm32yyxx_ll_ppp.h

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#pragma GCC diagnostic push
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
7+
#ifdef __cplusplus
8+
#pragma GCC diagnostic ignored "-Wregister"
9+
#endif
710

811
{% for serie in serieslist %}
912
{% if loop.first %}

0 commit comments

Comments
 (0)