Skip to content

Commit

Permalink
Merge pull request #1944 from fpistm/xpack_gcc_12.2.1-1.2
Browse files Browse the repository at this point in the history
platform: moved from arm-none-eabi-gcc 10.3.1-2.3 to 12.2.1-1.2
  • Loading branch information
fpistm committed Feb 10, 2023
2 parents 0b4f786 + cfa31c0 commit 2e03c80
Show file tree
Hide file tree
Showing 52 changed files with 156 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CI/update/templates/stm32yyxx_ll.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

/* Include Low Layers drivers */
{% for ll_header_name in ll_header_list %}
Expand Down
3 changes: 3 additions & 0 deletions CI/update/templates/stm32yyxx_ll_ppp.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

{% for serie in serieslist %}
{% if loop.first %}
Expand Down
1 change: 1 addition & 0 deletions cores/arduino/avr/dtostrf.c
Expand Up @@ -19,6 +19,7 @@
*/

#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

/* Include Low Layers drivers */
#include "stm32yyxx_ll_adc.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_adc.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_adc.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_bdma.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32H7xx
#include "stm32h7xx_ll_bdma.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_bus.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_bus.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_comp.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F0xx
#include "stm32f0xx_ll_comp.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_cordic.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32G4xx
#include "stm32g4xx_ll_cordic.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_cortex.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_crc.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_crc.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_crs.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F0xx
#include "stm32f0xx_ll_crs.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dac.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F0xx
#include "stm32f0xx_ll_dac.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dcache.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32U5xx
#include "stm32u5xx_ll_dcache.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32H7xx
#include "stm32h7xx_ll_delayblock.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dlyb.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32U5xx
#include "stm32u5xx_ll_dlyb.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dma.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_dma.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dma2d.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F4xx
#include "stm32f4xx_ll_dma2d.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_dmamux.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_exti.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_exti.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_fmac.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32G4xx
#include "stm32g4xx_ll_fmac.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_fmc.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F3xx
#include "stm32f3xx_ll_fmc.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_fmpi2c.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F4xx
#include "stm32f4xx_ll_fmpi2c.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_fsmc.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F1xx
#include "stm32f1xx_ll_fsmc.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_gpio.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_hrtim.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F3xx
#include "stm32f3xx_ll_hrtim.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_hsem.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32H7xx
#include "stm32h7xx_ll_hsem.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_i2c.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_icache.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32L5xx
#include "stm32l5xx_ll_icache.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32MP1xx
#include "stm32mp1xx_ll_ipcc.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_iwdg.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_lpgpio.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32U5xx
#include "stm32u5xx_ll_lpgpio.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_lptim.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F4xx
#include "stm32f4xx_ll_lptim.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32G0xx
#include "stm32g0xx_ll_lpuart.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_mdma.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32H7xx
#include "stm32h7xx_ll_mdma.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_opamp.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F3xx
#include "stm32f3xx_ll_opamp.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_pka.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32L4xx
#include "stm32l4xx_ll_pka.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_pwr.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_pwr.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32C0xx
#include "stm32c0xx_ll_rcc.h"
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rng.h
Expand Up @@ -4,6 +4,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32F2xx
#include "stm32f2xx_ll_rng.h"
Expand Down

0 comments on commit 2e03c80

Please sign in to comment.