pmu: sleep initialization and sleep start support for esp32c6
Initialize the pmu sleep machine constant when pmu is initialized, and calculate the pmu sleep time adjustment value and hardware configuration value according to the machine constant during system sleep. Calibrate fast OSC before each sleep and use the calibration value to calculate PMU hardware wait cycles when use the fast OSC as the work clock.
This commit is contained in:
@@ -18,6 +18,8 @@ entries:
|
||||
rtc_pm (noflash_text)
|
||||
rtc_sleep (noflash_text)
|
||||
rtc_time (noflash_text)
|
||||
if SOC_PMU_SUPPORTED = y:
|
||||
pmu_sleep (noflash)
|
||||
if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y:
|
||||
rtc_wdt (noflash_text)
|
||||
if PERIPH_CTRL_FUNC_IN_IRAM = y:
|
||||
|
||||
Reference in New Issue
Block a user