-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add DWC2 cache maintenance routines for STM32 #2963
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
7b6b813
to
adb3c80
Compare
Looks like my HIL instance has license issue, I think we can add the env locally. |
Works great for me, both for CDC and UVC. Thanks ! In addition to |
Thanks for your test. |
Thanks @HiFiPhile for great Pr as usual. Though I am off for TET (Lunar New Year) and won't be able to review this in 2 weeks. Happy New Year 🎉 |
I don't think so. I'm using a custom RTOS which relies on its own set of headers, that's why. |
Happy new year also 🎊 |
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
d349c12
to
6c9a081
Compare
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Describe the PR
Now
#define CFG_TUD_DWC2_DMA_ENABLE 1
is enough.It's prefer to declare a non-cached region with MPU instead of rely on cache invalidate+clean, benchmark on STM32H7S3 and i.MX RT1170 shows frequent cache invalidate+clean really hurts performance.
** Need rebase after #2960