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)

0 commit comments

Comments
 (0)