Merge branch 'feature/add_wakeup_cost_info_to_dslp_wakestub_example' into 'master'

feature: add wake up time cost info to deep_sleep_wake_stub example

See merge request espressif/esp-idf!22683
This commit is contained in:
Wu Zheng Hui
2023-03-11 15:11:53 +08:00
3 changed files with 37 additions and 15 deletions

View File

@@ -1652,7 +1652,13 @@ static uint32_t get_power_down_flags(void)
return pd_flags;
}
void esp_deep_sleep_disable_rom_logging(void)
#if CONFIG_IDF_TARGET_ESP32
/* APP core of esp32 can't access to RTC FAST MEMORY, do not define it with RTC_IRAM_ATTR */
void
#else
void RTC_IRAM_ATTR
#endif
esp_deep_sleep_disable_rom_logging(void)
{
rtc_suppress_rom_log();
}