usb: stm32l5: add configuration to enable HSI48 clock

Add configuration to enable HSI48 clock when using USB from STM32L5
board

Signed-off-by: Luc Viala <luc.viala19@gmail.com>
This commit is contained in:
Luc Viala 2021-09-24 09:22:27 +02:00 committed by Anas Nashif
parent d1921cd979
commit a94c2bc78b

View file

@ -202,7 +202,8 @@ static int usb_dc_stm32_clock_enable(void)
*/ */
#if defined(RCC_HSI48_SUPPORT) || \ #if defined(RCC_HSI48_SUPPORT) || \
defined(CONFIG_SOC_SERIES_STM32WBX) || \ defined(CONFIG_SOC_SERIES_STM32WBX) || \
defined(CONFIG_SOC_SERIES_STM32H7X) defined(CONFIG_SOC_SERIES_STM32H7X) || \
defined(CONFIG_SOC_SERIES_STM32L5X)
/* /*
* In STM32L0 series, HSI48 requires VREFINT and its buffer * In STM32L0 series, HSI48 requires VREFINT and its buffer