CMakeLists.txt 414 B

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