mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
feat(clk): add basic clock support for esp32p4
- Support CPU frequency 360MHz - Support SOC ROOT clock source switch - Support LP SLOW clock source switch - Support clock calibration
This commit is contained in:
@@ -39,7 +39,7 @@ uint32_t clk_hal_cpu_get_freq_hz(void)
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t clk_hal_ahb_get_freq_hz(void)
|
||||
static uint32_t clk_hal_ahb_get_freq_hz(void)
|
||||
{
|
||||
// AHB_CLK path is highly dependent on CPU_CLK path
|
||||
switch (clk_ll_cpu_get_src()) {
|
||||
|
Reference in New Issue
Block a user