Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_esp32s3_usb_otg_v4.4' into 'release/v4.4'
Browse files Browse the repository at this point in the history
esp_phy: fix esp32s3 phy work with USB-OTG issue(v4.4)

See merge request espressif/esp-idf!15914
  • Loading branch information
jack0c committed Nov 22, 2021
2 parents 7816b59 + c3951d5 commit 81ce15f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions components/esp_phy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,11 @@ menu "PHY"

config ESP_PHY_ENABLE_USB
bool "Enable USB when phy init"
depends on ESP_CONSOLE_USB_SERIAL_JTAG
default y
depends on USB_OTG_SUPPORTED || ESP_CONSOLE_USB_SERIAL_JTAG
default y if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3
default n
help
When using USB Serial/JTAG controller, PHY should enable USB, otherwise log will
not be displayed. But working with USB, the RF performance may be affected.
When using USB Serial/JTAG/OTG/CDC, PHY should enable USB, otherwise USB module
can not work properly.

endmenu # PHY
2 changes: 1 addition & 1 deletion components/esp_phy/lib

0 comments on commit 81ce15f

Please sign in to comment.