Skip to content

Commit cfa31c0

Browse files
committed
chore: update wrapped files to ignore register warnings
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 4a6c80b commit cfa31c0

Some content is hidden

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

48 files changed

+144
-0
lines changed

cores/arduino/stm32/LL/stm32yyxx_ll.h

Lines changed: 3 additions & 0 deletions
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
#include "stm32yyxx_ll_adc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_adc.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_adc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_bdma.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32H7xx
912
#include "stm32h7xx_ll_bdma.h"

cores/arduino/stm32/LL/stm32yyxx_ll_bus.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_bus.h"

cores/arduino/stm32/LL/stm32yyxx_ll_comp.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32F0xx
912
#include "stm32f0xx_ll_comp.h"

cores/arduino/stm32/LL/stm32yyxx_ll_cordic.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32G4xx
912
#include "stm32g4xx_ll_cordic.h"

cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_cortex.h"

cores/arduino/stm32/LL/stm32yyxx_ll_crc.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_crc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_crs.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32F0xx
912
#include "stm32f0xx_ll_crs.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dac.h

Lines changed: 3 additions & 0 deletions
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
#ifdef STM32F0xx
912
#include "stm32f0xx_ll_dac.h"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy