Skip to content

Conversation

@hathach
Copy link
Owner

@hathach hathach commented Oct 6, 2025

Describe the PR
A clear and concise description of what this PR solve.

Additional context
If applicable, add any other context about the PR and/or screenshots here.

Copilot AI review requested due to automatic review settings October 6, 2025 04:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the deprecated ESP32-SX specific USB Device Controller (DCD) driver that has been replaced by the generic dwc2 driver. The change modernizes the ESP32 S2/S3 support by consolidating on a single, shared driver implementation.

Key changes:

  • Removes the entire dcd_esp32sx.c driver file (889 lines)
  • Updates IAR project generator to exclude the removed driver
  • Simplifies audio device buffer configuration by removing ESP32SX-specific conditions

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/portable/espressif/esp32sx/dcd_esp32sx.c Complete removal of ESP32SX-specific USB device controller driver
tools/iar_gen.py Removes dcd_esp32sx.c from blacklist, simplifying file filtering
src/class/audio/audio_device.c Simplifies buffer type logic by removing ESP32SX exception
README.rst Updates documentation to reflect ESP32 S2/S3 now only use dwc2 driver

@hathach hathach merged commit f8ef71d into master Oct 6, 2025
187 of 188 checks passed
@hathach hathach deleted the remove-dcd_esp32sx branch October 6, 2025 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants