lib/tinyusb: Update TinyUSB to release 0.17.0#15902
lib/tinyusb: Update TinyUSB to release 0.17.0#15902dpgeorge merged 2 commits intomicropython:masterfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #15902 +/- ##
=======================================
Coverage 98.57% 98.57%
=======================================
Files 164 164
Lines 21336 21336
=======================================
Hits 21031 21031
Misses 305 305 ☔ View full report in Codecov by Sentry. |
|
Code size report: |
|
Tested with
all build and work. NRF seems better than before. Code size increase for SAMD21 is 48bytes. Lacking a ARDUINO_PORTENTA_C33 board I could not test it with Renesas-RA. But at least the firmware builds. |
|
Thanks @robert-hh I've got a renesas FS USB board I'll be able to test with. @iabdalkader no pressure but if you get a chance to test on the portenta renesas or would be good to confirm it hasn't been broken by this change. |
|
@robert-hh thanks for testing! That's very helpful. I also tested with the following:
I didn't see any regressions. USB CDC throughput is unchanged. |
Hi @dpgeorge do you have a script/pattern you could share that you use to test CDC throughout? I'd like to check that before/after on renesas and esp boards. |
Yes! See #15909. |
|
Thanks for that @dpgeorge ! |
|
You probably need to do a few runs before you can compare code changes. Eg the load of your PC can change the throughput. |
|
Yeah I did a few repeats and got similar results, though to be fair I didn't go back to original to re-check that. edit: Ok I did rerun both MR code then went back to master and got similar results on the large block sizes: |
|
@andrewleech so you were able to test the |
|
@dpgeorge sorry I wasn't entirely clear - yes |
|
@andrewleech OK, thanks. So the remaining test would be for @iabdalkader are you able to test this PR on an Arduino Portenta C33? |
@andrewleech @dpgeorge Yes I can test it today. I tested this too #15550 and it works fine, if you merge it first it will be easier for me to test both. |
OK, that's now merged. |
|
I pulled this PR locally, and rebased on master and tested C33, and it seems to work fine. |
Includes support for RP2350, and improvements for ESP32. Signed-off-by: Damien George <damien@micropython.org>
The old configuration option has been removed from TinyUSB. Signed-off-by: Damien George <damien@micropython.org>
46e6ee8 to
b0ba151
Compare
|
Thanks @iabdalkader for testing. |

Summary
TinyUSB (finally!) has a new release, 0.17.0. Usually we track latest master but now there's a release it would be good to update to that.
More importantly, an updated TinyUSB is needed for both RP2350 support #15619 and ESP32 shared TinyUSB integration #15108. Both those PRs update TinyUSB to a commit prior to the 0.17.0 release, and it would be good to consolidate those updates into a single update of TinyUSB, hence this PR.
Testing
Testing is needed for all existing TinyUSB ports: