Merge branch 'bugfix/usb_default_print_wifi_v4.3' into 'release/v4.3'

esp_phy: enable usb under default(without choosing USB_SERIAL_JTAG) (backport v4.3)

See merge request espressif/esp-idf!17078
This commit is contained in:
Jiang Jiang Jian 2022-02-16 04:04:38 +00:00
commit 8fa37107be

View File

@ -415,10 +415,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 || ESP_CONSOLE_SECONDARY_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. Notice: Enabling this configuration option will slightly impact wifi performance.
endmenu # PHY