forked from espressif/esp-idf
fix(esp_hw_support): fix sar disable access flash in IRAM_OPT sleep
This commit is contained in:
@@ -687,12 +687,10 @@ FORCE_INLINE_ATTR void misc_modules_sleep_prepare(uint32_t pd_flags, bool deep_s
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !CONFIG_IDF_TARGET_ESP32P4
|
||||
// TODO: IDF-7370
|
||||
if (!(deep_sleep && (s_sleep_sub_mode_ref_cnt[ESP_SLEEP_USE_ADC_TSEN_MONITOR_MODE] != 0))){
|
||||
// TODO: IDF-7370
|
||||
sar_periph_ctrl_power_disable();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -38,8 +38,7 @@ entries:
|
||||
sleep_mmu:mmu_domain_pd_allowed (noflash)
|
||||
sleep_modem:modem_domain_pd_allowed (noflash)
|
||||
sleep_modem:periph_inform_out_light_sleep_overhead (noflash)
|
||||
if IDF_TARGET_ESP32P4 = n && IDF_TARGET_ESP32C61 = n : # TODO: IDF-6496, IDF-9304
|
||||
sar_periph_ctrl:sar_periph_ctrl_power_disable (noflash)
|
||||
sar_periph_ctrl:sar_periph_ctrl_power_disable (noflash)
|
||||
|
||||
[mapping:esp_system_pm]
|
||||
archive: libesp_system.a
|
||||
|
Reference in New Issue
Block a user