Skip to content

Commit 176a058

Browse files
committed
system(F3): update STM32F3xx CMSIS Drivers to v2.3.8
Included in STM32CubeF3 FW v1.11.5 Signed-off-by: Frederic Pillon <[email protected]>
1 parent 938fe6c commit 176a058

12 files changed

+73
-50
lines changed

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f303xc.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1996,9 +1996,9 @@ typedef struct
19961996
#define ADC34_CSR_ADRDY_EOS_SLV_Pos (19U)
19971997
#define ADC34_CSR_ADRDY_EOS_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_EOS_SLV_Pos) /*!< 0x00080000 */
19981998
#define ADC34_CSR_ADRDY_EOS_SLV ADC34_CSR_ADRDY_EOS_SLV_Msk /*!< End of regular sequence flag of the slave ADC */
1999-
#define ADC12_CSR_ADRDY_OVR_SLV_Pos (20U)
2000-
#define ADC12_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC12_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
2001-
#define ADC12_CSR_ADRDY_OVR_SLV ADC12_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
1999+
#define ADC34_CSR_ADRDY_OVR_SLV_Pos (20U)
2000+
#define ADC34_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
2001+
#define ADC34_CSR_ADRDY_OVR_SLV ADC34_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
20022002
#define ADC34_CSR_ADRDY_JEOC_SLV_Pos (21U)
20032003
#define ADC34_CSR_ADRDY_JEOC_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_JEOC_SLV_Pos) /*!< 0x00200000 */
20042004
#define ADC34_CSR_ADRDY_JEOC_SLV ADC34_CSR_ADRDY_JEOC_SLV_Msk /*!< End of injected conversion of the slave ADC */

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f303xe.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2107,9 +2107,9 @@ typedef struct
21072107
#define ADC34_CSR_ADRDY_EOS_SLV_Pos (19U)
21082108
#define ADC34_CSR_ADRDY_EOS_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_EOS_SLV_Pos) /*!< 0x00080000 */
21092109
#define ADC34_CSR_ADRDY_EOS_SLV ADC34_CSR_ADRDY_EOS_SLV_Msk /*!< End of regular sequence flag of the slave ADC */
2110-
#define ADC12_CSR_ADRDY_OVR_SLV_Pos (20U)
2111-
#define ADC12_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC12_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
2112-
#define ADC12_CSR_ADRDY_OVR_SLV ADC12_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
2110+
#define ADC34_CSR_ADRDY_OVR_SLV_Pos (20U)
2111+
#define ADC34_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
2112+
#define ADC34_CSR_ADRDY_OVR_SLV ADC34_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
21132113
#define ADC34_CSR_ADRDY_JEOC_SLV_Pos (21U)
21142114
#define ADC34_CSR_ADRDY_JEOC_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_JEOC_SLV_Pos) /*!< 0x00200000 */
21152115
#define ADC34_CSR_ADRDY_JEOC_SLV ADC34_CSR_ADRDY_JEOC_SLV_Msk /*!< End of injected conversion of the slave ADC */

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f334x8.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1998,9 +1998,9 @@ typedef struct
19981998
#define ADC34_CSR_ADRDY_EOS_SLV_Pos (19U)
19991999
#define ADC34_CSR_ADRDY_EOS_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_EOS_SLV_Pos) /*!< 0x00080000 */
20002000
#define ADC34_CSR_ADRDY_EOS_SLV ADC34_CSR_ADRDY_EOS_SLV_Msk /*!< End of regular sequence flag of the slave ADC */
2001-
#define ADC12_CSR_ADRDY_OVR_SLV_Pos (20U)
2002-
#define ADC12_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC12_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
2003-
#define ADC12_CSR_ADRDY_OVR_SLV ADC12_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
2001+
#define ADC34_CSR_ADRDY_OVR_SLV_Pos (20U)
2002+
#define ADC34_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
2003+
#define ADC34_CSR_ADRDY_OVR_SLV ADC34_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
20042004
#define ADC34_CSR_ADRDY_JEOC_SLV_Pos (21U)
20052005
#define ADC34_CSR_ADRDY_JEOC_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_JEOC_SLV_Pos) /*!< 0x00200000 */
20062006
#define ADC34_CSR_ADRDY_JEOC_SLV ADC34_CSR_ADRDY_JEOC_SLV_Msk /*!< End of injected conversion of the slave ADC */

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f358xx.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1954,9 +1954,9 @@ typedef struct
19541954
#define ADC34_CSR_ADRDY_EOS_SLV_Pos (19U)
19551955
#define ADC34_CSR_ADRDY_EOS_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_EOS_SLV_Pos) /*!< 0x00080000 */
19561956
#define ADC34_CSR_ADRDY_EOS_SLV ADC34_CSR_ADRDY_EOS_SLV_Msk /*!< End of regular sequence flag of the slave ADC */
1957-
#define ADC12_CSR_ADRDY_OVR_SLV_Pos (20U)
1958-
#define ADC12_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC12_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
1959-
#define ADC12_CSR_ADRDY_OVR_SLV ADC12_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
1957+
#define ADC34_CSR_ADRDY_OVR_SLV_Pos (20U)
1958+
#define ADC34_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
1959+
#define ADC34_CSR_ADRDY_OVR_SLV ADC34_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
19601960
#define ADC34_CSR_ADRDY_JEOC_SLV_Pos (21U)
19611961
#define ADC34_CSR_ADRDY_JEOC_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_JEOC_SLV_Pos) /*!< 0x00200000 */
19621962
#define ADC34_CSR_ADRDY_JEOC_SLV ADC34_CSR_ADRDY_JEOC_SLV_Msk /*!< End of injected conversion of the slave ADC */

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f373xc.h

