From 671b0e188f417b5bbfb8acfc2f4fa2e75556efe5 Mon Sep 17 00:00:00 2001 From: "Mr.Tiger" <1039241323@qq.com> Date: Sat, 28 Aug 2021 17:22:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91STM32CubeWB?= =?UTF-8?q?=5FV1.11.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Device/ST/STM32WBxx/Include/stm32wb10xx.h | 10856 +++++++++++++++ .../Device/ST/STM32WBxx/Include/stm32wb15xx.h | 10986 ++++++++++++++++ .../Device/ST/STM32WBxx/Include/stm32wb30xx.h | 4 +- .../Device/ST/STM32WBxx/Include/stm32wb35xx.h | 10 +- .../Device/ST/STM32WBxx/Include/stm32wb50xx.h | 7 +- .../Device/ST/STM32WBxx/Include/stm32wb55xx.h | 7 +- .../Device/ST/STM32WBxx/Include/stm32wb5mxx.h | 7 +- .../Device/ST/STM32WBxx/Include/stm32wbxx.h | 10 +- .../ST/STM32WBxx/Include/system_stm32wbxx.h | 6 +- .../Device/ST/STM32WBxx/Release_Notes.html | 327 + .../arm/linker/stm32wb10xx_flash_cm4.sct | 21 + .../arm/linker/stm32wb15xx_flash_cm4.sct | 21 + .../arm/linker/stm32wb30xx_flash_cm4.sct | 21 + .../arm/linker/stm32wb35xx_flash_cm4.sct | 21 + .../arm/linker/stm32wb50xx_flash_cm4.sct | 21 + .../arm/linker/stm32wb55xx_flash_cm4.sct | 21 + .../arm/linker/stm32wb5mxx_flash_cm4.sct | 21 + .../Templates/arm/startup_stm32wb10xx_cm4.s | 332 + .../Templates/arm/startup_stm32wb15xx_cm4.s | 336 + .../Templates/arm/startup_stm32wb30xx_cm4.s | 4 +- .../Templates/arm/startup_stm32wb35xx_cm4.s | 4 +- .../Templates/arm/startup_stm32wb50xx_cm4.s | 4 +- .../Templates/arm/startup_stm32wb55xx_cm4.s | 4 +- .../Templates/arm/startup_stm32wb5mxx_cm4.s | 4 +- .../gcc/linker/stm32wb10xx_flash_cm4.ld | 179 + .../gcc/linker/stm32wb15xx_flash_cm4.ld | 179 + .../gcc/linker/stm32wb30xx_flash_cm4.ld | 187 + .../gcc/linker/stm32wb35xx_flash_cm4.ld | 187 + .../gcc/linker/stm32wb50xx_flash_cm4.ld | 187 + .../gcc/linker/stm32wb55xx_flash_cm4.ld | 187 + .../gcc/linker/stm32wb5mxx_flash_cm4.ld | 187 + .../Templates/gcc/startup_stm32wb10xx_cm4.s | 385 + .../Templates/gcc/startup_stm32wb15xx_cm4.s | 391 + .../Templates/gcc/startup_stm32wb30xx_cm4.s | 9 +- .../Templates/gcc/startup_stm32wb35xx_cm4.s | 9 +- .../Templates/gcc/startup_stm32wb50xx_cm4.s | 9 +- .../Templates/gcc/startup_stm32wb55xx_cm4.s | 9 +- .../Templates/gcc/startup_stm32wb5mxx_cm4.s | 9 +- .../iar/linker/stm32wb10xx_flash_cm4.icf | 40 + .../iar/linker/stm32wb10xx_sram_cm4.icf | 39 + .../iar/linker/stm32wb15xx_flash_cm4.icf | 40 + .../iar/linker/stm32wb15xx_sram_cm4.icf | 39 + .../Templates/iar/startup_stm32wb10xx_cm4.s | 422 + .../Templates/iar/startup_stm32wb15xx_cm4.s | 432 + .../Templates/iar/startup_stm32wb30xx_cm4.s | 4 +- .../Templates/iar/startup_stm32wb35xx_cm4.s | 4 +- .../Templates/iar/startup_stm32wb50xx_cm4.s | 4 +- .../Templates/iar/startup_stm32wb55xx_cm4.s | 4 +- .../Templates/iar/startup_stm32wb5mxx_cm4.s | 4 +- .../Source/Templates/system_stm32wbxx.c | 38 +- .../STM32WBxx_HAL/CMSIS/Include/cmsis_armcc.h | 35 +- .../CMSIS/Include/cmsis_armclang.h | 645 +- .../CMSIS/Include/cmsis_armclang_ltm.h | 1891 +++ .../CMSIS/Include/cmsis_compiler.h | 29 +- .../STM32WBxx_HAL/CMSIS/Include/cmsis_gcc.h | 91 +- .../CMSIS/Include/cmsis_iccarm.h | 37 +- .../CMSIS/Include/cmsis_version.h | 8 +- .../CMSIS/Include/core_armv81mml.h | 2968 +++++ .../CMSIS/Include/core_armv8mbl.h | 11 +- .../CMSIS/Include/core_armv8mml.h | 112 +- .../STM32WBxx_HAL/CMSIS/Include/core_cm0.h | 21 +- .../CMSIS/Include/core_cm0plus.h | 26 +- .../STM32WBxx_HAL/CMSIS/Include/core_cm1.h | 9 +- .../STM32WBxx_HAL/CMSIS/Include/core_cm23.h | 11 +- .../STM32WBxx_HAL/CMSIS/Include/core_cm3.h | 54 +- .../STM32WBxx_HAL/CMSIS/Include/core_cm33.h | 110 +- .../STM32WBxx_HAL/CMSIS/Include/core_cm35p.h | 2910 ++++ .../STM32WBxx_HAL/CMSIS/Include/core_cm4.h | 55 +- .../STM32WBxx_HAL/CMSIS/Include/core_cm7.h | 222 +- .../STM32WBxx_HAL/CMSIS/Include/core_sc000.h | 9 +- .../STM32WBxx_HAL/CMSIS/Include/core_sc300.h | 61 +- .../STM32WBxx_HAL/CMSIS/Include/mpu_armv7.h | 42 +- .../STM32WBxx_HAL/CMSIS/Include/mpu_armv8.h | 45 +- .../Inc/Legacy/stm32_hal_legacy.h | 178 +- .../STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal.h | 5 + .../Inc/stm32wbxx_hal_adc.h | 290 +- .../Inc/stm32wbxx_hal_adc_ex.h | 154 + .../Inc/stm32wbxx_hal_comp.h | 14 +- .../Inc/stm32wbxx_hal_conf_template.h | 17 +- .../Inc/stm32wbxx_hal_cryp.h | 10 +- .../Inc/stm32wbxx_hal_def.h | 43 +- .../Inc/stm32wbxx_hal_exti.h | 26 +- .../Inc/stm32wbxx_hal_flash.h | 54 +- .../Inc/stm32wbxx_hal_gpio_ex.h | 104 + .../Inc/stm32wbxx_hal_i2c_ex.h | 47 +- .../Inc/stm32wbxx_hal_irda.h | 17 +- .../Inc/stm32wbxx_hal_lptim.h | 106 +- .../Inc/stm32wbxx_hal_pcd.h | 269 +- .../Inc/stm32wbxx_hal_pcd_ex.h | 6 +- .../Inc/stm32wbxx_hal_pwr.h | 2 + .../Inc/stm32wbxx_hal_pwr_ex.h | 4 + .../Inc/stm32wbxx_hal_rcc.h | 275 +- .../Inc/stm32wbxx_hal_rcc_ex.h | 87 +- .../Inc/stm32wbxx_hal_rtc.h | 8 +- .../Inc/stm32wbxx_hal_smartcard.h | 4 +- .../Inc/stm32wbxx_hal_smbus.h | 2 +- .../Inc/stm32wbxx_hal_tim.h | 106 +- .../Inc/stm32wbxx_hal_tim_ex.h | 57 +- .../Inc/stm32wbxx_hal_tsc.h | 4 + .../Inc/stm32wbxx_hal_uart.h | 240 +- .../Inc/stm32wbxx_hal_uart_ex.h | 5 + .../Inc/stm32wbxx_hal_usart.h | 4 +- .../Inc/stm32wbxx_hal_wwdg.h | 21 +- .../Inc/stm32wbxx_ll_adc.h | 2287 +++- .../Inc/stm32wbxx_ll_bus.h | 646 +- .../Inc/stm32wbxx_ll_comp.h | 18 +- .../Inc/stm32wbxx_ll_exti.h | 18 +- .../Inc/stm32wbxx_ll_i2c.h | 2 +- .../Inc/stm32wbxx_ll_lptim.h | 2 +- .../Inc/stm32wbxx_ll_lpuart.h | 58 +- .../Inc/stm32wbxx_ll_pwr.h | 96 +- .../Inc/stm32wbxx_ll_rcc.h | 621 +- .../Inc/stm32wbxx_ll_rtc.h | 6 +- .../Inc/stm32wbxx_ll_tim.h | 120 +- .../Inc/stm32wbxx_ll_usb.h | 36 +- .../STM32WBxx_HAL_Driver/Release_Notes.html | 729 + .../STM32WBxx_HAL_Driver/Src/stm32wbxx_hal.c | 2 +- .../Src/stm32wbxx_hal_adc.c | 927 +- .../Src/stm32wbxx_hal_adc_ex.c | 114 +- .../Src/stm32wbxx_hal_comp.c | 7 +- .../Src/stm32wbxx_hal_cryp.c | 1116 +- .../Src/stm32wbxx_hal_flash_ex.c | 26 + .../Src/stm32wbxx_hal_i2c.c | 14 +- .../Src/stm32wbxx_hal_irda.c | 2 +- .../Src/stm32wbxx_hal_iwdg.c | 2 +- .../Src/stm32wbxx_hal_lptim.c | 72 +- .../Src/stm32wbxx_hal_pcd.c | 425 +- .../Src/stm32wbxx_hal_pcd_ex.c | 8 +- .../Src/stm32wbxx_hal_pwr.c | 12 +- .../Src/stm32wbxx_hal_pwr_ex.c | 31 +- .../Src/stm32wbxx_hal_rcc.c | 32 +- .../Src/stm32wbxx_hal_rcc_ex.c | 82 +- .../Src/stm32wbxx_hal_rtc.c | 4 + .../Src/stm32wbxx_hal_smartcard.c | 5 +- .../Src/stm32wbxx_hal_smartcard_ex.c | 4 +- .../Src/stm32wbxx_hal_smbus.c | 4 +- .../Src/stm32wbxx_hal_tim.c | 457 +- .../Src/stm32wbxx_hal_tim_ex.c | 144 +- .../Src/stm32wbxx_hal_tsc.c | 4 +- .../Src/stm32wbxx_hal_uart.c | 889 +- .../Src/stm32wbxx_hal_uart_ex.c | 310 +- .../Src/stm32wbxx_hal_usart.c | 26 +- .../Src/stm32wbxx_hal_usart_ex.c | 8 +- .../Src/stm32wbxx_hal_wwdg.c | 43 +- .../Src/stm32wbxx_ll_adc.c | 315 +- .../Src/stm32wbxx_ll_comp.c | 4 +- .../Src/stm32wbxx_ll_lptim.c | 23 +- .../Src/stm32wbxx_ll_lpuart.c | 9 +- .../Src/stm32wbxx_ll_pwr.c | 4 +- .../Src/stm32wbxx_ll_rcc.c | 164 +- .../Src/stm32wbxx_ll_usart.c | 54 +- .../Src/stm32wbxx_ll_usb.c | 559 +- .../Src/stm32wbxx_ll_utils.c | 14 +- 153 files changed, 43842 insertions(+), 4513 deletions(-) create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Include/stm32wb10xx.h create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Include/stm32wb15xx.h create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Release_Notes.html create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/linker/stm32wb10xx_flash_cm4.sct create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/linker/stm32wb15xx_flash_cm4.sct create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/linker/stm32wb30xx_flash_cm4.sct create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/linker/stm32wb35xx_flash_cm4.sct create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/linker/stm32wb50xx_flash_cm4.sct create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/linker/stm32wb55xx_flash_cm4.sct create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/linker/stm32wb5mxx_flash_cm4.sct create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/startup_stm32wb10xx_cm4.s create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/arm/startup_stm32wb15xx_cm4.s create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb10xx_flash_cm4.ld create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb15xx_flash_cm4.ld create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb30xx_flash_cm4.ld create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb35xx_flash_cm4.ld create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb50xx_flash_cm4.ld create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb55xx_flash_cm4.ld create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb5mxx_flash_cm4.ld create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb10xx_cm4.s create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb15xx_cm4.s create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/iar/linker/stm32wb10xx_flash_cm4.icf create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/iar/linker/stm32wb10xx_sram_cm4.icf create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/iar/linker/stm32wb15xx_flash_cm4.icf create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/iar/linker/stm32wb15xx_sram_cm4.icf create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/iar/startup_stm32wb10xx_cm4.s create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/iar/startup_stm32wb15xx_cm4.s create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Include/cmsis_armclang_ltm.h create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Include/core_armv81mml.h create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Include/core_cm35p.h create mode 100644 bsp/stm32/libraries/STM32WBxx_HAL/STM32WBxx_HAL_Driver/Release_Notes.html diff --git a/bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Include/stm32wb10xx.h b/bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Include/stm32wb10xx.h new file mode 100644 index 0000000000..3bb479a6d2 --- /dev/null +++ b/bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Include/stm32wb10xx.h @@ -0,0 +1,10856 @@ +/** + ****************************************************************************** + * @file stm32wb10xx.h + * @author MCD Application Team + * @brief CMSIS Cortex Device Peripheral Access Layer Header File. + * This file contains all the peripheral register's definitions, bits + * definitions and memory mapping for stm32wb10xx devices. + * + * This file contains: + * - Data structures and the address mapping for all peripherals + * - Peripheral's registers declarations and bits definition + * - Macros to access peripheral's registers hardware + * + ****************************************************************************** + * @attention + * + *
This software component is licensed by ST under Apache-2.0 license, the “Licenseâ€; You may not use this component except in compliance with the License. You may obtain a copy of the License at:
+ +This driver provides the CMSIS device for the stm32wbxx products. This covers
+This driver is composed of the descriptions of the registers under “Include†directory.
+Various template file are provided to easily build an application. They can be adapted to fit applications requirements.
+The available flash size depends on the wireless binary used inside the STM32WB device.
+The linker files templates for IAR, KEIL and GCC provide example of implementation which can be tuned.
+You can refer to the below chapters to optimize the usage of the flash on your device.
+The default linker file provided in “/Drivers/CMSIS/DeviceST/STM32WBxx/Source/Templates†allows the application to use 512KB of flash.
+The maximum flash memory that can be used by the application is up to the Secure Flash Start Address (SFSA) that can be read from the option byte.
+The __ICFEDIT_region_ROM_end__ in the linker can be modified with a value up to : (0x08000000 + (SFSA << 12)) - 1.
+Example:
+Note:
+The default linker file provided in "/Drivers/CMSIS/Device/ST/STM32WBxx/Source/Templates allows the application to use 120KB of flash.
+The maximum flash memory that can be used by the application is up to the Secure Flash Start Address (SFSA) that can be read from the option byte.
+The __ICFEDIT_region_ROM_end__ in the linker can be modified with a value up to : (0x08000000 + (SFSA << 12)) - 1.
+Example:
+Note:
+The default linker file provided in "/Drivers/CMSIS/Device/ST/STM32WBxx/Source/Templates allows the application to use 110KB of flash.
+The maximum flash memory that can be used by the application is up to the Secure Flash Start Address (SFSA) that can be read from the option byte.
+The __ICFEDIT_region_ROM_end__ in the linker can be modified with a value up to : (0x08000000 + (SFSA << 11)) - 1 considering minimum CPU secure area size is one sector (2kBytes).
+Example:
+Note:
+Maintenance release for STM32WBxx devices (stm32wb55xx, stm32wb50xx, stm32wb35xx and stm32wb30xx devices)
+| Fixed bugs headline | +
|---|
| [STM32WB35] Remove EXTI_C2IMR2_IM43 and EXTI_IMR2_IM43 | +
| [STM32WB50] Remove RCC_CR_HSEBYP | +
| [STM32WB55] Remove RCC_CR_HSEBYP | +
| [STM32WB5M] Remove RCC_CR_HSEBYP | +
Maintenance release for STM32WBxx devices (stm32wb55xx, stm32wb50xx, stm32wb35xx and stm32wb30xx devices)
+| Fixed bugs headline | +
|---|
| [All devices] Correct DMAMUX_CxCR_DMAREQ_ID_Msk | +
| [All devices] Remove DMAMUX_CxCR_DMAREQ_ID_[6-7] | +
| [All devices] Call SystemInit first in startup/Reset_Handler, so GCC code is similar to IAR/Keil | +
| [STM32WB50xx and STM32WB30xx] Remove OR register from LPTIM_TypeDef | +
| [STM32WB50xx and STM32WB30xx] Remove DMAMUX_CSR_SOF[7-13] and DMAMUX_CFR_SOF[7-13] | +
| [STM32WB50xx and STM32WB30xx] Remove EXTI_RTSR1_RTxx_Pos [20, 21 and 31] | +
| [STM32WB50xx and STM32WB30xx] Remove TIM2_OR_TI4_RMP, TIM2_OR_ITR1_RMP and LPTIM_OR_OR | +
This release introduce the support of STM32WB5Mxx, STM32WB35xx product and its value line STM32WB30xx.
+Added features:
+Maintenance release for STM32WBxx devices (stm32wb55xx and stm32wb50xx devices)
+| Fixed bugs headline | +
|---|
| Remove IS_TIM_SYNCHRO_INSTANCE macro from CMSIS | +
| Move FLASH_SIZE define from hal flash. h to cmsis device file | +
| Correct size of .bin files generated by SW4STM32 | +
| Remove RCC_PLLSAI_SUPPORT for STM32WB50 | +
First release for STM32WBxx CMSIS introducing stm32wb50xx devices.
+CMSIS devices files for stm32wb55xx, stm32wb50xx devices.
+Maintenance release for STM32WBxx devices (stm32wb55xx devices)
+| Headline | +
|---|
| Correct GCC linker file: Set available size of RAM1 to 192K - 4 instead of 191K. | +
| Set FLASH_ACR_LATENCY_x as uint32_t (UL instead of U). | +
Add support of STM32WB55xx.
+This software component is licensed by ST under BSD 3-Clause license, the “Licenseâ€; You may not use this component except in compliance with the License. You may obtain a copy of the License at:
+https://opensource.org/licenses/BSD-3-Clause
+The STM32Cube HAL and LL, an STM32 abstraction layer embedded software, ensure maximized portability across STM32 portfolio.
+The Portable APIs layer provides a generic, multi instanced and simple set of APIs to interact with the upper layer (application, libraries and stacks). It is composed of native and extended APIs set. It is directly built around a generic architecture and allows the build-upon layers, like the middleware layer, to implement its functions without knowing in-depth the used STM32 device. This improves the library code reusability and guarantees an easy portability on other devices and STM32 families.
+The Low Layer (LL) drivers are part of the STM32Cube firmware HAL that provide basic set of optimized and one shot services. The Low layer drivers, contrary to the HAL ones are not Fully Portable across the STM32 families; the availability of some functions depend on the physical availability of the relative features on the product. The Low Layer (LL) drivers are designed to offer the following features:
+| Peripheral | +Headline | +
|---|---|
| generic | +Prevent redefinition of UNUSED macro | +
| generic | +Add support of Keil V6 | +
| USB | +Fix device ISO IN double buffer mode | +
| USB | +Remove duplication of PCD_GET_EP_RX_CNT define | +
| USB | +Fix PMA rx count descriptor update | +
| USB | +Fix HAL_PCD_EP_Open indentation | +
| USB | +Rework device start and stop | +
| USB | +Remove register keyword as no more supported by c++ compiler | +
| USB | +Fix double buffer mode | +
| USB | +Fix Enabling ULPI interface | +
| UART | +Arrays are now declared as static const | +
| UART | +Add a HAL UART service to enable RTO interrupt | +
| UART | +Implement HAL UART enhanced reception services (ReceptionToIdle) | +
| UART | +Fix typos introduced in UART State definition description | +
| UART | +Fix invalid CR1 init in UART_SetConfig() and SMARTCARD_SetConfig() | +
| TIMER | +Correct timeout vulnerability | +
| TIMER | +Correct counter value latch delay at high frequency | +
| TIMER | +Correct error: “LL_TIM_TS_ITR11†is undefined | +
| TIMER | +Correct LL_TIM_E_TestLL_TIM_SetRemap | +
| TIMER | +Correct HAL_TIM_OnePulse_Start ignoring OutputChannel parameter leading to unexpected behavior | +
| TIMER | +Correct ONEPULSEMODE defines. Descriptions were inverted | +
| TIMER | +Fix MISRA errors | +
| TIMER | +Correct the return value of LL_TIM_GetCounterMode | +
| LPTIM | +Correct MISRAC2012-Rule-8.3_b: Declaration/definition of HAL_LPTIM_RegisterCallback is inconsistent with previous declaration | +
| LPTIM | +Fix external clock configuration (was incomplete for some ClockSource/CounterSource combinations) | +
| ADC | +Correct timeout vulnerability | +
| ADC | +Increase internal regulator stabilization time from 10us to 20us | +
| COMP | +Correct timeout vulnerability | +
| CRYP | +Correct official NIST CCM test pattern enciphering failing when header length is null | +
| CRYP | +Correct HAL_CRYP_SetConfig not storing the content of KeyIVConfigSkip | +
| CRYP | +Correct the GCM decryption in interrupt mode | +
This release is compatible with the previous versions.
+All peripheral
+| Peripheral | +Headline | +
|---|---|
| CRYP | +Add precision on data types | +
| CRYP | +AES GCM: handling of AUD with size not multiple of 4 bytes not properly handle in CRYP_AESGCM_Process_IT | +
| CRYP | +Fix CRYP HAL driver to manage GCM header lengths not multiple of 4 bytes in 8-bit, 16-bit and 32-bit data types. | +
| CRYP | +Update to be able to manage GCM/GMAC/CCM header feed in DMA mode | +
| CRYP | +Fix the enciphering issue and pass all the official NIST CCM test patterns. | +
| EXTI | +Replace reserved word __LINE__ by __EXTI_LINE__ | +
| EXTI | +Add missing line 46 to LL_EXTI_LINE_ALL_32_63 | +
| I2C | +Refactor documentation | +
| PWR | +Remove ‘register’ storage class specifier | +
| RCC | +HSE bypass related API must be removed from RCC LL/HAL drivers | +
| RCC | +LSI is no longer a source for RF WUP | +
| RCC | +SystemCoreClockUpdate shall not be called by the HAL | +
| TIM | +Add HAL_TIM_DMABurst_MultiWriteStart and HAL_TIM_DMABurst_MultiReadStart to support multiple DMA bursts. | +
| TIM | +Minor correction to fix warnings | +
| WWDG | +Correct driver description | +
This release is compatible with the previous versions.
+All peripheral
+| Peripheral | +Headline | +
|---|---|
| All | +Remove ‘register’ storage class specifier | +
| CRYP | +AES GCM: Add support data encrypt/decrypt with length not multiple of 16 bytes | +
| DMA | +LOCK UNLOCK process to modify, as LOCK is done at Start and UNLOCK is done at Completion processus | +
| DMA | +Correct the computation for DMAMUX overrun IT mask | +
| GPIO | +Correct bug on HAL_GPIO_TogglePin and LL_GPIO_TogglePin to allow to toggle multiple pin | +
| I2C | +Sequential transfer MAX_NBYTE_SIZE correspond to no reload | +
| SPI | +problematic timeout management inside SPI DMA xfer complete handler (interrupt context) | +
| SPI | +Issue in 3wires communication (Need Disable / Enable SPI) | +
| IWDG | +Correct the IWDG start-up timeout (insufficiently low) | +
| USB | +Improve OUT EP re-enable with double buffering | +
| USB | +Add workaround for unexpected USB wakeup during stop mode | +
| USB | +Clear unexpected wakeup during suspend IT | +
| USB | +Adjust IO address access to be volatile | +
| USB | +Manage IN isoc IN transfer complete interrupt | +
| RTC | +Issue on macro when clearing or getting flag TAMP, TIMESTAMP in EXTI | +
| SAI | +Issue with ‘register’ storage class specifier, should be removed | +
| SMARTCARD | +No repetition after NACK is received in smartcard T=0 | +
| SMARTCARD | +Improve doxygen visual result | +
| UART | +Rework BRR register value computation in HAL_UART_Init() for ROM size gain | +
| Utils | +Align package information to RM0434 | +
| Utils | +Turn UTILS_SetFlashLatency() into LL_SetFlashLatency() public function | +
| TIM | +Order of disabling in HAL_TIM_IC_Stop_DMA function | +
| TIM | +COUNTERMODE defines are inverted for TIM_CR1_CMS in ll_tim.h | +
This release is compatible with the previous versions.
+This release introduce the support of STM32WB5Mxx, STM32WB35xx product and its value line STM32WB30xx.
+Added features:
+| Peripheral | +Headline | +
|---|---|
| HAL/LL | +VREFBUF trimming calibration must be written by software | +
| HAL | +HAL_SetTickFreq() should update frequency on Systick_LOAD register and uwTickFreq correctly | +
| GPIO | +LL_GPIO_Init() generate undesired pulse | +
| I2C | +HardFault in I2C_DMAXferCplt | +
| I2C | +Incorrectly enable interrupts in I2C_Enable_IRQ routine when InterruptRequest = I2C_XFER_CPLT_IT | +
| RCC | +Cannot enable PLL if PLL OFF with identical PLL config | +
| RCC | +Clock reconfiguration issues once PLLSAI used | +
This release is compatible with the previous versions.
+| Peripheral | +Headline | +
|---|---|
| CRYP | +Correct suspend and resume operation with a different parameter size. | +
| I2C | +Correct MISRA error. The value assigned to variable tmpITFlags was never used. | +
| I2C | +Correct I2C slave interrupt handling issue. | +
| IPCC | +Add LL_IPCC_GetChannelNumber API which return the number of channel supported by the device. | +
| LPTIM | +Correct doxygen group names. | +
| PKA | +Use a macro __PKA_RAM_PARAM_END to clear the last word of any input parameters. | +
| TSC | +Correct MISRA error related to tag __TSC_HandleTypeDef which is unused. | +
| ADC | +Add two functions to ease configuration of internal channels. | +
This release is compatible with the previous versions.
+This software release is compatible with:
+STM32CubeMX V6.0.0
+| Peripheral | +Headline | +
|---|---|
| CRYP | +Document a restriction regarding size field on HAL_CRYP_Encrypt_DMA, HAL_CRYP_Decrypt_DMA API. | +
| CRYP | +Correct several MISRA C:2012 and Code Sonar compliancy improvements. | +
| FLASH | +Move FLASH_SIZE define from hal flash. h to cmsis device file | +
| FLASH | +Correct ECC management in HAL FLASH driver | +
| FLASH | +Correct #define in stm32wbxx_hal_flash.h - FLASH_PAGE_NB | +
| RCC | +Correct PLL characteristics | +
| TIMER | +Add assertion check inside HAL_TIMEx_MasterConfigSynchronization | +
| TIMER | +Make LL_TIM_SetETRSource in line with RM0434 | +
| WWDG | +Correct typical frequency computation description inside the header file | +
| IRDA | +Improve the description of the APIs | +
| SMARTCARD | +Fix GCC compilation warning | +
| UART | +Correct possible overflow with wordlength = 9bits and NO parity in HAL_UART_Transmit() and HAL_IRDA_Transmit() | +
| UART | +Fix GCC compilation warning | +
| USART | +Correct possible overflow with wordlength = 9bits and NO parity in HAL_UART_Transmit() and HAL_IRDA_Transmit() | +
| USART | +Fix GCC compilation warning | +
This release is compatible with the previous versions.
+This software release is compatible with:
+STM32CubeMX V5.4.0
+First release for STM32WBxx HAL drivers introducing stm32wb50xx devices.
+| Peripheral | +Headline | +
|---|---|
| RCC | +Add capabilty to configure RNG clock in one step. | +
| + | Before two steps were required: USB clock then RNG clock. | +
| + | Two step method is still supported and compatible. | +
| IRDA | +Avoid using macros with function calls as argument | +
| LPTIM | +Add polling mechanims to check xxOK flags | +
| + | Add new EXTI macros to manage LPTIM wakeup EXTI interrupts | +
| USB | +Improve ep OUT interrupt handler | +
| + | Ensure 16 bit access to USB PMA | +
| + | Enable BCD | +
| RNG | +Add new error definitions | +
| SAI | +Correct SAI frequency calculation in case of SPDIF output | +
| SMARTCARD | +Avoid using macros with function calls as argument | +
| UART | +Avoid using macros with function calls as argument | +
| USART | +Avoid using macros with function calls as argument | +
This release is compatible with the previous versions.
+This software release is compatible with:
+STM32CubeMX V5.3.0
+Maintenance release of HAL and Low layers drivers supporting STM32WB55xx devices.
+| Peripheral | +Headline | +
|---|---|
| COMP | +Only cosmetic changes | +
| CRYP | +Only changes related to documentation | +
| EXTI | +Only changes related to documentation | +
| FLASH | +Improve code efficiency | +
| GPIO | +Improve HAL_GPIO_TogglePin efficiency | +
| IWDG | +Only changes related to documentation | +
| RCC | +Only changes related to documentation | +
| RTC | +LL_RTC_BAK_GetRegister generates warning on GCC 6.3.1 20170620 | +
| TIM | +Only changes related to documentation | +
| TSC | +Correct __HAL_TSC_GET_GROUP_STATUS which was checking only TSC_GROUP1_IDX | +
This release is compatible with the previous versions.
+This software release is compatible with:
+STM32CubeMX V5.2.0
+First official release of HAL (Hardware Abstraction Layer) and LL (Low layers) drivers to support STM32WB55xx.
+