Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new stm32 nucleo l552ze board #1256

Closed
wants to merge 10 commits into from
Closed
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_adc.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_adc.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_adc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_bus.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_bus.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_bus.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_comp.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_comp.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_comp.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_comp.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_cortex.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_cortex.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_cortex.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_crc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_crc.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_crc.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_crc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_crs.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_crs.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_crs.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_crs.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dac.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_dac.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_dac.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_DAC_H_ */
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_dma.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_dma.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_dma.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_dmamux.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_dmamux.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_dmamux.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_exti.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_exti.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_exti.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_exti.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_fmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_fmc.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_fmc.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_fmc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_gpio.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_gpio.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_gpio.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_i2c.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_i2c.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_i2c.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_iwdg.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_iwdg.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_iwdg.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_lptim.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_lptim.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_lptim.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_lptim.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_lpuart.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_lpuart.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_lpuart.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_opamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_opamp.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_opamp.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_OPAMP_H_ */
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_pka.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_pka.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_pka.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_pka.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_pwr.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_pwr.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_pwr.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_pwr.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_rcc.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_rcc.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_rcc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rng.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_rng.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_rng.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_rng.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_rtc.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_rtc.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_rtc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_sdmmc.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_sdmmc.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_sdmmc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_spi.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_spi.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_spi.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_system.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_system.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_system.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_tim.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_tim.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_tim.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_tim.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_ucpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
#ifdef STM32G4xx
#include "stm32g4xx_ll_ucpd.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_ucpd.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_UCPD_H_ */
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_usart.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_usart.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_usart.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_usart.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_usb.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_usb.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_usb.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_utils.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_utils.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_utils.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_wwdg.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_wwdg.h"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_ll_wwdg.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_wwdg.h"
#endif
Expand Down
4 changes: 4 additions & 0 deletions cores/arduino/stm32/stm32_def_build.h
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,10 @@
#define CMSIS_STARTUP_FILE "startup_stm32l4s7xx.s"
#elif defined(STM32L4S9xx)
#define CMSIS_STARTUP_FILE "startup_stm32l4s9xx.s"
#elif defined(STM32L552xx)
#define CMSIS_STARTUP_FILE "startup_stm32l552xx.s"
#elif defined(STM32L562xx)
#define CMSIS_STARTUP_FILE "startup_stm32l562xx.s"
#elif defined(STM32MP151Axx)
#define CMSIS_STARTUP_FILE "startup_stm32mp151a_cm4 .s"
#elif defined(STM32MP151Cxx)
Expand Down
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal.c"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_hal.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_adc.c"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_hal_adc.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_adc.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_adc_ex.c"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_hal_adc_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_adc_ex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_comp.c"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_hal_comp.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_comp.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_cortex.c"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_hal_cortex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_cortex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_crc.c"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_hal_crc.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_crc.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_crc_ex.c"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_hal_crc_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_crc_ex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_cryp.c"
#endif
#ifdef STM32L5xx
#include "stm32l5xx_hal_cryp.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_cryp.c"
#endif
Expand Down
Loading