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

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

See merge request espressif/esp-idf!17075
pull/8460/head
Jiang Jiang Jian 2022-02-17 04:15:54 +00:00
commit b39d0dbf2c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -106,11 +106,11 @@ menu "PHY"
config ESP_PHY_ENABLE_USB
bool "Enable USB when phy init"
depends on USB_OTG_SUPPORTED || ESP_CONSOLE_USB_SERIAL_JTAG
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/OTG/CDC, PHY should enable USB, otherwise USB module
can not work properly.
can not work properly. Notice: Enabling this configuration option will slightly impact wifi performance.
endmenu # PHY