esp-idf/components/usb/CMakeLists.txt
Darian Leung 424e1e1886 Add USB HCD
This commit adds the USB HCD (Host Controller Driver) and accompanying unit tests.
2021-02-26 23:13:42 +08:00

13 lines
355 B
CMake

idf_build_get_property(target IDF_TARGET)
#USB Host is currently only supported on ESP32-S2
if(NOT "${target}" STREQUAL "esp32s2")
return()
endif()
idf_component_register(SRCS "hcd.c"
INCLUDE_DIRS ""
PRIV_INCLUDE_DIRS "private_include"
PRIV_REQUIRES "hal"
REQUIRES "")