STM32CubeL4
###########
Origin:
ST Microelectronics
http://www.st.com/en/embedded-software/stm32cubel4.html
Status:
version 1.13.0
Purpose:
ST Microelectronics official MCU package for STM32L4 series.
Description:
This package is an extract of official STM32CubeL4 package written by ST Microelectronics.
It is composed of STM32Cube hardware abstraction layer (HAL) and low layer (LL) plus a set
of CMSIS headers files, one for each SoC in STM32L4 series.
Dependencies:
None.
URL:
http://www.st.com/en/embedded-software/stm32cubel4.html
commit:
version 1.13.0
Maintained-by:
External
License:
BSD-3-Clause
License Link:
https://opensource.org/licenses/BSD-3-Clause
Patch List:
* The STM32L4x2 SoCs need to control the isolation of the USB features
from VDDUSB. This is done through the PWR_CR2 bit USV. The STM32L4 HAL
in stm32l4xx_ll_pwr.h wrongly checks for the PWR_CR2_PVME1 bit, which
is only available on Cat. 3 devices. Replace the check by PWR_CR2_USV.
Impacted files:
ext/hal/st/stm32cube/stm32l4xx/drivers/include/stm32l4xx_ll_pwr.h
ST Bug tracker ID: 47844
*Disable new CAN API and enable Legacy API
A new CAN API has been delivered on recent L4 stm32cube.
This new API breaks current CAN driver. Disable the new API and enable the
legacy API.
Disable related systematic warning message
Impacted files:
CMakeLists.txt
drivers/include/stm32l4xx_hal_conf.h
drivers/src/Legacy/stm32l4_hal_can.c
*Fix LL_EXTI_LINE_18 and LL_EXTI_LINE_20 declarations
LL_EXTI_LINE_18 and LL_EXTI_LINE_20 are declared in stm32l4xx_hal_pcd.h
and in stm32l4xx_ll_exti.h which generates warnings. Set #ifndef
in stm32l4xx_ll_exti.h around declarations.
Impacted files:
drivers/include/stm32l4xx_ll_exti.h
ST Bug tracker ID: 55275
*Use of (__packed uint32_t *) produces warning
Using GNU 8.2.0, (__packed uint32_t *) generates warning.
Replace with CMSIS macros __UNALIGNED_UINT32_READ and
__UNALIGNED_UINT32_WRITE.
Impacted files:
drivers/include/stm32l4xx_ll_usb.c
ST Bug tracker ID: 61328
*Fix warnings for extraneous parentheses
Using clang 7.0.1, if ((htim->State == HAL_TIM_STATE_BUSY))
generates warnings. Remove the extra parentheses
Impacted files:
drivers/src/stm32l4xx_hal_tim.c
drivers/src/stm32l4xx_hal_tim_ex.c
ST Bug tracker ID: 63620