From e55e97b63c12a87600d7dd01ecf4e251a5851e5b Mon Sep 17 00:00:00 2001 From: Roman Leonov Date: Tue, 14 Jan 2025 12:41:05 +0100 Subject: [PATCH] fix(esp_tinyusb): Default RHPORT selection for S2/S3 --- device/esp_tinyusb/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/device/esp_tinyusb/Kconfig b/device/esp_tinyusb/Kconfig index 741f9895..6ab9ec79 100644 --- a/device/esp_tinyusb/Kconfig +++ b/device/esp_tinyusb/Kconfig @@ -19,7 +19,8 @@ menu "TinyUSB Stack" choice TINYUSB_RHPORT depends on !TINYUSB_DYNAMIC_RHPORT_CONFIG prompt "USB Peripheral" - default TINYUSB_RHPORT_HS + default TINYUSB_RHPORT_HS if IDF_TARGET_ESP32P4 + default TINYUSB_RHPORT_FS help Allows set the USB Peripheral Controller for TinyUSB. @@ -28,6 +29,7 @@ menu "TinyUSB Stack" config TINYUSB_RHPORT_HS bool "OTG2.0" + depends on IDF_TARGET_ESP32P4 config TINYUSB_RHPORT_FS bool "OTG1.1" endchoice