Merge branch 'fix/lightsleep_stress_task_leak_v5.5' into 'release/v5.5'

fix(esp_system): wait for idle after light sleep stress tasks (v5.5)

See merge request espressif/esp-idf!52271
This commit is contained in:
Marius Vikhammer
2026-09-03 13:18:09 +08:00

View File

@@ -98,6 +98,7 @@ TEST_CASE("light sleep stress test", "[lightsleep]")
xSemaphoreTake(done, portMAX_DELAY);
#endif
vSemaphoreDelete(done);
vTaskDelay(10);
}
static void timer_func(void* arg)
@@ -126,6 +127,7 @@ TEST_CASE("light sleep stress test with periodic esp_timer", "[lightsleep]")
vSemaphoreDelete(done);
esp_timer_stop(timer);
esp_timer_delete(timer);
vTaskDelay(10);
}
#endif // !(CONFIG_SPIRAM) || (CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL >= 16384)