esp_phy: fix esp32s3 phy work with USB-OTG issue

This commit is contained in:
chenjianxing
2021-11-08 19:55:26 +08:00
parent 9b46f4e086
commit c3951d5e9d
2 changed files with 6 additions and 5 deletions

View File

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