mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32c5
This commit is contained in:
committed by
Jack
parent
025ec41dac
commit
d0b1371e34
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user