diff options
| author | igor.masar <[email protected]> | 2025-09-16 12:18:50 +0200 |
|---|---|---|
| committer | igor.masar <[email protected]> | 2025-09-16 12:38:35 +0200 |
| commit | 4182342112d92898d2b55ef9562c545a9ebf52ac (patch) | |
| tree | 98da2b93ae00831c64a78b8a4773779adcb873d0 /src/common | |
| parent | feef534921446e1a3ded54a0c46191fe1709bdb4 (diff) | |
Add ESP32-H4 as a supported MCU in TinyUSB and wire it into build/runtime:
- tusb_option.h: define OPT_MCU_ESP32H4
- tusb_mcu.h: enable DWC2 USBIP for H4
- dcd_dwc2.c: add H4 USB_WRAP field aliases (wrap_* → legacy names)
- dwc2_esp32.h: add H4 controller entry (FS base/IRQ, ep caps)
- family.c: include H4 in USB init/PHY setup
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_mcu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 7722ca1e6..b647b2a7f 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -387,7 +387,7 @@ //--------------------------------------------------------------------+ // Espressif //--------------------------------------------------------------------+ -#elif TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3) +#elif TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3, OPT_MCU_ESP32H4) #define TUP_USBIP_DWC2 #define TUP_USBIP_DWC2_ESP32 #define TUP_DCD_ENDPOINT_MAX 7 // only 5 TX FIFO for endpoint IN |
