diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c011xx.h b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c011xx.h index c45c968353..a9f2c1c770 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c011xx.h +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c011xx.h @@ -4239,10 +4239,8 @@ typedef struct #define RCC_CSR1_LSEBYP_Msk (0x1UL << RCC_CSR1_LSEBYP_Pos) /*!< 0x00000004 */ #define RCC_CSR1_LSEBYP RCC_CSR1_LSEBYP_Msk #define RCC_CSR1_LSEDRV_Pos (3U) -#define RCC_CSR1_LSEDRV_Msk (0x3UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000018 */ +#define RCC_CSR1_LSEDRV_Msk (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ #define RCC_CSR1_LSEDRV RCC_CSR1_LSEDRV_Msk -#define RCC_CSR1_LSEDRV_0 (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ -#define RCC_CSR1_LSEDRV_1 (0x2UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000010 */ #define RCC_CSR1_LSECSSON_Pos (5U) #define RCC_CSR1_LSECSSON_Msk (0x1UL << RCC_CSR1_LSECSSON_Pos) /*!< 0x00000020 */ #define RCC_CSR1_LSECSSON RCC_CSR1_LSECSSON_Msk diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c031xx.h b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c031xx.h index 5cc3591609..cc3439ba8a 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c031xx.h +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c031xx.h @@ -4402,10 +4402,8 @@ typedef struct #define RCC_CSR1_LSEBYP_Msk (0x1UL << RCC_CSR1_LSEBYP_Pos) /*!< 0x00000004 */ #define RCC_CSR1_LSEBYP RCC_CSR1_LSEBYP_Msk #define RCC_CSR1_LSEDRV_Pos (3U) -#define RCC_CSR1_LSEDRV_Msk (0x3UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000018 */ +#define RCC_CSR1_LSEDRV_Msk (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ #define RCC_CSR1_LSEDRV RCC_CSR1_LSEDRV_Msk -#define RCC_CSR1_LSEDRV_0 (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ -#define RCC_CSR1_LSEDRV_1 (0x2UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000010 */ #define RCC_CSR1_LSECSSON_Pos (5U) #define RCC_CSR1_LSECSSON_Msk (0x1UL << RCC_CSR1_LSECSSON_Pos) /*!< 0x00000020 */ #define RCC_CSR1_LSECSSON RCC_CSR1_LSECSSON_Msk diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h index fc8e34a0f9..ceab6091ac 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h @@ -4523,10 +4523,8 @@ typedef struct #define RCC_CSR1_LSEBYP_Msk (0x1UL << RCC_CSR1_LSEBYP_Pos) /*!< 0x00000004 */ #define RCC_CSR1_LSEBYP RCC_CSR1_LSEBYP_Msk #define RCC_CSR1_LSEDRV_Pos (3U) -#define RCC_CSR1_LSEDRV_Msk (0x3UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000018 */ +#define RCC_CSR1_LSEDRV_Msk (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ #define RCC_CSR1_LSEDRV RCC_CSR1_LSEDRV_Msk -#define RCC_CSR1_LSEDRV_0 (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ -#define RCC_CSR1_LSEDRV_1 (0x2UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000010 */ #define RCC_CSR1_LSECSSON_Pos (5U) #define RCC_CSR1_LSECSSON_Msk (0x1UL << RCC_CSR1_LSECSSON_Pos) /*!< 0x00000020 */ #define RCC_CSR1_LSECSSON RCC_CSR1_LSECSSON_Msk diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c071xx.h b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c071xx.h index d80e46b859..064e3f3c03 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c071xx.h +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c071xx.h @@ -4895,10 +4895,8 @@ typedef struct #define RCC_CSR1_LSEBYP_Msk (0x1UL << RCC_CSR1_LSEBYP_Pos) /*!< 0x00000004 */ #define RCC_CSR1_LSEBYP RCC_CSR1_LSEBYP_Msk #define RCC_CSR1_LSEDRV_Pos (3U) -#define RCC_CSR1_LSEDRV_Msk (0x3UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000018 */ +#define RCC_CSR1_LSEDRV_Msk (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ #define RCC_CSR1_LSEDRV RCC_CSR1_LSEDRV_Msk -#define RCC_CSR1_LSEDRV_0 (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ -#define RCC_CSR1_LSEDRV_1 (0x2UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000010 */ #define RCC_CSR1_LSECSSON_Pos (5U) #define RCC_CSR1_LSECSSON_Msk (0x1UL << RCC_CSR1_LSECSSON_Pos) /*!< 0x00000020 */ #define RCC_CSR1_LSECSSON RCC_CSR1_LSECSSON_Msk diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c091xx.h b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c091xx.h index f3a7a0b513..09a147e9d1 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c091xx.h +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c091xx.h @@ -103,6 +103,8 @@ typedef enum USART3_4_IRQn = 29, /*!< USART3/4 global interrupt(combined with EXTI 28) */ } IRQn_Type; +/* Legacy define */ +#define DMAMUX1_DMA1_CH4_5_IRQHandler DMAMUX1_DMA1_CH4_5_6_7_IRQHandler /** * @} */ @@ -4725,10 +4727,8 @@ typedef struct #define RCC_CSR1_LSEBYP_Msk (0x1UL << RCC_CSR1_LSEBYP_Pos) /*!< 0x00000004 */ #define RCC_CSR1_LSEBYP RCC_CSR1_LSEBYP_Msk #define RCC_CSR1_LSEDRV_Pos (3U) -#define RCC_CSR1_LSEDRV_Msk (0x3UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000018 */ +#define RCC_CSR1_LSEDRV_Msk (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ #define RCC_CSR1_LSEDRV RCC_CSR1_LSEDRV_Msk -#define RCC_CSR1_LSEDRV_0 (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ -#define RCC_CSR1_LSEDRV_1 (0x2UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000010 */ #define RCC_CSR1_LSECSSON_Pos (5U) #define RCC_CSR1_LSECSSON_Msk (0x1UL << RCC_CSR1_LSECSSON_Pos) /*!< 0x00000020 */ #define RCC_CSR1_LSECSSON RCC_CSR1_LSECSSON_Msk diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c092xx.h b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c092xx.h index 28869513c2..23c549b5e9 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c092xx.h +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c092xx.h @@ -105,6 +105,8 @@ typedef enum FDCAN1_IT1_IRQn = 31, /*!< FDCAN1 global Interrupt 1 */ } IRQn_Type; +/* Legacy define */ +#define DMAMUX1_DMA1_CH4_5_IRQHandler DMAMUX1_DMA1_CH4_5_6_7_IRQHandler /** * @} */ @@ -5389,10 +5391,8 @@ typedef struct #define RCC_CSR1_LSEBYP_Msk (0x1UL << RCC_CSR1_LSEBYP_Pos) /*!< 0x00000004 */ #define RCC_CSR1_LSEBYP RCC_CSR1_LSEBYP_Msk #define RCC_CSR1_LSEDRV_Pos (3U) -#define RCC_CSR1_LSEDRV_Msk (0x3UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000018 */ +#define RCC_CSR1_LSEDRV_Msk (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ #define RCC_CSR1_LSEDRV RCC_CSR1_LSEDRV_Msk -#define RCC_CSR1_LSEDRV_0 (0x1UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000008 */ -#define RCC_CSR1_LSEDRV_1 (0x2UL << RCC_CSR1_LSEDRV_Pos) /*!< 0x00000010 */ #define RCC_CSR1_LSECSSON_Pos (5U) #define RCC_CSR1_LSECSSON_Msk (0x1UL << RCC_CSR1_LSECSSON_Pos) /*!< 0x00000020 */ #define RCC_CSR1_LSECSSON RCC_CSR1_LSECSSON_Msk diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h index de1b2988ed..6cf8e36e6a 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h @@ -80,11 +80,11 @@ #endif /* USE_HAL_DRIVER */ /** - * @brief CMSIS Device version number V1.0.0 + * @brief CMSIS Device version number V1.4.1 */ #define __STM32C0_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */ -#define __STM32C0_CMSIS_VERSION_SUB1 (0x03U) /*!< [23:16] sub1 version */ -#define __STM32C0_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */ +#define __STM32C0_CMSIS_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */ +#define __STM32C0_CMSIS_VERSION_SUB2 (0x01U) /*!< [15:8] sub2 version */ #define __STM32C0_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */ #define __STM32C0_CMSIS_VERSION ((__STM32C0_CMSIS_VERSION_MAIN << 24)\ |(__STM32C0_CMSIS_VERSION_SUB1 << 16)\ diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/LICENSE.md b/system/Drivers/CMSIS/Device/ST/STM32C0xx/LICENSE.md index 22ed1674c4..2e8e072e86 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/LICENSE.md +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/LICENSE.md @@ -198,4 +198,4 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. + limitations under the License. \ No newline at end of file diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/README.md b/system/Drivers/CMSIS/Device/ST/STM32C0xx/README.md index 9e8bb79c8c..d54c2fbd56 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/README.md +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/README.md @@ -1,6 +1,6 @@ # STM32CubeC0 CMSIS Device MCU Component - + ## Overview @@ -33,4 +33,4 @@ The full **STM32CubeC0** MCU package is available [here](https://github.com/STMi ## Troubleshooting -Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide. +Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide. \ No newline at end of file diff --git a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Release_Notes.html b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Release_Notes.html index 9890d3f442..80ecc5a288 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32C0xx/Release_Notes.html +++ b/system/Drivers/CMSIS/Device/ST/STM32C0xx/Release_Notes.html @@ -5,172 +5,156 @@
Copyright © 2022 STMicroelectronics
Align flash register address with STM32C0 reference manual
First official release version of bits and registers definition -aligned with STM32C0 reference manual
+ +First official release version of bits and registers definition aligned with STM32C0 reference manual
+