zephyr/ext/hal/st/stm32cube/stm32l4xx
Erwan Gouriou 15c229655e ext/hal/st: stm32cube: Update License Link for stm23cube packages
License link provided in stm32cube abstract packages was not
reflecting the actual license in use for these packages.
Update the link to BSD 3-Clause official.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-05-06 08:54:14 -05:00
..
drivers ext/hal: stm32l4xx: Fix warnings for extraneous parentheses 2019-04-17 16:46:17 -05:00
soc
CMakeLists.txt
README ext/hal/st: stm32cube: Update License Link for stm23cube packages 2019-05-06 08:54:14 -05:00

README

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