Skip to content

Commit 49b018c

Browse files
authored
Merge pull request #14542 from JeanMarcR/STM32F3_NEW_CUBE
STM32F3 update drivers version to CUBE V1.11.2
2 parents a32a45c + a1055f5 commit 49b018c

File tree

87 files changed

+5926
-2963
lines changed

Some content is hidden

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

87 files changed

+5926
-2963
lines changed

targets/TARGET_STM/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ This table summarizes the STM32Cube versions currently used in Mbed OS master br
6464
| F0 | 1.11.2 | https://github.com/STMicroelectronics/STM32CubeF0 |
6565
| F1 | 1.8.3 | https://github.com/STMicroelectronics/STM32CubeF1 |
6666
| F2 | 1.6.0 | https://github.com/STMicroelectronics/STM32CubeF2 |
67-
| F3 | 1.9.0 | https://github.com/STMicroelectronics/STM32CubeF3 |
67+
| F3 | 1.11.2 | https://github.com/STMicroelectronics/STM32CubeF3 |
6868
| F4 | 1.26.0 | https://github.com/STMicroelectronics/STM32CubeF4 |
6969
| F7 | 1.16.0 | https://github.com/STMicroelectronics/STM32CubeF7 |
7070
| G0 | 1.4.1 | https://github.com/STMicroelectronics/STM32CubeG0 |

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f301x8.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@
5050
#define __NVIC_PRIO_BITS 4U /*!< STM32F301x8 devices use 4 Bits for the Priority Levels */
5151
#define __Vendor_SysTickConfig 0U /*!< Set to 1 if different SysTick Config is used */
5252
#ifndef __FPU_PRESENT
53-
#define __FPU_PRESENT 1U /*!< STM32F301x8 devices provide an FPU */
53+
#define __FPU_PRESENT 1U /*!< STM32F301x8 devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f302x8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ typedef struct
781781
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
782782
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
783783
#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
784-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
784+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
785785
#define PWR ((PWR_TypeDef *) PWR_BASE)
786786
#define DAC ((DAC_TypeDef *) DAC_BASE)
787787
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f302xc.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@
4949
#define __MPU_PRESENT 1U /*!< STM32F302xC devices provide an MPU */
5050
#define __NVIC_PRIO_BITS 4U /*!< STM32F302xC devices use 4 Bits for the Priority Levels */
5151
#define __Vendor_SysTickConfig 0U /*!< Set to 1 if different SysTick Config is used */
52-
#ifndef __FPU_PRESENT
52+
ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F302xC devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/
@@ -803,7 +802,7 @@ typedef struct
803802
#define UART5 ((USART_TypeDef *) UART5_BASE)
804803
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
805804
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
806-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
805+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
807806
#define PWR ((PWR_TypeDef *) PWR_BASE)
808807
#define DAC ((DAC_TypeDef *) DAC_BASE)
809808
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f302xe.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F302xE devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f303x8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ typedef struct
729729
#define USART2 ((USART_TypeDef *) USART2_BASE)
730730
#define USART3 ((USART_TypeDef *) USART3_BASE)
731731
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
732-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
732+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
733733
#define PWR ((PWR_TypeDef *) PWR_BASE)
734734
#define DAC ((DAC_TypeDef *) DAC_BASE)
735735
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f303xc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F303xC devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/
@@ -823,7 +822,7 @@ typedef struct
823822
#define UART5 ((USART_TypeDef *) UART5_BASE)
824823
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
825824
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
826-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
825+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
827826
#define PWR ((PWR_TypeDef *) PWR_BASE)
828827
#define DAC ((DAC_TypeDef *) DAC_BASE)
829828
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f303xe.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ typedef struct
925925
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
926926
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
927927
#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
928-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
928+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
929929
#define PWR ((PWR_TypeDef *) PWR_BASE)
930930
#define DAC ((DAC_TypeDef *) DAC_BASE)
931931
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f318xx.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F318xx devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f328xx.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F328xx devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/
@@ -729,7 +728,7 @@ typedef struct
729728
#define USART2 ((USART_TypeDef *) USART2_BASE)
730729
#define USART3 ((USART_TypeDef *) USART3_BASE)
731730
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
732-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
731+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
733732
#define PWR ((PWR_TypeDef *) PWR_BASE)
734733
#define DAC ((DAC_TypeDef *) DAC_BASE)
735734
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f334x8.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F334x8 devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f358xx.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F358xx devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f373xc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F373xC devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/
@@ -833,7 +832,7 @@ typedef struct
833832
#define USART3 ((USART_TypeDef *) USART3_BASE)
834833
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
835834
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
836-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
835+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
837836
#define PWR ((PWR_TypeDef *) PWR_BASE)
838837
#define DAC ((DAC_TypeDef *) DAC_BASE)
839838
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f378xx.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F378xx devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/
@@ -793,7 +792,7 @@ typedef struct
793792
#define USART3 ((USART_TypeDef *) USART3_BASE)
794793
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
795794
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
796-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
795+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
797796
#define PWR ((PWR_TypeDef *) PWR_BASE)
798797
#define DAC ((DAC_TypeDef *) DAC_BASE)
799798
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f398xx.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#ifndef __FPU_PRESENT
5353
#define __FPU_PRESENT 1U /*!< STM32F398xx devices provide an FPU */
5454
#endif
55-
5655
/**
5756
* @}
5857
*/
@@ -883,7 +882,7 @@ typedef struct
883882
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
884883
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
885884
#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
886-
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
885+
#define CAN1 ((CAN_TypeDef *) CAN_BASE)
887886
#define PWR ((PWR_TypeDef *) PWR_BASE)
888887
#define DAC ((DAC_TypeDef *) DAC_BASE)
889888
#define DAC1 ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32F3/STM32Cube_FW/CMSIS/stm32f3xx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@
103103
#endif /* USE_HAL_DRIVER */
104104

105105
/**
106-
* @brief CMSIS Device version number V2.3.4
106+
* @brief CMSIS Device version number V2.3.5
107107
*/
108108
#define __STM32F3_CMSIS_VERSION_MAIN (0x02) /*!< [31:24] main version */
109109
#define __STM32F3_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
110-
#define __STM32F3_CMSIS_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
110+
#define __STM32F3_CMSIS_VERSION_SUB2 (0x05) /*!< [15:8] sub2 version */
111111
#define __STM32F3_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
112112
#define __STM32F3_CMSIS_VERSION ((__STM32F3_CMSIS_VERSION_MAIN << 24)\
113113
|(__STM32F3_CMSIS_VERSION_SUB1 << 16)\

0 commit comments

Comments
 (0)