Skip to content

Commit 0ac2537

Browse files
committed
system: F4: update STM32F4xx CMSIS Drivers to v2.6.7
Included in STM32CubeF4 FW v1.26.2 Signed-off-by: Frederic Pillon <[email protected]>
1 parent 7c2c0f7 commit 0ac2537

27 files changed

+4733
-552
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

system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f405xx.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,14 @@ typedef struct
10451045
* @{
10461046
*/
10471047

1048+
/** @addtogroup Hardware_Constant_Definition
1049+
* @{
1050+
*/
1051+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
1052+
/**
1053+
* @}
1054+
*/
1055+
10481056
/** @addtogroup Peripheral_Registers_Bits_Definition
10491057
* @{
10501058
*/
@@ -6460,6 +6468,9 @@ typedef struct
64606468
#define FLASH_CR_EOPIE_Pos (24U)
64616469
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
64626470
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
6471+
#define FLASH_CR_ERRIE_Pos (25U)
6472+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
6473+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
64636474
#define FLASH_CR_LOCK_Pos (31U)
64646475
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
64656476
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,14 @@ typedef struct
11491149
* @{
11501150
*/
11511151

1152+
/** @addtogroup Hardware_Constant_Definition
1153+
* @{
1154+
*/
1155+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
1156+
/**
1157+
* @}
1158+
*/
1159+
11521160
/** @addtogroup Peripheral_Registers_Bits_Definition
11531161
* @{
11541162
*/
@@ -6760,6 +6768,9 @@ typedef struct
67606768
#define FLASH_CR_EOPIE_Pos (24U)
67616769
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
67626770
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
6771+
#define FLASH_CR_ERRIE_Pos (25U)
6772+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
6773+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
67636774
#define FLASH_CR_LOCK_Pos (31U)
67646775
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
67656776
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f410cx.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,14 @@ typedef struct
713713
* @{
714714
*/
715715

716+
/** @addtogroup Hardware_Constant_Definition
717+
* @{
718+
*/
719+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
720+
/**
721+
* @}
722+
*/
723+
716724
/** @addtogroup Peripheral_Registers_Bits_Definition
717725
* @{
718726
*/
@@ -2450,6 +2458,9 @@ typedef struct
24502458
#define FLASH_CR_EOPIE_Pos (24U)
24512459
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
24522460
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
2461+
#define FLASH_CR_ERRIE_Pos (25U)
2462+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
2463+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
24532464
#define FLASH_CR_LOCK_Pos (31U)
24542465
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
24552466
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f410rx.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,14 @@ typedef struct
713713
* @{
714714
*/
715715

716+
/** @addtogroup Hardware_Constant_Definition
717+
* @{
718+
*/
719+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
720+
/**
721+
* @}
722+
*/
723+
716724
/** @addtogroup Peripheral_Registers_Bits_Definition
717725
* @{
718726
*/
@@ -2450,6 +2458,9 @@ typedef struct
24502458
#define FLASH_CR_EOPIE_Pos (24U)
24512459
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
24522460
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
2461+
#define FLASH_CR_ERRIE_Pos (25U)
2462+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
2463+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
24532464
#define FLASH_CR_LOCK_Pos (31U)
24542465
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
24552466
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f410tx.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,14 @@ typedef struct
703703
* @{
704704
*/
705705

706+
/** @addtogroup Hardware_Constant_Definition
707+
* @{
708+
*/
709+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
710+
/**
711+
* @}
712+
*/
713+
706714
/** @addtogroup Peripheral_Registers_Bits_Definition
707715
* @{
708716
*/
@@ -2440,6 +2448,9 @@ typedef struct
24402448
#define FLASH_CR_EOPIE_Pos (24U)
24412449
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
24422450
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
2451+
#define FLASH_CR_ERRIE_Pos (25U)
2452+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
2453+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
24432454
#define FLASH_CR_LOCK_Pos (31U)
24442455
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
24452456
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,14 @@ typedef struct
818818
* @{
819819
*/
820820

821+
/** @addtogroup Hardware_Constant_Definition
822+
* @{
823+
*/
824+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
825+
/**
826+
* @}
827+
*/
828+
821829
/** @addtogroup Peripheral_Registers_Bits_Definition
822830
* @{
823831
*/
@@ -2374,6 +2382,9 @@ typedef struct
23742382
#define FLASH_CR_EOPIE_Pos (24U)
23752383
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
23762384
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
2385+
#define FLASH_CR_ERRIE_Pos (25U)
2386+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
2387+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
23772388
#define FLASH_CR_LOCK_Pos (31U)
23782389
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
23792390
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f412cx.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,14 @@ typedef struct
10081008
* @{
10091009
*/
10101010

1011+
/** @addtogroup Hardware_Constant_Definition
1012+
* @{
1013+
*/
1014+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
1015+
/**
1016+
* @}
1017+
*/
1018+
10111019
/** @addtogroup Peripheral_Registers_Bits_Definition
10121020
* @{
10131021
*/
@@ -6524,6 +6532,9 @@ typedef struct
65246532
#define FLASH_CR_EOPIE_Pos (24U)
65256533
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
65266534
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
6535+
#define FLASH_CR_ERRIE_Pos (25U)
6536+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
6537+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
65276538
#define FLASH_CR_LOCK_Pos (31U)
65286539
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
65296540
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f412rx.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,14 @@ typedef struct
10621062
* @{
10631063
*/
10641064

1065+
/** @addtogroup Hardware_Constant_Definition
1066+
* @{
1067+
*/
1068+
#define LSI_STARTUP_TIME 40U /*!< LSI Maximum startup time in us */
1069+
/**
1070+
* @}
1071+
*/
1072+
10651073
/** @addtogroup Peripheral_Registers_Bits_Definition
10661074
* @{
10671075
*/
@@ -6578,6 +6586,9 @@ typedef struct
65786586
#define FLASH_CR_EOPIE_Pos (24U)
65796587
#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x01000000 */
65806588
#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
6589+
#define FLASH_CR_ERRIE_Pos (25U)
6590+
#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
6591+
#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
65816592
#define FLASH_CR_LOCK_Pos (31U)
65826593
#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x80000000 */
65836594
#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk

0 commit comments

Comments
 (0)