1idf_build_get_property(target IDF_TARGET)
2
3#USB Host is currently only supported on ESP32-S2, ESP32S3 chips
4if(NOT "${target}" MATCHES "^esp32s[2-3]")
5    return()
6endif()
7
8idf_component_register(
9                    SRC_DIRS "common" "hcd" "usb_host"
10                    PRIV_INCLUDE_DIRS "../private_include" "common" "hcd" "usb_host"
11                    PRIV_REQUIRES cmock usb test_utils
12                    )
13