mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-30 22:30:24 +01:00
There is a periodically yield in the esp_flash driver, to ensure the cache will not be disabled for too long on ESP32. On ESP32-S2 and later, we need to support more different kind of yield: 1. polling conditions, including timeout, SW read request, etc. 2. wait for events, including HW done/error/auto-suspend, timeout semaphore, etc. The check_yield() and yield() is separated into two parts, because we may need to insert suspend, etc. between them.
29 KiB
29 KiB