Skip to content

Commit 2e03c80

Browse files
authored
Merge pull request #1944 from fpistm/xpack_gcc_12.2.1-1.2
platform: moved from arm-none-eabi-gcc 10.3.1-2.3 to 12.2.1-1.2
2 parents 0b4f786 + cfa31c0 commit 2e03c80

Some content is hidden

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

52 files changed

+156
-4
lines changed

Diff for: 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 %}

Diff for: 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 %}

Diff for: cores/arduino/avr/dtostrf.c

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*/
2020

2121
#include <stdio.h>
22+
#include <stdint.h>
2223
#include <stdlib.h>
2324
#include <string.h>
2425

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

Diff for: 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"

0 commit comments

Comments
 (0)