+7-3
Original file line numberDiff line numberDiff line change
@@ -7363,9 +7363,13 @@ typedef struct
73637363
#define CEC_TXDR_TXD CEC_TXDR_TXD_Msk /*!< CEC Tx Data */
73647364

73657365
/******************* Bit definition for CEC_RXDR register *******************/
7366-
#define CEC_TXDR_RXD_Pos (0U)
7367-
#define CEC_TXDR_RXD_Msk (0xFFUL << CEC_TXDR_RXD_Pos) /*!< 0x000000FF */
7368-
#define CEC_TXDR_RXD CEC_TXDR_RXD_Msk /*!< CEC Rx Data */
7366+
#define CEC_RXDR_RXD_Pos (0U)
7367+
#define CEC_RXDR_RXD_Msk (0xFFUL << CEC_RXDR_RXD_Pos) /*!< 0x000000FF */
7368+
#define CEC_RXDR_RXD CEC_RXDR_RXD_Msk /*!< CEC Rx Data */
7369+
/* Legacy aliases */
7370+
#define CEC_TXDR_RXD_Pos CEC_RXDR_RXD_Pos
7371+
#define CEC_TXDR_RXD_Msk CEC_RXDR_RXD_Msk
7372+
#define CEC_TXDR_RXD CEC_RXDR_RXD
73697373

73707374
/******************* Bit definition for CEC_ISR register ********************/
73717375
#define CEC_ISR_RXBR_Pos (0U)

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f378xx.h

+7-3
Original file line numberDiff line numberDiff line change
@@ -7304,9 +7304,13 @@ typedef struct
73047304
#define CEC_TXDR_TXD CEC_TXDR_TXD_Msk /*!< CEC Tx Data */
73057305

73067306
/******************* Bit definition for CEC_RXDR register *******************/
7307-
#define CEC_TXDR_RXD_Pos (0U)
7308-
#define CEC_TXDR_RXD_Msk (0xFFUL << CEC_TXDR_RXD_Pos) /*!< 0x000000FF */
7309-
#define CEC_TXDR_RXD CEC_TXDR_RXD_Msk /*!< CEC Rx Data */
7307+
#define CEC_RXDR_RXD_Pos (0U)
7308+
#define CEC_RXDR_RXD_Msk (0xFFUL << CEC_RXDR_RXD_Pos) /*!< 0x000000FF */
7309+
#define CEC_RXDR_RXD CEC_RXDR_RXD_Msk /*!< CEC Rx Data */
7310+
/* Legacy aliases */
7311+
#define CEC_TXDR_RXD_Pos CEC_RXDR_RXD_Pos
7312+
#define CEC_TXDR_RXD_Msk CEC_RXDR_RXD_Msk
7313+
#define CEC_TXDR_RXD CEC_RXDR_RXD
73107314

73117315
/******************* Bit definition for CEC_ISR register ********************/
73127316
#define CEC_ISR_RXBR_Pos (0U)

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f398xx.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2063,9 +2063,9 @@ typedef struct
20632063
#define ADC34_CSR_ADRDY_EOS_SLV_Pos (19U)
20642064
#define ADC34_CSR_ADRDY_EOS_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_EOS_SLV_Pos) /*!< 0x00080000 */
20652065
#define ADC34_CSR_ADRDY_EOS_SLV ADC34_CSR_ADRDY_EOS_SLV_Msk /*!< End of regular sequence flag of the slave ADC */
2066-
#define ADC12_CSR_ADRDY_OVR_SLV_Pos (20U)
2067-
#define ADC12_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC12_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
2068-
#define ADC12_CSR_ADRDY_OVR_SLV ADC12_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
2066+
#define ADC34_CSR_ADRDY_OVR_SLV_Pos (20U)
2067+
#define ADC34_CSR_ADRDY_OVR_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_OVR_SLV_Pos) /*!< 0x00100000 */
2068+
#define ADC34_CSR_ADRDY_OVR_SLV ADC34_CSR_ADRDY_OVR_SLV_Msk /*!< Overrun flag of the slave ADC */
20692069
#define ADC34_CSR_ADRDY_JEOC_SLV_Pos (21U)
20702070
#define ADC34_CSR_ADRDY_JEOC_SLV_Msk (0x1UL << ADC34_CSR_ADRDY_JEOC_SLV_Pos) /*!< 0x00200000 */
20712071
#define ADC34_CSR_ADRDY_JEOC_SLV ADC34_CSR_ADRDY_JEOC_SLV_Msk /*!< End of injected conversion of the slave ADC */

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f3xx.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@
102102
#endif /* USE_HAL_DRIVER */
103103

