Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed(tinyusb error) (EUB-75) #27

Closed
3 tasks done
wirwolf opened this issue Dec 7, 2024 · 4 comments
Closed
3 tasks done

Build failed(tinyusb error) (EUB-75) #27

wirwolf opened this issue Dec 7, 2024 · 4 comments

Comments

@wirwolf
Copy link

wirwolf commented Dec 7, 2024

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Code compiling without error

Actual behavior (suspected bug)

Code not compiled and idf.py menuconfig not work

Error logs or terminal output

..CMake Error at /home/user/esp/esp-idf/tools/cmake/build.cmake:611 (message):
  ERROR: Because project depends on espressif/tinyusb (^0.15.0) which doesn't
  match any versions, version solving failed.

Call Stack (most recent call first):
  /home/user/esp/esp-idf/tools/cmake/project.cmake:735 (idf_build_process)
  CMakeLists.txt:12 (project)


### Steps to reproduce the behavior

git clone ...
idf.py set-target esp32c3
idf.py menuconfig


### Project release version

master

### System architecture

Intel/AMD 64-bit (modern PC, older Mac)

### Operating system

Linux

### Operating system version

Kbuntu 22.04

### Shell

Bash

### Additional context

ESP-IDF v5.5-dev-811-ga2f420a36e
@github-actions github-actions bot changed the title Build failed(tinyusb error) Build failed(tinyusb error) (EUB-75) Dec 7, 2024
@wirwolf
Copy link
Author

wirwolf commented Dec 7, 2024

Also i see in output
-- Component directory /home/user/esp/esp-usb-bridge/components/tinyusb does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/user/esp/esp-usb-bridge/components/tinyusb does not contain a CMakeLists.txt file. No component will be added

@dobairoland
Copy link
Collaborator

Hi @wirwolf. ESP32-C3 is not supported. Please see #17 for more information. The main README states that only ESP32-S2 and ESP32-S3 are supported.

As for the build issue, I think it is a local issue. I recommend to check that git status is clean and try to run idf.py reconfigure.

-- Component directory /home/user/esp/esp-usb-bridge/components/tinyusb does not contain a CMakeLists.txt file. No component will be added

You can see in the repository that we don't have tinyusb in the components directory. Instead it is placed during the build into the managed_components directory by the component manager. Have you modified the project?

@wirwolf
Copy link
Author

wirwolf commented Dec 7, 2024

@dobairoland Yes, I tried to add tinyusb, becase if I reset the code to the master branch and run idf.py reconfigure I see this error

CMake Error at /home/user/esp/esp-idf/tools/cmake/build.cmake:611 (message):
  ERROR: Because project depends on espressif/tinyusb (^0.15.0~4) which
  doesn't match any versions, version solving failed.

Call Stack (most recent call first):
  /home/user/esp/esp-idf/tools/cmake/project.cmake:735 (idf_build_process)
  CMakeLists.txt:12 (project)

I can try changing version to ^0.15.0~5 or ^0.16.0 but nothing changes

PS. i change the target on ESP32-S3 but this ho have effect

@dobairoland
Copy link
Collaborator

dobairoland commented Dec 9, 2024

Hi @wirwolf. I just did upgrade my local copy to the latest master version and ESP-IDF latest master (to match your ESP-IDF). I run idf.py fullclean followed by idf.py build and the project was built successfully.

This is my dependencies.lock where you can see that tinyusb version 0.15.0~10 was picked up and downloaded into the managed_components directory:

dependencies:
  espressif/esp-serial-flasher:
    component_hash: 4ffa79cb17e9e9acd74d7f25cdfd8a4e5991eecf4af93d2d99a3d70c5c94739f
    dependencies:
    - name: idf
      require: private
      version: '>=4.3'
    - name: espressif/usb_host_cdc_acm
      registry_url: https://components.espressif.com
      require: private
      rules:
      - if: idf_version >=4.4
      - if: target in [esp32s2, esp32s3]
      version: ^2
    source:
      registry_url: https://components.espressif.com/
      type: service
    version: 1.7.0
  espressif/tinyusb:
    component_hash: 214989d502fc168241a4a4f83b097d8ac44a93cd6f1787b4ac10069a8b3bebd3
    dependencies:
    - name: idf
      require: private
      version: '>=5.0'
    source:
      registry_url: https://components.espressif.com/
      type: service
    targets:
    - esp32s2
    - esp32s3
    - esp32p4
    version: 0.15.0~10
  espressif/usb_host_cdc_acm:
    component_hash: f76e1283e7ef0e7970e8a708c4ee443ff0aa112572e25319d30b7ec555cc0aee
    dependencies:
    - name: idf
      require: private
      version: '>=4.4'
    source:
      registry_url: https://components.espressif.com
      type: service
    version: 2.0.6
  idf:
    source:
      type: idf
    version: 5.5.0
direct_dependencies:
- espressif/esp-serial-flasher
- espressif/tinyusb
- idf
manifest_hash: 216d2bc9f039b6053290380e34a906b8721f4e2748547a4117a554690af30035
target: esp32s3
version: 2.0.0

Is it possible that you did some other modifications to this project or your ESP-IDF? You can check these by git status.

I'm closing this because it is not possible to reproduce on our end. If this would be a general issue then I assume we would have received more reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants