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:
parent
1537b4502b
commit
780c1efb9f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue