fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad

This commit is contained in:
wuzhenghui
2023-10-27 18:23:50 +08:00
parent 4db9dbb3e8
commit 6ae596c764
18 changed files with 387 additions and 14 deletions

View File

@@ -101,6 +101,7 @@ void bootloader_console_init(void)
esp_rom_uart_set_as_console(ESP_ROM_UART_USB);
esp_rom_install_channel_putc(1, bootloader_console_write_char_usb);
#if SOC_USB_SERIAL_JTAG_SUPPORTED
usb_phy_ll_usb_wrap_pad_enable(&USB_WRAP, true);
usb_phy_ll_int_otg_enable(&USB_WRAP);
#endif
}