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 bc2ea111fb
commit 236883728d
16 changed files with 341 additions and 40 deletions

View File

@@ -108,6 +108,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
}