feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32c5

This commit is contained in:
yanzihan@espressif.com
2026-01-20 14:28:35 +08:00
committed by Jack
parent 025ec41dac
commit d0b1371e34
15 changed files with 336 additions and 25 deletions

View File

@@ -256,6 +256,9 @@ __attribute__((weak)) void esp_perip_clk_init(void)
#if !CONFIG_USJ_ENABLE_USB_SERIAL_JTAG && !CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED
clk_gate_config.disable_usb_serial_jtag = true;
#endif
#if !CONFIG_ESP_ENABLE_PVT
clk_gate_config.disable_pvt_clk = true;
#endif
periph_ll_clk_gate_set_default(rst_reason, &clk_gate_config);
}