Skip to content

Commit

Permalink
fix(esp_tinyusb): Default RHPORT selection for S2/S3
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-jam committed Jan 14, 2025
1 parent 8237a96 commit e55e97b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion device/esp_tinyusb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down

0 comments on commit e55e97b

Please sign in to comment.