Skip to content

Commit 39d981c

Browse files
committed
STM32Cube_FW_F4_V1.16.0
CMSIS v2.5.0 => v2.6.1 STM32F4 HAL v1.5.0 => v1.7.1
1 parent d04d588 commit 39d981c

File tree

242 files changed

+234679
-79767
lines changed

Some content is hidden

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

242 files changed

+234679
-79767
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/stm32f411xe.h

Lines changed: 7076 additions & 3225 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/stm32f4xx.h

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f4xx.h
44
* @author MCD Application Team
5-
* @version V2.5.0
6-
* @date 22-April-2016
5+
* @version V2.6.1
6+
* @date 14-February-2017
77
* @brief CMSIS STM32F4xx Device Peripheral Access Layer Header File.
88
*
99
* The file is the unique include file that the application programmer
@@ -18,7 +18,7 @@
1818
******************************************************************************
1919
* @attention
2020
*
21-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
21+
* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
2222
*
2323
* Redistribution and use in source and binary forms, with or without modification,
2424
* are permitted provided that the following conditions are met:
@@ -79,7 +79,7 @@
7979
!defined (STM32F401xC) && !defined (STM32F401xE) && !defined (STM32F410Tx) && !defined (STM32F410Cx) && \
8080
!defined (STM32F410Rx) && !defined (STM32F411xE) && !defined (STM32F446xx) && !defined (STM32F469xx) && \
8181
!defined (STM32F479xx) && !defined (STM32F412Cx) && !defined (STM32F412Rx) && !defined (STM32F412Vx) && \
82-
!defined (STM32F412Zx)
82+
!defined (STM32F412Zx) && !defined (STM32F413xx) && !defined (STM32F423xx)
8383
/* #define STM32F405xx */ /*!< STM32F405RG, STM32F405VG and STM32F405ZG Devices */
8484
/* #define STM32F415xx */ /*!< STM32F415RG, STM32F415VG and STM32F415ZG Devices */
8585
/* #define STM32F407xx */ /*!< STM32F407VG, STM32F407VE, STM32F407ZG, STM32F407ZE, STM32F407IG and STM32F407IE Devices */
@@ -106,6 +106,9 @@
106106
/* #define STM32F412Zx */ /*!< STM32F412ZET, STM32F412ZGT, STM32F412ZEJ and STM32F412ZGJ Devices */
107107
/* #define STM32F412Vx */ /*!< STM32F412VET, STM32F412VGT, STM32F412VEH and STM32F412VGH Devices */
108108
/* #define STM32F412Rx */ /*!< STM32F412RET, STM32F412RGT, STM32F412REY and STM32F412RGY Devices */
109+
/* #define STM32F413xx */ /*!< STM32F413CH, STM32F413MH, STM32F413RH, STM32F413VH, STM32F413ZH, STM32F413CG, STM32F413MG,
110+
STM32F413RG, STM32F413VG and STM32F413ZG Devices */
111+
/* #define STM32F423xx */ /*!< STM32F423CH, STM32F423RH, STM32F423VH and STM32F423ZH Devices */
109112
#endif
110113

111114
/* Tip: To avoid modifying this file each time you need to switch between these
@@ -121,11 +124,11 @@
121124
#endif /* USE_HAL_DRIVER */
122125

123126
/**
124-
* @brief CMSIS version number V2.5.0
127+
* @brief CMSIS version number V2.6.1
125128
*/
126129
#define __STM32F4xx_CMSIS_VERSION_MAIN (0x02U) /*!< [31:24] main version */
127-
#define __STM32F4xx_CMSIS_VERSION_SUB1 (0x05U) /*!< [23:16] sub1 version */
128-
#define __STM32F4xx_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
130+
#define __STM32F4xx_CMSIS_VERSION_SUB1 (0x06U) /*!< [23:16] sub1 version */
131+
#define __STM32F4xx_CMSIS_VERSION_SUB2 (0x01U) /*!< [15:8] sub2 version */
129132
#define __STM32F4xx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
130133
#define __STM32F4xx_CMSIS_VERSION ((__STM32F4xx_CMSIS_VERSION_MAIN << 24)\
131134
|(__STM32F4xx_CMSIS_VERSION_SUB1 << 16)\
@@ -182,6 +185,10 @@
182185
#include "stm32f412rx.h"
183186
#elif defined(STM32F412Vx)
184187
#include "stm32f412vx.h"
188+
#elif defined(STM32F413xx)
189+
#include "stm32f413xx.h"
190+
#elif defined(STM32F423xx)
191+
#include "stm32f423xx.h"
185192
#else
186193
#error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)"
187194
#endif

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/system_stm32f4xx.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
******************************************************************************
33
* @file system_stm32f4xx.h
44
* @author MCD Application Team
5-
* @version V2.5.0
6-
* @date 22-April-2016
5+
* @version V2.6.1
6+
* @date 14-February-2017
77
* @brief CMSIS Cortex-M4 Device System Source File for STM32F4xx devices.
88
******************************************************************************
99
* @attention
1010
*
11-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
11+
* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
1212
*
1313
* Redistribution and use in source and binary forms, with or without modification,
1414
* are permitted provided that the following conditions are met:
@@ -75,6 +75,8 @@
7575
*/
7676
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
7777

78+
extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */
79+
extern const uint8_t APBPrescTable[8]; /*!< APB prescalers table values */
7880

