Skip to content

Commit c4425c4

Browse files
committed
Updated STM32F7xx CMSIS to v1.2.1
Included in STM32CubeF7 FW V1.8.0 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
1 parent a6d052a commit c4425c4

29 files changed

+39
-90
lines changed

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f722xx.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f722xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:
@@ -1026,8 +1024,8 @@ typedef struct
10261024
#define CRC_BASE (AHB1PERIPH_BASE + 0x3000U)
10271025
#define RCC_BASE (AHB1PERIPH_BASE + 0x3800U)
10281026
#define FLASH_R_BASE (AHB1PERIPH_BASE + 0x3C00U)
1029-
#define UID_BASE 0x1FF0F420U /*!< Unique device ID register base address */
1030-
#define FLASHSIZE_BASE 0x1FF0F442U /*!< FLASH Size register base address */
1027+
#define UID_BASE 0x1FF07A10U /*!< Unique device ID register base address */
1028+
#define FLASHSIZE_BASE 0x1FF07A22U /*!< FLASH Size register base address */
10311029
#define PACKAGE_BASE 0x1FFF7BF0U /*!< Package size register base address */
10321030
/* Legacy define */
10331031
#define PACKAGESIZE_BASE PACKAGE_BASE

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f723xx.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f723xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:
@@ -1040,8 +1038,8 @@ typedef struct
10401038
#define CRC_BASE (AHB1PERIPH_BASE + 0x3000U)
10411039
#define RCC_BASE (AHB1PERIPH_BASE + 0x3800U)
10421040
#define FLASH_R_BASE (AHB1PERIPH_BASE + 0x3C00U)
1043-
#define UID_BASE 0x1FF0F420U /*!< Unique device ID register base address */
1044-
#define FLASHSIZE_BASE 0x1FF0F442U /*!< FLASH Size register base address */
1041+
#define UID_BASE 0x1FF07A10U /*!< Unique device ID register base address */
1042+
#define FLASHSIZE_BASE 0x1FF07A22U /*!< FLASH Size register base address */
10451043
#define PACKAGE_BASE 0x1FFF7BF0U /*!< Package size register base address */
10461044
/* Legacy define */
10471045
#define PACKAGESIZE_BASE PACKAGE_BASE

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f732xx.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f732xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:
@@ -1058,8 +1056,8 @@ typedef struct
10581056
#define CRC_BASE (AHB1PERIPH_BASE + 0x3000U)
10591057
#define RCC_BASE (AHB1PERIPH_BASE + 0x3800U)
10601058
#define FLASH_R_BASE (AHB1PERIPH_BASE + 0x3C00U)
1061-
#define UID_BASE 0x1FF0F420U /*!< Unique device ID register base address */
1062-
#define FLASHSIZE_BASE 0x1FF0F442U /*!< FLASH Size register base address */
1059+
#define UID_BASE 0x1FF07A10U /*!< Unique device ID register base address */
1060+
#define FLASHSIZE_BASE 0x1FF07A22U /*!< FLASH Size register base address */
10631061
#define PACKAGE_BASE 0x1FFF7BF0U /*!< Package size register base address */
10641062
/* Legacy define */
10651063
#define PACKAGESIZE_BASE PACKAGE_BASE

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f733xx.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f733xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:
@@ -1072,8 +1070,8 @@ typedef struct
10721070
#define CRC_BASE (AHB1PERIPH_BASE + 0x3000U)
10731071
#define RCC_BASE (AHB1PERIPH_BASE + 0x3800U)
10741072
#define FLASH_R_BASE (AHB1PERIPH_BASE + 0x3C00U)
1075-
#define UID_BASE 0x1FF0F420U /*!< Unique device ID register base address */
1076-
#define FLASHSIZE_BASE 0x1FF0F442U /*!< FLASH Size register base address */
1073+
#define UID_BASE 0x1FF07A10U /*!< Unique device ID register base address */
1074+
#define FLASHSIZE_BASE 0x1FF07A22U /*!< FLASH Size register base address */
10771075
#define PACKAGE_BASE 0x1FFF7BF0U /*!< Package size register base address */
10781076
/* Legacy define */
10791077
#define PACKAGESIZE_BASE PACKAGE_BASE

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f745xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f745xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f746xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f746xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f756xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f756xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f765xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f765xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f767xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f767xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f769xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f769xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f777xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f777xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f779xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f779xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
86
*
97
* This file contains:

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@
22
******************************************************************************
33
* @file stm32f7xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
7-
* @brief CMSIS STM32F7xx Device Peripheral Access Layer Header File.
8-
*
5+
* @brief CMSIS STM32F7xx Device Peripheral Access Layer Header File.
6+
*
97
* The file is the unique include file that the application programmer
108
* is using in the C source code, usually in main.c. This file contains:
119
* - Configuration section that allows to select:
1210
* - The STM32F7xx device used in the target application
13-
* - To use or not the peripheral�s drivers in application code(i.e.
11+
* - To use or not the peripheral�s drivers in application code(i.e.
1412
* code will be based on direct access to peripheral�s registers
1513
* rather than drivers API), this option is controlled by
1614
* "#define USE_HAL_DRIVER"
17-
*
15+
*
1816
******************************************************************************
1917
* @attention
2018
*
@@ -52,14 +50,14 @@
5250
/** @addtogroup stm32f7xx
5351
* @{
5452
*/
55-
53+
5654
#ifndef __STM32F7xx_H
5755
#define __STM32F7xx_H
5856

5957
#ifdef __cplusplus
6058
extern "C" {
6159
#endif /* __cplusplus */
62-
60+
6361
/** @addtogroup Library_configuration_section
6462
* @{
6563
*/
@@ -72,7 +70,7 @@
7270
#endif /* STM32F7 */
7371

7472
/* Uncomment the line below according to the target STM32 device used in your
75-
application
73+
application
7674
*/
7775
#if !defined (STM32F756xx) && !defined (STM32F746xx) && !defined (STM32F745xx) && !defined (STM32F767xx) && \
7876
!defined (STM32F769xx) && !defined (STM32F777xx) && !defined (STM32F779xx) && !defined (STM32F722xx) && \
@@ -104,19 +102,19 @@
104102
#if !defined (USE_HAL_DRIVER)
105103
/**
106104
* @brief Comment the line below if you will not use the peripherals drivers.
107-
In this case, these drivers will not be included and the application code will
108-
be based on direct access to peripherals registers
105+
In this case, these drivers will not be included and the application code will
106+
be based on direct access to peripherals registers
109107
*/
110108
/*#define USE_HAL_DRIVER */
111109
#endif /* USE_HAL_DRIVER */
112110

113111
/**
114-
* @brief CMSIS Device version number V1.2.0
112+
* @brief CMSIS Device version number V1.2.1
115113
*/
116114
#define __STM32F7_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
117115
#define __STM32F7_CMSIS_VERSION_SUB1 (0x02) /*!< [23:16] sub1 version */
118-
#define __STM32F7_CMSIS_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
119-
#define __STM32F7_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
116+
#define __STM32F7_CMSIS_VERSION_SUB2 (0x01) /*!< [15:8] sub2 version */
117+
#define __STM32F7_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
120118
#define __STM32F7_CMSIS_VERSION ((__STM32F7_CMSIS_VERSION_MAIN << 24)\
121119
|(__STM32F7_CMSIS_VERSION_SUB1 << 16)\
122120
|(__STM32F7_CMSIS_VERSION_SUB2 << 8 )\
@@ -135,7 +133,7 @@
135133
#elif defined(STM32F732xx)
136134
#include "stm32f732xx.h"
137135
#elif defined(STM32F733xx)
138-
#include "stm32f733xx.h"
136+
#include "stm32f733xx.h"
139137
#elif defined(STM32F756xx)
140138
#include "stm32f756xx.h"
141139
#elif defined(STM32F746xx)
@@ -151,7 +149,7 @@
151149
#elif defined(STM32F777xx)
152150
#include "stm32f777xx.h"
153151
#elif defined(STM32F779xx)
154-
#include "stm32f779xx.h"
152+
#include "stm32f779xx.h"
155153
#else
156154
#error "Please select first the target STM32F7xx device used in your application (in stm32f7xx.h file)"
157155
#endif
@@ -162,30 +160,30 @@
162160

163161
/** @addtogroup Exported_types
164162
* @{
165-
*/
166-
typedef enum
163+
*/
164+
typedef enum
167165
{
168-
RESET = 0,
166+
RESET = 0U,
169167
SET = !RESET
170168
} FlagStatus, ITStatus;
171169

172-
typedef enum
170+
typedef enum
173171
{
174-
DISABLE = 0,
172+
DISABLE = 0U,
175173
ENABLE = !DISABLE
176174
} FunctionalState;
177175
#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
178176

179-
typedef enum
177+
typedef enum
180178
{
181-
ERROR = 0,
179+
ERROR = 0U,
182180
SUCCESS = !ERROR
183181
} ErrorStatus;
184182

185183
/**
186184
* @}
187185
*/
188-
186+
189187
/** @addtogroup Exported_macro
190188
* @{
191189
*/
@@ -203,14 +201,14 @@ typedef enum
203201

204202
#define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
205203

206-
#define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL)))
204+
#define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL)))
207205

208206
/**
209207
* @}
210208
*/
211209

212210
#ifdef USE_HAL_DRIVER
213-
#include "stm32f7xx_hal_conf.h"
211+
#include "stm32f7xx_hal.h"
214212
#endif /* USE_HAL_DRIVER */
215213

216214
#ifdef __cplusplus
@@ -223,7 +221,7 @@ typedef enum
223221
* @}
224222
*/
225223

226-
/**
224+
/**
227225
* @}
228226
*/
229227

system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/system_stm32f7xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file system_stm32f7xx.h
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief CMSIS Cortex-M7 Device System Source File for STM32F7xx devices.
86
******************************************************************************
97
* @attention

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

Lines changed: 5 additions & 2 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f722xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f722xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F722xx Devices vector table for GCC based toolchain.
86
* This module performs:
97
* - Set the initial SP

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f723xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f723xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F723xx Devices vector table for GCC based toolchain.
86
* This module performs:
97
* - Set the initial SP

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f732xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f732xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F732xx Devices vector table for GCC based toolchain.
86
* This module performs:
97
* - Set the initial SP

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f733xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f733xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F733xx Devices vector table for GCC based toolchain.
86
* This module performs:
97
* - Set the initial SP

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f745xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f745xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F745xx Devices vector table for GCC toolchain based application.
86
* This module performs:
97
* - Set the initial SP

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f746xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f746xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F746xx Devices vector table for GCC based toolchain.
86
* This module performs:
97
* - Set the initial SP

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f756xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f756xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F756xx Devices vector table for GCC based toolchain.
86
* This module performs:
97
* - Set the initial SP

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f765xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f765xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F765xx Devices vector table for GCC based toolchain.
86
* This module performs:
97
* - Set the initial SP

system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f767xx.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file startup_stm32f767xx.s
44
* @author MCD Application Team
5-
* @version V1.2.0
6-
* @date 30-December-2016
75
* @brief STM32F767xx Devices vector table for GCC based toolchain.
86
* This module performs:
97
* - Set the initial SP

0 commit comments

Comments
 (0)