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

Rework ESP32 configuration descriptor builder #372

Merged
merged 13 commits into from
Feb 6, 2024

Conversation

hathach
Copy link
Member

@hathach hathach commented Feb 2, 2024

Previously configuration descriptor is built using esp32-hal-tinyusb.c since it is not possible to do so in application in early stage, since lots of callbacks is strong one in esp32 core. Apperantly, things got changes and it is possible now to override all those descriptor callback in arduino-esp32 core. esp32-hal-tinyusb.c build configuration during init() therefore not very dynamic which make it difficult to change descriptor in setup() while Video class has very sophisticaed descriptors hiearachy.

This PR make esp32 configuration descriptor is built/update just like other ports. There is quite a bit of changes but should not change the behavior since Serial still use ESP USBCDC implementation.

Also add new dwc2 driver for esp32 as well.

@hathach hathach merged commit 5cd4063 into master Feb 6, 2024
16 checks passed
@hathach hathach deleted the rework-esp-config-desc-builder branch February 6, 2024 05:58
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

Successfully merging this pull request may close these issues.

1 participant