Merge branch 'ci/fix_test_switch_ota' into 'master'

fix(app_update): Fix CI test_switch_ota by increasing deepsleep

See merge request espressif/esp-idf!24801
This commit is contained in:
Mahavir Jain
2023-08-01 16:49:25 +08:00
5 changed files with 24 additions and 14 deletions
+11 -3
View File
@@ -426,9 +426,12 @@ esp_err_t esp_sleep_pd_config(esp_sleep_pd_domain_t domain,
/**
* @brief Enter deep sleep with the configured wakeup options
*
* This function does not return.
* @note In general, the function does not return, but if the sleep is rejected,
* then it returns from it.
*
* The reason for the rejection can be such as a short sleep time.
*/
void esp_deep_sleep_start(void) __attribute__((__noreturn__));
void esp_deep_sleep_start(void);
/**
* @brief Enter light sleep with the configured wakeup options
@@ -452,9 +455,14 @@ esp_err_t esp_light_sleep_start(void);
* Call to this function is equivalent to a call to esp_deep_sleep_enable_timer_wakeup
* followed by a call to esp_deep_sleep_start.
*
* @note In general, the function does not return, but if the sleep is rejected,
* then it returns from it.
*
* The reason for the rejection can be such as a short sleep time.
*
* @param time_in_us deep-sleep time, unit: microsecond
*/
void esp_deep_sleep(uint64_t time_in_us) __attribute__((__noreturn__));
void esp_deep_sleep(uint64_t time_in_us);
/**