diff options
| author | Vincent1-python <pywei201209@163.com> | 2025-08-15 17:26:05 +0800 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-12-01 13:08:52 +1100 |
| commit | e6f1f7871380950657947a64f6ba0ae724258dc0 (patch) | |
| tree | 5084145f58e7837bd48e322e1dafa3dc1ea7f969 /shared | |
| parent | 604cda5d545564523c4deaedb2e93a464e3dcf8f (diff) | |
esp32: Add support for ESP32-P4.
This commit adds support for ESP32-P4 SoCs.
Signed-off-by: Vincent1-python <pywei201209@163.com>
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'shared')
| -rw-r--r-- | shared/tinyusb/tusb_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/tinyusb/tusb_config.h b/shared/tinyusb/tusb_config.h index 40cb00ca4..8abd02154 100644 --- a/shared/tinyusb/tusb_config.h +++ b/shared/tinyusb/tusb_config.h @@ -59,7 +59,7 @@ #define MICROPY_HW_USB_MSC_INQUIRY_REVISION_STRING "1.00" #endif -#ifndef CFG_TUSB_RHPORT0_MODE +#if !defined(CFG_TUSB_RHPORT0_MODE) && !defined(CFG_TUSB_RHPORT1_MODE) #define CFG_TUSB_RHPORT0_MODE (OPT_MODE_DEVICE) #endif |