7981
/**
8082
* @}

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device/stm32f405xx.h

Lines changed: 12194 additions & 5379 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device/stm32f4xx.h

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
******************************************************************************
33
* @file stm32f4xx.h
44
* @author MCD Application Team
5-
* @version V2.5.0
6-
* @date 22-April-2016
5+
* @version V2.6.1
6+
* @date 14-February-2017
77
* @brief CMSIS STM32F4xx Device Peripheral Access Layer Header File.
88
*
99
* The file is the unique include file that the application programmer
1010
* is using in the C source code, usually in main.c. This file contains:
1111
* - Configuration section that allows to select:
1212
* - The STM32F4xx device used in the target application
13-
* - To use or not the peripheral's drivers in application code(i.e.
14-
* code will be based on direct access to peripheral's registers
13+
* - To use or not the peripherals drivers in application code(i.e.
14+
* code will be based on direct access to peripherals registers
1515
* rather than drivers API), this option is controlled by
1616
* "#define USE_HAL_DRIVER"
1717
*
1818
******************************************************************************
1919
* @attention
2020
*
21-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
21+
* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
2222
*
2323
* Redistribution and use in source and binary forms, with or without modification,
2424
* are permitted provided that the following conditions are met:
@@ -79,8 +79,8 @@
7979
!defined (STM32F401xC) && !defined (STM32F401xE) && !defined (STM32F410Tx) && !defined (STM32F410Cx) && \
8080
!defined (STM32F410Rx) && !defined (STM32F411xE) && !defined (STM32F446xx) && !defined (STM32F469xx) && \
8181
!defined (STM32F479xx) && !defined (STM32F412Cx) && !defined (STM32F412Rx) && !defined (STM32F412Vx) && \
82-
!defined (STM32F412Zx)
83-
#define STM32F405xx /*!< STM32F405RG, STM32F405VG and STM32F405ZG Devices */
82+
!defined (STM32F412Zx) && !defined (STM32F413xx) && !defined (STM32F423xx)
83+
#define STM32F405xx /*!< STM32F405RG, STM32F405VG and STM32F405ZG Devices */
8484
/* #define STM32F415xx */ /*!< STM32F415RG, STM32F415VG and STM32F415ZG Devices */
8585
/* #define STM32F407xx */ /*!< STM32F407VG, STM32F407VE, STM32F407ZG, STM32F407ZE, STM32F407IG and STM32F407IE Devices */
8686
/* #define STM32F417xx */ /*!< STM32F417VG, STM32F417VE, STM32F417ZG, STM32F417ZE, STM32F417IG and STM32F417IE Devices */
@@ -106,6 +106,9 @@
106106
/* #define STM32F412Zx */ /*!< STM32F412ZET, STM32F412ZGT, STM32F412ZEJ and STM32F412ZGJ Devices */
107107
/* #define STM32F412Vx */ /*!< STM32F412VET, STM32F412VGT, STM32F412VEH and STM32F412VGH Devices */
108108
/* #define STM32F412Rx */ /*!< STM32F412RET, STM32F412RGT, STM32F412REY and STM32F412RGY Devices */
109+
/* #define STM32F413xx */ /*!< STM32F413CH, STM32F413MH, STM32F413RH, STM32F413VH, STM32F413ZH, STM32F413CG, STM32F413MG,
110+
STM32F413RG, STM32F413VG and STM32F413ZG Devices */
111+
/* #define STM32F423xx */ /*!< STM32F423CH, STM32F423RH, STM32F423VH and STM32F423ZH Devices */
109112
#endif
110113

111114
/* Tip: To avoid modifying this file each time you need to switch between these
@@ -121,11 +124,11 @@
121124
#endif /* USE_HAL_DRIVER */
122125

123126
/**
124-
* @brief CMSIS version number V2.5.0
127+
* @brief CMSIS version number V2.6.1
125128
*/
126129
#define __STM32F4xx_CMSIS_VERSION_MAIN (0x02U) /*!< [31:24] main version */
127-
#define __STM32F4xx_CMSIS_VERSION_SUB1 (0x05U) /*!< [23:16] sub1 version */
128-
#define __STM32F4xx_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
130+
#define __STM32F4xx_CMSIS_VERSION_SUB1 (0x06U) /*!< [23:16] sub1 version */
131+
#define __STM32F4xx_CMSIS_VERSION_SUB2 (0x01U) /*!< [15:8] sub2 version */
129132
#define __STM32F4xx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
130133
#define __STM32F4xx_CMSIS_VERSION ((__STM32F4xx_CMSIS_VERSION_MAIN << 24)\
131134
|(__STM32F4xx_CMSIS_VERSION_SUB1 << 16)\
@@ -182,6 +185,10 @@
182185
#include "stm32f412rx.h"
183186
#elif defined(STM32F412Vx)
184187
#include "stm32f412vx.h"
188+
#elif defined(STM32F413xx)
189+
#include "stm32f413xx.h"
190+
#elif defined(STM32F423xx)
191+
#include "stm32f423xx.h"
185192
#else
186193
#error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)"
187194
#endif

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device/system_stm32f4xx.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
******************************************************************************
33
* @file system_stm32f4xx.h
44
* @author MCD Application Team
5-
* @version V2.5.0
6-
* @date 22-April-2016
5+
* @version V2.6.1
6+
* @date 14-February-2017
77
* @brief CMSIS Cortex-M4 Device System Source File for STM32F4xx devices.
88
******************************************************************************
99
* @attention
1010
*
11-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
11+
* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
1212
*
1313
* Redistribution and use in source and binary forms, with or without modification,
1414
* are permitted provided that the following conditions are met:
@@ -75,6 +75,8 @@
7575
*/
7676
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
7777

78+
extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */
79+
extern const uint8_t APBPrescTable[8]; /*!< APB prescalers table values */
7880

7981
/**
8082
* @}

0 commit comments

Comments
 (0)