Skip to content

Commit 7df29a0

Browse files
authoredAug 10, 2021
Merge pull request #1462 from fpistm/UpdateF4
Update STM32F4 HAL and CMSIS drivers
·
2.10.12.1.0
2 parents 3c69b9d + 0ac2537 commit 7df29a0

File tree

103 files changed

+65599
-20752
lines changed

Some content is hidden

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

103 files changed

+65599
-20752
lines changed
 

‎system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f401xc.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,14 @@ typedef struct
815815
* @{
816816
*/
817817

818+
/** @addtogroup Hardware_Constant_Definition
819+
* @{
820+
*/
821+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
822+
/**
823+
* @}
824+
*/
825+
818826
/** @addtogroup Peripheral_Registers_Bits_Definition
819827
* @{
820828
*/
@@ -2371,6 +2379,9 @@ typedef struct
23712379
#define FLASH_CR_EOPIE_Pos (24U)
23722380
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
23732381
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
2382+
#define FLASH_CR_ERRIE_Pos (25U)
2383+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
2384+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
23742385
#define FLASH_CR_LOCK_Pos (31U)
23752386
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
23762387
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

‎system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f401xe.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,14 @@ typedef struct
815815
* @{
816816
*/
817817

818+
/** @addtogroup Hardware_Constant_Definition
819+
* @{
820+
*/
821+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
822+
/**
823+
* @}
824+
*/
825+
818826
/** @addtogroup Peripheral_Registers_Bits_Definition
819827
* @{
820828
*/
@@ -2371,6 +2379,9 @@ typedef struct
23712379
#define FLASH_CR_EOPIE_Pos (24U)
23722380
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
23732381
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
2382+
#define FLASH_CR_ERRIE_Pos (25U)
2383+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
2384+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
23742385
#define FLASH_CR_LOCK_Pos (31U)
23752386
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
23762387
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

0 commit comments

Comments
 (0)