mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
c06346da35
This commit updates the DWC_OTG based struct/ll/hal file names to use the prefix "usb_dwc". This naming scheme reduces ambiguity if another USB controller implementation is added. As a result, "hcd.c" has been renamed to "hcd_dwc.c"
24 lines
678 B
CMake
24 lines
678 B
CMake
set(srcs)
|
|
set(include)
|
|
set(priv_include)
|
|
set(priv_require)
|
|
|
|
if(CONFIG_USB_OTG_SUPPORTED)
|
|
list(APPEND srcs "hcd_dwc.c"
|
|
"hub.c"
|
|
"usb_helpers.c"
|
|
"usb_host.c"
|
|
"usb_private.c"
|
|
"usbh.c"
|
|
"usb_phy.c")
|
|
list(APPEND include "include")
|
|
list(APPEND priv_include "private_include")
|
|
list(APPEND priv_require "hal" "driver")
|
|
endif()
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
INCLUDE_DIRS ${include}
|
|
PRIV_INCLUDE_DIRS ${priv_include}
|
|
PRIV_REQUIRES ${priv_require}
|
|
)
|