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 <erwin@erwinrol.com>
This commit is contained in:
Erwin Rol 2017-10-31 11:59:38 +01:00 committed by Kumar Gala
parent 1537b4502b
commit 780c1efb9f
1 changed files with 3 additions and 0 deletions

View File

@ -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.