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 re-usability 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:
Maintenance release of HAL and Low layers drivers supporting STM32G041xx/STM32G031xx/STM32G030xx and STM32G081xx/STM32G071xx/STM32G070xx devices.
Headline |
---|
[FLASH HAL] Add Missing clear of End Of Operation flag in HAL FLASH_WaitForLastOperation() function |
[GPIO HAL] Correct issue on EXTI management in HAL_GPIO_DeInit() |
[IWDG] Update comments ti improve document generation |
[RNG HAL] Correct wrong bits used for Seed and Clock errors detection (CEI and SEI) |
[RNG] Add new definition for RNG error type : HAL_RNG_ERROR_BUSY, HAL_RNG_ERROR_SEED, HAL_RNG_ERROR_CLOCK |
[RNG] Update comments area to reflect Data Ready status behavior |
[SYSCFG LL] Correct wrong bit definition used for LL_SYSCFG_UCPD2_STROBE |
[TIM HAL] Master Slave Mode (MSM) configurable: add @note in TIM_MasterConfigTypeDef |
[TIM HAL] Configure fast mode for One pulse mode: add new __HAL_TIM_DISABLE_OCxFAST() & __HAL_TIM_ENABLE_OCxFAST() macros |
[TIM HAL] Configure IT for break and dead-time API: add @note HAL_TIMEx_ConfigBreakDeadTime() |
[TIM HAL] Remove useless uint16_t cast when clearing bit |
[USART/UART/IRDA/SMARTCARD HAL] Correction to avoid using macros with function calls as argument in PPP_SetConfig() |
[USART/UART/IRDA/SMARTCARD HAL] Fix minor doxygen issues to improve CHM document generation |
[USART/UART/IRDA HAL] Improve API description in HAL_PPP_Transmit/Receive() and HAL_PPP_Transmit/Receive() |
[IRDA/SMARTCARD HAL] In PPP_HandleTypeDef, ErrorCode field is now declared in volatile (__IO added) |
[USART LL] Update Macros __LL_USART_DIV_SAMPLING8() and __LL_USART_DIV_SAMPLING16 to use uint32_t |
[USART LL] Change USART_PRESCALER_TAB[] table definition from uint16_t to uint32_t |
[USART LL] [MISRAC2012-Rule-18.1_b/d] array out of bounds in LL_USART_SetBaudRate() |
[SMARTCARD HAL] [MISRAC2012-Rule-13.5] The right-hand operand of a logical && or || operator shall not contain side effects |
Supported Devices:
This release is compatible with the previous versions.
This software release is compatible with:
STM32CubeMX V5.3.0
First release of HAL and Low layers drivers to introduce support of STM32G041xx/STM32G031xx/STM32G030xx devices.
Maintenance release of HAL and Low layers drivers supporting STM32G081xx/STM32G071xx/STM32G070xx devices.
Headline |
---|
HAL, LL Drivers update to support STM32G041xx, STM32G031xx, STM32G030xx |
Headline |
---|
[HAL] Correct possible issue within HAL_SetTickFreq()function |
[HAL RCC] Use variable uwTickPrio instead TICK_INT_PRIORITY to not overwrite Tick priority |
[HAL RCC] Use LL macro __LL_RCC_CALC_PCLK1_FREQ() in HAL_RCC_GetPCLK1Freq() to solve misra c 2012 issues |
[LL ADC] LL function LL_ADC_SetCommonFrequencyMode() is useless in STM32G0, kept for legacy purpose. |
[HAL DAC] Rename HAL_DAC_MSP_INIT_CB_ID/HAL_DAC_MSP_DEINIT_CB_ID in HAL_DAC_MSPINIT_CB_ID/HAL_DAC_MSPDEINIT_CB_ID |
[HAL DAC] Internal function DAC_DMAConvCpltCh1(), DAC_DMAErrorCh1(), DAC_DMAHalfConvCpltCh1() moved to hal_dac_ex.c |
[HAL DAC] Use DAC driver define instead of CMSIS bit to check if software trigger enabled in HAL_DAC_Start() |
[HAL FLASH] HAL flash driver improvement : typo, comments correction, add U suffix, used CMSIS define instead of hard coded value, use HAL macro instead of direct register access |
[HAL FLASH] Clear FLASH_IT_ECCC flag when disabling End of Operation and Error interrupts in HAL_FLASH_IRQHandler() |
[HAL GPIO] Correct compilation warning with new IAR 8.30.1 in IS_GPIO_PIN() macro |
[HAL GPIO] Enhance re-entrance robustness for HAL_GPIO_TogglePin() API |
[LL PWR] Correct definition of LL_PWR_MODE_STOP0 and LL_PWR_MODE_STOP1 |
[LL PWR] Correct definition of registers address-based accesses, which MUST be volatile |
[HAL RTC] Add management of INITF flag rising occurrence too early when entering init mode |
[HAL RTC] Correct WUTWF flag management in HAL_RTCEx_SetWakeUpTimer() API |
[HAL RTC] Rename RTC_IT_MASK into RTC_FLAG_MASK |
[HAL RTC] Replace hard coded values by CMSIS _Pos definition |
[HAL TIM] Align DMA Burst defines with the reference manual: Add TIM_DMABASE_TISEL definition |
[LL TIM] Remove parenthesis on REG parameter in LL_LPTIM_WriteReg() and LL_LPTIM_ReadReg() to avoid compilation failure after MISRA correction |
[HAL DMA] Add clean of Callbacks in HAL_DMA_DeInit() and remove it from HAL_DMA_Init() |
Supported Devices:
This release is compatible with the previous versions.
This software release is compatible with:
STM32CubeMX V5.2.0
Maintenance release of HAL and Low layers drivers to support STM32G071xx/STM32G081xx/STM32G070xx devices.
Headline |
---|
MISRAC2012 implementation in CEC/CRYP/WWDG/RNG/I2S/SPI/UTILS/IWDG/USART/UART/I2C |
Headline |
---|
[LL ADC] compilation warning in stm32g0xx_ll_adc.h with MDK-ARM |
[LL ADC] Wrong commentary in stm32g0xx_ll_adc.h |
[LL ADC] missing to fill ADC_CFGR2_CKMODE in LL_ADC_Init () |
[LL ADC] redefinition of registers address MUST be volatile (_IO) |
[LL ADC] Potential infinite wait in while loop of LL_ADC_DeInit() |
[ADC] Embedded SW code comments or document must use ‘’Peripheral’’ rather than ‘’IP’’ |
[LL COMP] redefinition of registers address MUST be volatile (_IO) |
[HAL CYRP] Support several call to decrypt API without initialize Key and IVR - API update |
[HAL CRYP] Add possibility to not set key in HAL CRYP interface |
[LL DMA] IS_LL_DMA_PERIPHREQUEST macro is not aligned with the max number of request |
[FLASH][MISRAC2012-Rule-8.5_b] Multiple declarations of externally-linked object |
[FLASH]Program DoubleWord fails (PGAERR) when using STRD assembly instruction |
[I2C][MISRAC2012] MISRAC2012-Rule-2.2c and 17.8 when ITFlags is modified |
[HAL I2C] Issue using HAL_I2C_Slave_Sequential_Receive_DMA, STOPF arrives too early versus DMA cplt message |
[LL RCC] Correct EXTERNAL_CLOCK_VALUE |
[HAL RCC][CodeSonar] HAL_RCCEx_GetPeriphCLKFreq - Useless Assignment |
[HAL RCC] MCU hangs after some stop/wakeup cycles |
[HAL RCC] __HAL_RCC_PLLxx_CONFIG() macros shall preserve output clock(s) enable state |
[LL UART][CodeSonar] Cast alter value (LL_LPUART_ReceiveData8) |
[LL UART][CodeSonar] Uninitialized Variable (LL_LPUART_GetBaudRate) |
[LL USART][CodeSonar] Cast alter value (LL_USART_ReceiveData8) |
Supported Devices:
This release is compatible with the previous versions.
This software release is compatible with:
STM32CubeMX V5.1.0
First official release of HAL and Low layers drivers to support STM32G071xx/STM32G081xx/STM32G070xx
Supported Devices:
This software release is compatible with:
STM32CubeMX V5.0.0