104104
/**
105-
* @brief CMSIS Device version number V2.3.7
105+
* @brief CMSIS Device version number V2.3.8
106106
*/
107107
#define __STM32F3_CMSIS_VERSION_MAIN (0x02) /*!< [31:24] main version */
108108
#define __STM32F3_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
109-
#define __STM32F3_CMSIS_VERSION_SUB2 (0x07) /*!< [15:8] sub2 version */
109+
#define __STM32F3_CMSIS_VERSION_SUB2 (0x08) /*!< [15:8] sub2 version */
110110
#define __STM32F3_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
111111
#define __STM32F3_CMSIS_VERSION ((__STM32F3_CMSIS_VERSION_MAIN << 24)\
112112
|(__STM32F3_CMSIS_VERSION_SUB1 << 16)\

Diff for: system/Drivers/CMSIS/Device/ST/STM32F3xx/README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
# STM32CubeF3 CMSIS Device MCU Component
22

3+
![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/cmsis_device_f3.svg?color=brightgreen)
4+
35
## Overview
46

57
**STM32Cube** is an STMicroelectronics original initiative to ease the developers life by reducing efforts, time and cost.
68

7-
**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform, delivered for each STM32 series.
8-
* The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product
9-
* The STM32 HAL-LL drivers : an abstraction drivers layer, the API ensuring maximized portability across the STM32 portfolio
10-
* The BSP Drivers of each evaluation or demonstration board provided by this STM32 series
11-
* A consistent set of middlewares components such as RTOS, USB, FatFS, Graphics, STM32_TouchSensing_Library ...
12-
* A full set of software projects (basic examples, applications or demonstrations) for each board provided by this STM32 series
9+
**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform delivered for each STM32 series.
10+
* The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product.
11+
* The STM32 HAL-LL drivers, an abstraction layer offering a set of APIs ensuring maximized portability across the STM32 portfolio.
12+
* The BSP drivers of each evaluation, demonstration or nucleo board provided for this STM32 series.
13+
* A consistent set of middleware libraries such as RTOS, USB, FatFS, graphics, touch sensing library...
14+
* A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series.
1315

14-
Two models of publication are proposed for the STM32Cube embedded software :
15-
* The monolithic **MCU Package** : all STM32Cube software modules of one STM32 series are present (Drivers, Middlewares, Projects, Utilities) in the repo (usual name **STM32Cubexx**, xx corresponding to the STM32 series)
16-
* The **MCU component** : progressively from November 2019, each STM32Cube software module being part of the STM32Cube MCU Package, will be delivered as an individual repo, allowing the user to select and get only the required software functions.
16+
Two models of publication are proposed for the STM32Cube embedded software:
17+
* The monolithic **MCU Package**: all STM32Cube software modules of one STM32 series are present (Drivers, Middleware, Projects, Utilities) in the repository (usual name **STM32Cubexx**, xx corresponding to the STM32 series).
18+
* The **MCU component**: each STM32Cube software module being part of the STM32Cube MCU Package, is delivered as an individual repository, allowing the user to select and get only the required software functions.
1719

1820
## Description
1921

@@ -32,4 +34,4 @@ The full **STM32CubeF3** MCU package is available [here](https://github.com/STMi
3234
## Troubleshooting
3335
If you have any issue with the **Software content** of this repo, you can [file an issue on Github](https://github.com/STMicroelectronics/cmsis_device_f3/issues/new).
3436

35-
For any other question related to the product, the tools, the environment, you can submit a topic on the [ST Community/STM32 MCUs forum](https://community.st.com/s/group/0F90X000000AXsASAW/stm32-mcus).
37+
For any other question related to the product, the tools, the environment, you can submit a topic on the [ST Community/STM32 MCUs forum](https://community.st.com/s/topic/0TO0X000000BSqSWAW/stm32-mcus).

0 commit comments

Comments
 (0)