Skip to content

Commit cfa31c0

Browse files
committed
chore: update wrapped files to ignore register warnings
Signed-off-by: Frederic Pillon <[email protected]>
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

+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
#include "stm32yyxx_ll_adc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_adc.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_adc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_bdma.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
#ifdef STM32H7xx
912
#include "stm32h7xx_ll_bdma.h"

cores/arduino/stm32/LL/stm32yyxx_ll_bus.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_bus.h"

cores/arduino/stm32/LL/stm32yyxx_ll_comp.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
#ifdef STM32F0xx
912
#include "stm32f0xx_ll_comp.h"

cores/arduino/stm32/LL/stm32yyxx_ll_cordic.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
#ifdef STM32G4xx
912
#include "stm32g4xx_ll_cordic.h"

cores/arduino/stm32/LL/stm32yyxx_ll_cortex.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_cortex.h"

cores/arduino/stm32/LL/stm32yyxx_ll_crc.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_crc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_crs.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
#ifdef STM32F0xx
912
#include "stm32f0xx_ll_crs.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dac.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
#ifdef STM32F0xx
912
#include "stm32f0xx_ll_dac.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dcache.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
#ifdef STM32U5xx
912
#include "stm32u5xx_ll_dcache.h"

cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.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
#ifdef STM32H7xx
912
#include "stm32h7xx_ll_delayblock.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dlyb.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
#ifdef STM32U5xx
912
#include "stm32u5xx_ll_dlyb.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dma.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_dma.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dma2d.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
#ifdef STM32F4xx
912
#include "stm32f4xx_ll_dma2d.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_dmamux.h"

cores/arduino/stm32/LL/stm32yyxx_ll_exti.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_exti.h"

cores/arduino/stm32/LL/stm32yyxx_ll_fmac.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
#ifdef STM32G4xx
912
#include "stm32g4xx_ll_fmac.h"

cores/arduino/stm32/LL/stm32yyxx_ll_fmc.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
#ifdef STM32F3xx
912
#include "stm32f3xx_ll_fmc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_fmpi2c.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
#ifdef STM32F4xx
912
#include "stm32f4xx_ll_fmpi2c.h"

cores/arduino/stm32/LL/stm32yyxx_ll_fsmc.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
#ifdef STM32F1xx
912
#include "stm32f1xx_ll_fsmc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_gpio.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_gpio.h"

cores/arduino/stm32/LL/stm32yyxx_ll_hrtim.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
#ifdef STM32F3xx
912
#include "stm32f3xx_ll_hrtim.h"

cores/arduino/stm32/LL/stm32yyxx_ll_hsem.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
#ifdef STM32H7xx
912
#include "stm32h7xx_ll_hsem.h"

cores/arduino/stm32/LL/stm32yyxx_ll_i2c.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_i2c.h"

cores/arduino/stm32/LL/stm32yyxx_ll_icache.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
#ifdef STM32L5xx
912
#include "stm32l5xx_ll_icache.h"

cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.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
#ifdef STM32MP1xx
912
#include "stm32mp1xx_ll_ipcc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_iwdg.h"

cores/arduino/stm32/LL/stm32yyxx_ll_lpgpio.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
#ifdef STM32U5xx
912
#include "stm32u5xx_ll_lpgpio.h"

cores/arduino/stm32/LL/stm32yyxx_ll_lptim.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
#ifdef STM32F4xx
912
#include "stm32f4xx_ll_lptim.h"

cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.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
#ifdef STM32G0xx
912
#include "stm32g0xx_ll_lpuart.h"

cores/arduino/stm32/LL/stm32yyxx_ll_mdma.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
#ifdef STM32H7xx
912
#include "stm32h7xx_ll_mdma.h"

cores/arduino/stm32/LL/stm32yyxx_ll_opamp.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
#ifdef STM32F3xx
912
#include "stm32f3xx_ll_opamp.h"

cores/arduino/stm32/LL/stm32yyxx_ll_pka.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
#ifdef STM32L4xx
912
#include "stm32l4xx_ll_pka.h"

cores/arduino/stm32/LL/stm32yyxx_ll_pwr.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_pwr.h"

cores/arduino/stm32/LL/stm32yyxx_ll_rcc.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_rcc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_rng.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
#ifdef STM32F2xx
912
#include "stm32f2xx_ll_rng.h"

cores/arduino/stm32/LL/stm32yyxx_ll_rtc.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_rtc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.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
#ifdef STM32F1xx
912
#include "stm32f1xx_ll_sdmmc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_spi.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
#ifdef STM32C0xx
912
#include "stm32c0xx_ll_spi.h"

0 commit comments

Comments
 (0)