-
Notifications
You must be signed in to change notification settings - Fork 18
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
feature(esp_tinyusb): Added mode configuration for dcd_dwc2 layer #88
Conversation
06dc14d
to
6984304
Compare
6984304
to
2da7516
Compare
@tore-espressif @peter-marcisovsky This is the configuration changes that should be done to enable DMA on S2/S3 and P4. So, basically, we are almost there. So the steps will be:
PTAL and share your thoughts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for the update. LGTM.
2da7516
to
516f80a
Compare
516f80a
to
fa4f905
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only 1 nitpick, LGTM!
a872688
to
c32dc07
Compare
c32dc07
to
1b18558
Compare
Description
DMA support for TinyUSB device stack.
DMA (Buffer mode) is a default mode for device, meanwhile there is an option to change the mode to Single/IRQ by disabling DMA mode via menuconfig.
If (by any reason) hardware isn't support DMA (
arch != GHWCFG2_ARCH_INTERNAL_DMA
) then the Single/IRQ mode will be used.Related
Testing
This PR is already compatible with the branch: https://github.com/espressif/tinyusb/tree/release/v0.17
Measurements
Measurements were made on
tusb_msc
example (read-write operations benchmark, SDMMC target).ESP32S3
ESP32P4
*Benchmark results provided
Checklist
Before submitting a Pull Request, please ensure the following: