Page 1 of 1

esp_tinyusb error

Posted: Tue Jan 23, 2024 11:47 am
by kostya
I have both ESP32 & ESP32S2

Now I have got the error for compiling for ESP32... Reinstalling totally IDF do not help.
Please help...

-- Building ESP-IDF components for target esp32
Manifest files have changed, solving dependencies.
CMake Error at D:/Espressif/frameworks/esp-idf-v5.1.2/tools/cmake/build.cmake:540 (message):
HINT: Component "espressif/esp_tinyusb" has suitable versions for other
targets: "esp32s2", "esp32s3". Is your current target "esp32" set
correctly?

WARNING: Cannot find versions of "espressif/esp_tinyusb" satisfying
"~1.0.0" for the current target "esp32".

HINT: Please check manifest file of the following component(s): main

ERROR: Because project depends on espressif/esp_tinyusb (~1.0.0) which
doesn't match any versions, version solving failed.

Call Stack (most recent call first):
D:/Espressif/frameworks/esp-idf-v5.1.2/tools/cmake/project.cmake:547 (idf_build_process)
CMakeLists.txt:13 (project)


..-- Configuring incomplete, errors occurred!
See also "D:/ESP32/ROOM/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the D:\ESP32\ROOM\build\log\idf_py_stderr_output_3560 and D:\ESP32\ROOM\build\log\idf_py_stdout_output_3560

Re: esp_tinyusb error

Posted: Sun Mar 10, 2024 11:16 pm
by chegewara
esp32 does not have USB hardware, so dont work with tinyusb library.
esp32S2 should build fine