mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
14 lines
477 B
CMake
14 lines
477 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 "common" "hcd" "usb_host"
|
|
PRIV_INCLUDE_DIRS "../private_include" "common" "hcd" "usb_host"
|
|
PRIV_REQUIRES cmock usb test_utils
|
|
)
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|