Skip to content

Commit f272d87

Browse files
committed
remove dcd_esp32sx which is replaced by dwc2
1 parent 331c263 commit f272d87

File tree

4 files changed

+4
-894
lines changed

4 files changed

+4
-894
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Supported CPUs
122122
+--------------+-----------------------------+--------+------+-----------+------------------------+-------------------+
123123
| Dialog | DA1469x |||| da146xx | |
124124
+--------------+-----------------------------+--------+------+-----------+------------------------+-------------------+
125-
| Espressif | S2, S3 |||| dwc2 or esp32sx | |
125+
| Espressif | S2, S3 |||| dwc2 | |
126126
| ESP32 +-----------------------------+--------+------+-----------+------------------------+-------------------+
127127
| | P4 |||| dwc2 | |
128128
| +-----------------------------+--------+------+-----------+------------------------+-------------------+

src/class/audio/audio_device.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@
7979
// Linear buffer in case target MCU is not capable of handling a ring buffer FIFO e.g. no hardware buffer
8080
// is available or driver is would need to be changed dramatically
8181

82-
// Only STM32 and dcd_transdimension use non-linear buffer for now
83-
// dwc2 except esp32sx (since it may use dcd_esp32sx)
82+
// Only STM32 and ChipIdea HS use non-linear buffer for now
8483
// Ring buffer is incompatible with dcache, since neither address nor size is aligned to cache line
85-
#if (defined(TUP_USBIP_DWC2) && !TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3)) || \
84+
#if defined(TUP_USBIP_DWC2) || \
8685
defined(TUP_USBIP_FSDEV) || \
8786
CFG_TUSB_MCU == OPT_MCU_RX63X || \
8887
CFG_TUSB_MCU == OPT_MCU_RX65X || \

0 commit comments

Comments
 (0)