mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-23 00:13:43 +02:00
Initial refactors to support esp32 boards
This commit is contained in:
@@ -1,4 +1,19 @@
|
||||
set (
|
||||
requires
|
||||
esp_timer
|
||||
esp32-camera
|
||||
StateManager
|
||||
CameraManager
|
||||
Helpers
|
||||
)
|
||||
|
||||
if ("$ENV{IDF_ETARGET}" STREQUAL "esp32s3")
|
||||
list(APPEND required
|
||||
usb_device_uvc
|
||||
)
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS "UVCStream/UVCStream.cpp"
|
||||
INCLUDE_DIRS "UVCStream"
|
||||
REQUIRES esp_timer esp32-camera StateManager usb_device_uvc CameraManager Helpers
|
||||
REQUIRES ${requires}
|
||||
)
|
||||
Reference in New Issue
Block a user