esp-idf/components/usb/test/CMakeLists.txt
Alex Lisitsyn 46020fe13a usb/hal/soc: initial copy of usbh support from esp32s2
copy required usbh driver files from esp32s2
check usb host functionality using unit tests on esp32s3
2021-06-02 17:57:50 +08:00

12 lines
357 B
CMake

idf_build_get_property(target IDF_TARGET)
#USB Host is currently only supported on ESP32-S2, ESP32S3 chips
if(NOT "${target}" MATCHES "^esp32s[2-3]")
return()
endif()
idf_component_register(SRC_DIRS "hcd"
PRIV_INCLUDE_DIRS "../private_include" "." "hcd"
PRIV_REQUIRES cmock usb test_utils
)