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 573d06f6f7
commit 0ab0d2182e
15 changed files with 438 additions and 14 deletions

View File

@@ -106,6 +106,7 @@ void bootloader_console_init(void)
esp_rom_uart_set_as_console(ESP_ROM_USB_OTG_NUM);
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
}