mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
abb6bb1181
When enable sleep reject before this fix, we have two limitations: 1. it must be light sleep 2. RTC GPIO wakeup source must be set We require light sleep because `esp_deep_sleep_start` function has been declared with "noreturn" attribute, So developers don't expect that this function may return (due to an error or a sleep reject). But the requirement for RTC GPIO wakeup source is not reasonable for all chips. This requirement exists because ESP32 only supports RTC GPIO and SDIO sleep reject sources. But later chips support all sleep reject sources. This fix brings the following changes: for ESP32: RTC GPIO and SDIO sleep reject sources can be enabled when corresponding wakeup source is set. for later chips: all sleep reject sources can be enabled when corresponding wakeup source is set. |
||
---|---|---|
.. | ||
include/soc | ||
ld | ||
adc_periph.c | ||
CMakeLists.txt | ||
dac_periph.c | ||
gpio_periph.c | ||
i2c_periph.c | ||
i2s_periph.c | ||
interrupts.c | ||
lcd_periph.c | ||
ledc_periph.c | ||
mcpwm_periph.c | ||
pcnt_periph.c | ||
rmt_periph.c | ||
rtc_io_periph.c | ||
sdio_slave_periph.c | ||
sdmmc_periph.c | ||
sigmadelta_periph.c | ||
spi_periph.c | ||
timer_periph.c | ||
touch_sensor_periph.c | ||
uart_periph.c |