mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
12 lines
330 B
CMake
12 lines
330 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(SRC_DIRS "."
|
||
|
PRIV_INCLUDE_DIRS "." "../private_include"
|
||
|
PRIV_REQUIRES cmock usb test_utils
|
||
|
)
|