-
Notifications
You must be signed in to change notification settings - Fork 24
Make S3 120 speed setting working #125
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
Conversation
Change SPI flash configuration options for HPM.
Removed commented out espressif source file from srcs.
Remove patch application for dwc2_esp32_h.diff
Updated idf_libs and bootloaders for esp32s3 target.
|
Caution Review failedThe pull request is closed. WalkthroughPR modifies ESP32-S3 build configurations, refactors TinyUSB device controller to add host support, extracts frequency variants into build metadata, and updates compilation sources and configuration flags across multiple targets. Changes
Sequence DiagramsequenceDiagram
participant App as Application
participant Init as TinyUSB Init
participant Device as Device Mode<br/>(CFG_TUD_ENABLED)
participant Host as Host Mode<br/>(CFG_TUH_ENABLED)
participant DWC2 as DWC2 Controller<br/>(with FIFO mgmt)
rect rgb(200, 220, 255)
Note over App,Init: Initialization Phase
App->>Init: tusb_init()
Init->>Device: dcd_init() or equiv.
Init->>Host: hcd_init() or equiv.
Device->>DWC2: Enable device endpoints
Host->>DWC2: Enable host ports
end
rect rgb(220, 200, 255)
Note over App,Host: Device Operation (Endpoint Transfers)
App->>Device: dcd_edpt_xfer(ep_addr, ...)
Device->>DWC2: Allocate FIFO via get_free_fifo()
DWC2->>DWC2: Update depctl.tx_fifo_num
DWC2-->>Device: Transfer scheduled
end
rect rgb(255, 220, 200)
Note over App,Host: USB Event Handling
DWC2->>DWC2: Bus reset / suspend / unplugged
DWC2->>DWC2: Reset _allocated_fifos = 1
DWC2-->>Device: Event propagated
DWC2-->>Host: Event propagated
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Key areas requiring attention:
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (17)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Bug Fixes
Chores