Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

support the new stm32L5xx serie#1249

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 9 commits intostm32duino:masterfromFRASTM:stm32L5
Feb 1, 2021
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletionscores/arduino/stm32/LL/stm32yyxx_ll_adc.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_bus.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_comp.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_cortex.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_crc.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_crs.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_dac.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_dma.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_exti.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_fmc.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_gpio.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_i2c.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_lptim.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_opamp.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_pka.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_pwr.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_rcc.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_rng.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_rtc.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_spi.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_system.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_tim.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_ucpd.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_usart.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_usb.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_utils.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionscores/arduino/stm32/LL/stm32yyxx_ll_wwdg.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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: 2 additions & 2 deletionscores/arduino/stm32/backup.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -125,7 +125,7 @@ static inline void setBackupRegister(uint32_t index, uint32_t value)
LL_RTC_BKP_SetRegister(BKP, index, value);
#elif defined(STM32G0xx)
LL_RTC_BKP_SetRegister(TAMP, index, value);
#elif defined(STM32G4xx)
#elif defined(STM32G4xx) || defined(STM32L5xx)
LL_RTC_BKP_SetRegister(RTC, index, value);
#else
#ifdef ENABLE_BACKUP_SUPPORT
Expand All@@ -143,7 +143,7 @@ static inline uint32_t getBackupRegister(uint32_t index)
return LL_RTC_BKP_GetRegister(BKP, index);
#elif defined(STM32G0xx)
return LL_RTC_BKP_GetRegister(TAMP, index);
#elif defined(STM32G4xx)
#elif defined(STM32G4xx) || defined(STM32L5xx)
return LL_RTC_BKP_GetRegister(RTC, index);
#else
#ifdef ENABLE_BACKUP_SUPPORT
Expand Down
2 changes: 2 additions & 0 deletionscores/arduino/stm32/stm32_def.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -46,6 +46,8 @@
#include "stm32l1xx.h"
#elif defined(STM32L4xx)
#include "stm32l4xx.h"
#elif defined(STM32L5xx)
#include "stm32l5xx.h"
#elif defined(STM32MP1xx)
#include "stm32mp1xx.h"
#elif defined(STM32WBxx)
Expand Down
4 changes: 4 additions & 0 deletionscores/arduino/stm32/stm32_def_build.h
View file
Open in desktop
Original file line numberDiff line numberDiff 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
9 changes: 8 additions & 1 deletioncores/arduino/stm32/stm32yyxx_hal_conf.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -96,6 +96,12 @@
#undef HAL_QSPI_MODULE_ENABLED
#endif

#if !defined(HAL_OSPI_MODULE_DISABLED)
/*#define HAL_OSPI_MODULE_ENABLED*/
#else
#undef HAL_OSPI_MODULE_ENABLED
#endif

/*
* Disabled HAL modules, handled thanks Arduino menu
*/
Expand DownExpand Up@@ -128,6 +134,7 @@
HAL_HCD_MODULE_ENABLED
HAL_HRTIM_MODULE_ENABLED
HAL_HSEM_MODULE_ENABLED
HAL_ICACHE_MODULE_ENABLED
HAL_IPCC_MODULE_ENABLED
HAL_IRDA_MODULE_ENABLED
HAL_IWDG_MODULE_ENABLED // IWD built-in library uses LL
Expand All@@ -141,7 +148,7 @@
HAL_NAND_MODULE_ENABLED
HAL_NOR_MODULE_ENABLED
HAL_OPAMP_MODULE_ENABLED
HAL_OSPI_MODULE_ENABLED
HAL_OTFDEC_MODULE_ENABLED
HAL_PCCARD_MODULE_ENABLED
HAL_PKA_MODULE_ENABLED
HAL_RAMECC_MODULE_ENABLED
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp