feat: add USB CDC support and ReadFlash protocol#24
Merged
deadprogram merged 1 commit intotinygo-org:mainfrom Apr 12, 2026
Merged
feat: add USB CDC support and ReadFlash protocol#24deadprogram merged 1 commit intotinygo-org:mainfrom
deadprogram merged 1 commit intotinygo-org:mainfrom
Conversation
7 tasks
832dbc6 to
3e5c1ae
Compare
- chunk SLIP writes to 64 bytes for USB CDC endpoint compatibility - use 1KB RAM upload blocks for USB connections - add ReadFlash protocol with SLIP-framed blocks and cumulative ACKs - add SLIP leftover buffer for multi-frame USB transfers - add port re-open recovery for TinyUSB CDC re-enumeration
3e5c1ae to
812a5a1
Compare
Member
|
Hello @jgangemi I tried this branch out on my xiao ESP32-S3 and noticed that it was MUCH slower on the initial connection. It did work to flash the device once it finally connected. Worked as expected on the Xiao ESP32-C3 |
Member
|
Further update: if I use this along with the updated stubs as it is in PR #23 then it does work on both ESP32-C3 and ESP32-S3 boards. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.