From 780c1efb9fa7243854ee629ba8316a37924359fc Mon Sep 17 00:00:00 2001 From: Erwin Rol Date: Tue, 31 Oct 2017 11:59:38 +0100 Subject: [PATCH] drivers: usb: stm32: use Kconfig to select HAL/LL sources Use "select USE_STM32_LL_USB/USE_STM32_HAL_PCD/USE_STM32_HAL_PCD_EX" to select the needed STM32 HAL files, instead of editing ext/hal/st/stm32cube/CMakeLists.txt Signed-off-by: Erwin Rol --- drivers/usb/device/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/device/Kconfig b/drivers/usb/device/Kconfig index 62a6c5d0d8e..4c85e42c3ca 100644 --- a/drivers/usb/device/Kconfig +++ b/drivers/usb/device/Kconfig @@ -32,6 +32,9 @@ config USB_DC_STM32 depends on HAS_STM32CUBE depends on SOC_SERIES_STM32F4X select USB_DEVICE_DRIVER + select USE_STM32_LL_USB + select USE_STM32_HAL_PCD + select USE_STM32_HAL_PCD_EX default n help STM32 family USB device controller Driver.