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

[update] the stm32_hal library to the latest version. #5129

Merged
merged 5 commits into from
Oct 11, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 6 additions & 1 deletion bsp/stm32/libraries/.ignore_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@

dir_path:
- STM32F0xx_HAL
- STM32F1xx_HAL
- STM32F2xx_HAL
- STM32F3xx_HAL
- STM32F4xx_HAL
- STM32F7xx_HAL
- STM32G0xx_HAL
- STM32G4xx_HAL
- STM32H7xx_HAL
- STM32L0xx_HAL
- STM32L1xx_HAL
- STM32L4xx_HAL
- STM32MPxx_HAL
- STM32WBxx_HAL
- STM32H7xx_HAL
- STM32WLxx_HAL
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
extern "C" {
#endif /* __cplusplus */

/** @addtogroup Configuration_section_for_CMSIS
/** @addtogroup Configuration_section_for_CMSIS
* @{
*/
/**
Expand All @@ -64,7 +64,7 @@
* in @ref Library_configuration_section
*/

/*!< Interrupt Number Definition */
/*!< Interrupt Number Definition */
typedef enum
{
/****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
Expand Down Expand Up @@ -525,7 +525,16 @@ typedef struct
* @{
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
/** @addtogroup Hardware_Constant_Definition
* @{
*/
#define LSI_STARTUP_TIME 85U /*!< LSI Maximum startup time in us */

/**
* @}
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
* @{
*/

Expand Down Expand Up @@ -2262,7 +2271,7 @@ typedef struct
#define GPIO_AFRL_AFSEL7_Msk (0xFUL << GPIO_AFRL_AFSEL7_Pos) /*!< 0xF0000000 */
#define GPIO_AFRL_AFSEL7 GPIO_AFRL_AFSEL7_Msk

/* Legacy aliases */
/* Legacy aliases */
#define GPIO_AFRL_AFRL0_Pos GPIO_AFRL_AFSEL0_Pos
#define GPIO_AFRL_AFRL0_Msk GPIO_AFRL_AFSEL0_Msk
#define GPIO_AFRL_AFRL0 GPIO_AFRL_AFSEL0
Expand Down Expand Up @@ -5352,7 +5361,7 @@ typedef struct
* @}
*/

/**
/**
* @}
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
extern "C" {
#endif /* __cplusplus */

/** @addtogroup Configuration_section_for_CMSIS
/** @addtogroup Configuration_section_for_CMSIS
* @{
*/
/**
Expand All @@ -64,7 +64,7 @@
* in @ref Library_configuration_section
*/

/*!< Interrupt Number Definition */
/*!< Interrupt Number Definition */
typedef enum
{
/****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
Expand Down Expand Up @@ -541,7 +541,16 @@ typedef struct
* @{
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
/** @addtogroup Hardware_Constant_Definition
* @{
*/
#define LSI_STARTUP_TIME 85U /*!< LSI Maximum startup time in us */

/**
* @}
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
* @{
*/

Expand Down Expand Up @@ -2292,7 +2301,7 @@ typedef struct
#define GPIO_AFRL_AFSEL7_Msk (0xFUL << GPIO_AFRL_AFSEL7_Pos) /*!< 0xF0000000 */
#define GPIO_AFRL_AFSEL7 GPIO_AFRL_AFSEL7_Msk

/* Legacy aliases */
/* Legacy aliases */
#define GPIO_AFRL_AFRL0_Pos GPIO_AFRL_AFSEL0_Pos
#define GPIO_AFRL_AFRL0_Msk GPIO_AFRL_AFSEL0_Msk
#define GPIO_AFRL_AFRL0 GPIO_AFRL_AFSEL0
Expand Down Expand Up @@ -5419,7 +5428,7 @@ typedef struct
* @}
*/

/**
/**
* @}
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
extern "C" {
#endif /* __cplusplus */

/** @addtogroup Configuration_section_for_CMSIS
/** @addtogroup Configuration_section_for_CMSIS
* @{
*/
/**
Expand All @@ -64,7 +64,7 @@
* in @ref Library_configuration_section
*/

/*!< Interrupt Number Definition */
/*!< Interrupt Number Definition */
typedef enum
{
/****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
Expand Down Expand Up @@ -557,7 +557,16 @@ typedef struct
* @{
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
/** @addtogroup Hardware_Constant_Definition
* @{
*/
#define LSI_STARTUP_TIME 85U /*!< LSI Maximum startup time in us */

/**
* @}
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
* @{
*/

Expand Down Expand Up @@ -2543,7 +2552,7 @@ typedef struct
#define GPIO_AFRL_AFSEL7_Msk (0xFUL << GPIO_AFRL_AFSEL7_Pos) /*!< 0xF0000000 */
#define GPIO_AFRL_AFSEL7 GPIO_AFRL_AFSEL7_Msk

/* Legacy aliases */
/* Legacy aliases */
#define GPIO_AFRL_AFRL0_Pos GPIO_AFRL_AFSEL0_Pos
#define GPIO_AFRL_AFRL0_Msk GPIO_AFRL_AFSEL0_Msk
#define GPIO_AFRL_AFRL0 GPIO_AFRL_AFSEL0
Expand Down Expand Up @@ -3131,8 +3140,8 @@ typedef struct
#define RCC_CFGR_PPRE_DIV16_Msk (0x7UL << RCC_CFGR_PPRE_DIV16_Pos) /*!< 0x00000700 */
#define RCC_CFGR_PPRE_DIV16 RCC_CFGR_PPRE_DIV16_Msk /*!< HCLK divided by 16 */

#define RCC_CFGR_PLLSRC_Pos (15U)
#define RCC_CFGR_PLLSRC_Msk (0x3UL << RCC_CFGR_PLLSRC_Pos) /*!< 0x00018000 */
#define RCC_CFGR_PLLSRC_Pos (16U)
#define RCC_CFGR_PLLSRC_Msk (0x1UL << RCC_CFGR_PLLSRC_Pos) /*!< 0x00010000 */
#define RCC_CFGR_PLLSRC RCC_CFGR_PLLSRC_Msk /*!< PLL entry clock source */
#define RCC_CFGR_PLLSRC_HSI_DIV2 (0x00000000U) /*!< HSI clock divided by 2 selected as PLL entry clock source */
#define RCC_CFGR_PLLSRC_HSI_PREDIV (0x00008000U) /*!< HSI/PREDIV clock selected as PLL entry clock source */
Expand Down Expand Up @@ -5798,7 +5807,7 @@ typedef struct
* @}
*/

/**
/**
* @}
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
extern "C" {
#endif /* __cplusplus */

/** @addtogroup Configuration_section_for_CMSIS
/** @addtogroup Configuration_section_for_CMSIS
* @{
*/
/**
Expand All @@ -64,7 +64,7 @@
* in @ref Library_configuration_section
*/

/*!< Interrupt Number Definition */
/*!< Interrupt Number Definition */
typedef enum
{
/****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
Expand Down Expand Up @@ -535,7 +535,16 @@ typedef struct
* @{
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
/** @addtogroup Hardware_Constant_Definition
* @{
*/
#define LSI_STARTUP_TIME 85U /*!< LSI Maximum startup time in us */

/**
* @}
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
* @{
*/

Expand Down Expand Up @@ -2358,7 +2367,7 @@ typedef struct
#define GPIO_AFRL_AFSEL7_Msk (0xFUL << GPIO_AFRL_AFSEL7_Pos) /*!< 0xF0000000 */
#define GPIO_AFRL_AFSEL7 GPIO_AFRL_AFSEL7_Msk

/* Legacy aliases */
/* Legacy aliases */
#define GPIO_AFRL_AFRL0_Pos GPIO_AFRL_AFSEL0_Pos
#define GPIO_AFRL_AFRL0_Msk GPIO_AFRL_AFSEL0_Msk
#define GPIO_AFRL_AFRL0 GPIO_AFRL_AFSEL0
Expand Down Expand Up @@ -5678,7 +5687,7 @@ typedef struct
* @}
*/

/**
/**
* @}
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
extern "C" {
#endif /* __cplusplus */

/** @addtogroup Configuration_section_for_CMSIS
/** @addtogroup Configuration_section_for_CMSIS
* @{
*/
/**
Expand All @@ -64,7 +64,7 @@
* in @ref Library_configuration_section
*/

/*!< Interrupt Number Definition */
/*!< Interrupt Number Definition */
typedef enum
{
/****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
Expand Down Expand Up @@ -534,7 +534,16 @@ typedef struct
* @{
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
/** @addtogroup Hardware_Constant_Definition
* @{
*/
#define LSI_STARTUP_TIME 85U /*!< LSI Maximum startup time in us */

/**
* @}
*/

/** @addtogroup Peripheral_Registers_Bits_Definition
* @{
*/

Expand Down Expand Up @@ -2357,7 +2366,7 @@ typedef struct
#define GPIO_AFRL_AFSEL7_Msk (0xFUL << GPIO_AFRL_AFSEL7_Pos) /*!< 0xF0000000 */
#define GPIO_AFRL_AFSEL7 GPIO_AFRL_AFSEL7_Msk

/* Legacy aliases */
/* Legacy aliases */
#define GPIO_AFRL_AFRL0_Pos GPIO_AFRL_AFSEL0_Pos
#define GPIO_AFRL_AFRL0_Msk GPIO_AFRL_AFSEL0_Msk
#define GPIO_AFRL_AFRL0 GPIO_AFRL_AFSEL0
Expand Down Expand Up @@ -5643,7 +5652,7 @@ typedef struct
* @}
*/

/**
/**
* @}
*/

Expand Down
Loading