Skip to content

Commit bbeecdc

Browse files
committed
[H7] Update STM32H7xx CMSIS to v1.5.0
Included in STM32CubeH7 FW V1.4.0 Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 52ff83b commit bbeecdc

40 files changed

+149326
-782
lines changed

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h742xx.h

Lines changed: 25521 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h743xx.h

Lines changed: 205 additions & 171 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h745xx.h

Lines changed: 26919 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h

Lines changed: 30092 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h750xx.h

Lines changed: 208 additions & 171 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h753xx.h

Lines changed: 208 additions & 171 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h755xx.h

Lines changed: 27188 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h757xx.h

Lines changed: 30361 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,25 @@
5858
application
5959
*/
6060

61-
#if !defined (STM32H743xx) && !defined (STM32H753xx) && !defined (STM32H750xx)
61+
#if !defined (STM32H743xx) && !defined (STM32H753xx) && !defined (STM32H750xx) && !defined (STM32H742xx) && \
62+
!defined (STM32H745xx) && !defined (STM32H755xx) && !defined (STM32H747xx) && !defined (STM32H757xx)
63+
/* #define STM32H742xx */ /*!< STM32H742VI, STM32H742ZI, STM32H742AI, STM32H742II, STM32H742BI, STM32H742XI Devices */
6264
/* #define STM32H743xx */ /*!< STM32H743VI, STM32H743ZI, STM32H743AI, STM32H743II, STM32H743BI, STM32H743XI Devices */
6365
/* #define STM32H753xx */ /*!< STM32H753VI, STM32H753ZI, STM32H753AI, STM32H753II, STM32H753BI, STM32H753XI Devices */
6466
/* #define STM32H750xx */ /*!< STM32H750V, STM32H750I, STM32H750X Devices */
67+
/* #define STM32H747xx */ /*!< STM32H747ZI, STM32H747AI, STM32H747II, STM32H747BI, STM32H747XI Devices */
68+
/* #define STM32H757xx */ /*!< STM32H757ZI, STM32H757AI, STM32H757II, STM32H757BI, STM32H757XI Devices */
69+
/* #define STM32H745xx */ /*!< STM32H745ZI, STM32H745II, STM32H745BI, STM32H745XI Devices */
70+
/* #define STM32H755xx */ /*!< STM32H755ZI, STM32H755II, STM32H755BI, STM32H755XI Devices */
6571
#endif
6672

6773
/* Tip: To avoid modifying this file each time you need to switch between these
6874
devices, you can define the device in your toolchain compiler preprocessor.
6975
*/
7076

77+
#if defined(DUAL_CORE) && !defined(CORE_CM4) && !defined(CORE_CM7)
78+
#error "Dual core device, please select CORE_CM4 or CORE_CM7"
79+
#endif
7180

7281
#if !defined (USE_HAL_DRIVER)
7382
/**
@@ -79,10 +88,10 @@
7988
#endif /* USE_HAL_DRIVER */
8089

8190
/**
82-
* @brief CMSIS Device version number V1.4.0
91+
* @brief CMSIS Device version number V1.5.0
8392
*/
8493
#define __STM32H7xx_CMSIS_DEVICE_VERSION_MAIN (0x01) /*!< [31:24] main version */
85-
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB1 (0x04) /*!< [23:16] sub1 version */
94+
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB1 (0x05) /*!< [23:16] sub1 version */
8695
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
8796
#define __STM32H7xx_CMSIS_DEVICE_VERSION_RC (0x00) /*!< [7:0] release candidate */
8897
#define __STM32H7xx_CMSIS_DEVICE_VERSION ((__CMSIS_DEVICE_VERSION_MAIN << 24)\
@@ -104,6 +113,16 @@
104113
#include "stm32h753xx.h"
105114
#elif defined(STM32H750xx)
106115
#include "stm32h750xx.h"
116+
#elif defined(STM32H742xx)
117+
#include "stm32h742xx.h"
118+
#elif defined(STM32H745xx)
119+
#include "stm32h745xx.h"
120+
#elif defined(STM32H755xx)
121+
#include "stm32h755xx.h"
122+
#elif defined(STM32H747xx)
123+
#include "stm32h747xx.h"
124+
#elif defined(STM32H757xx)
125+
#include "stm32h757xx.h"
107126
#else
108127
#error "Please select first the target STM32H7xx device used in your application (in stm32h7xx.h file)"
109128
#endif

system/Drivers/CMSIS/Device/ST/STM32H7xx/Release_Notes.html

Lines changed: 210 additions & 191 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)