mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7c494055e3
App can contain a stub program resident in RTC fast memory. Bootloader will load the stub on initial boot. If the device wakes from deep sleep, the stub is run immediately (before any other data is loaded, etc.) To implement a custom wake stub, implement a function in your program: ``` void RTC_IRAM_ATTR esp_wake_deep_sleep(void) { esp_default_wake_deep_sleep(); // other wake logic } ``` ... and it will replace the default implementation. |
||
---|---|---|
.. | ||
hwcrypto | ||
rom | ||
soc | ||
xtensa | ||
esp_attr.h | ||
esp_deepsleep.h | ||
esp_err.h | ||
esp_event_loop.h | ||
esp_event.h | ||
esp_intr.h | ||
esp_ipc.h | ||
esp_ssc.h | ||
esp_system.h | ||
esp_task.h | ||
esp_types.h | ||
esp_wifi_types.h | ||
esp_wifi.h | ||
esp_wps.h |