Skip to content

Commit ed6f81d

Browse files
authored
Merge pull request #12860 from jeromecoutant/PR_F7_CUBE_1_16
STM32F7 update drivers version to CUBE V1.16.0
2 parents 28ef753 + bc4bc05 commit ed6f81d

File tree

262 files changed

+215488
-37453
lines changed

Some content is hidden

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

262 files changed

+215488
-37453
lines changed

targets/TARGET_STM/PeripheralPins.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ extern const PinMap PinMap_CAN_RD[];
8080
extern const PinMap PinMap_CAN_TD[];
8181
#endif
8282

83+
//*** QSPI ***
8384
#if DEVICE_QSPI
8485
extern const PinMap PinMap_QSPI_DATA0[];
8586
extern const PinMap PinMap_QSPI_DATA1[];
@@ -89,16 +90,15 @@ extern const PinMap PinMap_QSPI_SCLK[];
8990
extern const PinMap PinMap_QSPI_SSEL[];
9091
#endif
9192

92-
#if DEVICE_USBDEVICE
93-
93+
//*** USB ***
9494
#define USE_USB_NO_OTG 0
9595
#define USE_USB_OTG_FS 1
9696
#define USE_USB_OTG_HS 2
9797
#define USE_USB_HS_IN_FS 3
9898

99+
#if DEVICE_USBDEVICE
99100
extern const PinMap PinMap_USB_HS[];
100101
extern const PinMap PinMap_USB_FS[];
101-
102102
#endif /* DEVICE_USBDEVICE */
103103

104104
#endif

targets/TARGET_STM/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This table summarizes the STM32Cube versions currently used :
1717
| F2 | 1.6.0 | https://github.com/STMicroelectronics/STM32CubeF2 |
1818
| F3 | 1.9.0 | https://github.com/STMicroelectronics/STM32CubeF3 |
1919
| F4 | 1.19.0 | https://github.com/STMicroelectronics/STM32CubeF4 |
20-
| F7 | 1.10.0 | https://github.com/STMicroelectronics/STM32CubeF7 |
20+
| F7 | 1.16.0 | https://github.com/STMicroelectronics/STM32CubeF7 |
2121
| G0 | 1.3.0 | https://github.com/STMicroelectronics/STM32CubeG0 |
2222
| H7 | 1.4.0 | https://github.com/STMicroelectronics/STM32CubeH7 |
2323
| L0 | 1.10.0 | https://github.com/STMicroelectronics/STM32CubeL0 |

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f722xx.h

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

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f723xx.h

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

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f730xx.h

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

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f732xx.h

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

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f733xx.h

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

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f745xx.h

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

targets/TARGET_STM/TARGET_STM32F7/TARGET_STM32F746xG/device/stm32f746xx.h renamed to targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f746xx.h

Lines changed: 5217 additions & 4953 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f750xx.h

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

targets/TARGET_STM/TARGET_STM32F7/TARGET_STM32F756xG/device/stm32f756xx.h renamed to targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f756xx.h

Lines changed: 5322 additions & 5058 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f765xx.h

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

targets/TARGET_STM/TARGET_STM32F7/TARGET_STM32F767xI/device/stm32f767xx.h renamed to targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f767xx.h

Lines changed: 5494 additions & 5197 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f769xx.h

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

targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f777xx.h

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

targets/TARGET_STM/TARGET_STM32F7/TARGET_STM32F769xI/device/stm32f769xx.h renamed to targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f779xx.h

Lines changed: 7387 additions & 6797 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx.h renamed to targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/CMSIS/stm32f7xx.h

Lines changed: 12 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,13 @@
1616
******************************************************************************
1717
* @attention
1818
*
19-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
19+
* <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
20+
* All rights reserved.</center></h2>
2021
*
21-
* Redistribution and use in source and binary forms, with or without modification,
22-
* are permitted provided that the following conditions are met:
23-
* 1. Redistributions of source code must retain the above copyright notice,
24-
* this list of conditions and the following disclaimer.
25-
* 2. Redistributions in binary form must reproduce the above copyright notice,
26-
* this list of conditions and the following disclaimer in the documentation
27-
* and/or other materials provided with the distribution.
28-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
29-
* may be used to endorse or promote products derived from this software
30-
* without specific prior written permission.
31-
*
32-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
34-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
35-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
36-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
37-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
38-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
40-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
41-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
* This software component is licensed by ST under BSD 3-Clause license,
23+
* the "License"; You may not use this file except in compliance with the
24+
* License. You may obtain a copy of the License at:
25+
* opensource.org/licenses/BSD-3-Clause
4226
*
4327
******************************************************************************
4428
*/
@@ -72,10 +56,10 @@
7256
/* Uncomment the line below according to the target STM32 device used in your
7357
application
7458
*/
75-
#if !defined (STM32F756xx) && !defined (STM32F746xx) && !defined (STM32F745xx) && !defined (STM32F767xx) && \
76-
!defined (STM32F769xx) && !defined (STM32F777xx) && !defined (STM32F779xx) && !defined (STM32F722xx) && \
77-
!defined (STM32F723xx) && !defined (STM32F732xx) && !defined (STM32F733xx) && !defined (STM32F730xx) && \
78-
!defined (STM32F750xx)
59+
#if !defined (STM32F756xx) && !defined (STM32F746xx) && !defined (STM32F745xx) && !defined (STM32F765xx) && \
60+
!defined (STM32F767xx) && !defined (STM32F769xx) && !defined (STM32F777xx) && !defined (STM32F779xx) && \
61+
!defined (STM32F722xx) && !defined (STM32F723xx) && !defined (STM32F732xx) && !defined (STM32F733xx) && \
62+
!defined (STM32F730xx) && !defined (STM32F750xx)
7963

8064
/* #define STM32F756xx */ /*!< STM32F756VG, STM32F756ZG, STM32F756ZG, STM32F756IG, STM32F756BG,
8165
STM32F756NG Devices */
@@ -113,11 +97,11 @@
11397
#endif /* USE_HAL_DRIVER */
11498

11599
/**
116-
* @brief CMSIS Device version number V1.2.4
100+
* @brief CMSIS Device version number V1.2.5
117101
*/
118102
#define __STM32F7_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
119103
#define __STM32F7_CMSIS_VERSION_SUB1 (0x02) /*!< [23:16] sub1 version */
120-
#define __STM32F7_CMSIS_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
104+
#define __STM32F7_CMSIS_VERSION_SUB2 (0x05) /*!< [15:8] sub2 version */
121105
#define __STM32F7_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
122106
#define __STM32F7_CMSIS_VERSION ((__STM32F7_CMSIS_VERSION_MAIN << 24)\
123107
|(__STM32F7_CMSIS_VERSION_SUB1 << 16)\

0 commit comments

Comments
 (0)