esp-idf/components/soc/esp32
jingli abb6bb1181 esp_hw_support/sleep: fix cannot enable sleep reject in some cases
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.
2022-05-12 19:09:57 +08:00
..
include/soc esp_hw_support/sleep: fix cannot enable sleep reject in some cases 2022-05-12 19:09:57 +08:00
ld soc: Adds efuse hal 2022-02-24 22:20:09 +08:00
adc_periph.c soc: descriptive part occupy whole component 2020-10-28 07:21:29 +08:00
CMakeLists.txt lcd: support i80 LCD on esp32/s2/s3 2021-08-10 21:06:59 +08:00
dac_periph.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
gpio_periph.c Enable IO20 on ESP32 2021-08-20 14:05:38 +08:00
i2c_periph.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
i2s_periph.c i2s: update copyright 2022-02-21 21:28:48 +08:00
interrupts.c soc: descriptive part occupy whole component 2020-10-28 07:21:29 +08:00
lcd_periph.c lcd: support I2S1 LCD mode on esp32 2022-03-14 13:55:01 +08:00
ledc_periph.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
mcpwm_periph.c mcpwm: update hal and soc naming 2021-07-26 22:32:45 +08:00
pcnt_periph.c pulse_cnt: new driver for PCNT peripheral 2022-03-03 22:38:32 +08:00
rmt_periph.c rmt: document and improve LL driver 2022-03-09 10:58:12 +08:00
rtc_io_periph.c gpio: remove legacy rtc_io description for esp32 2022-01-06 21:43:12 +08:00
sdio_slave_periph.c soc: descriptive part occupy whole component 2020-10-28 07:21:29 +08:00
sdmmc_periph.c soc: add esp32s3 sdmmc support 2021-05-10 23:21:27 +02:00
sigmadelta_periph.c sigma_delta: add periph signal list and support esp32-s3 2020-10-29 11:06:28 +08:00
spi_periph.c soc: descriptive part occupy whole component 2020-10-28 07:21:29 +08:00
timer_periph.c gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
touch_sensor_periph.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
uart_periph.c uart: uart_set_pin function will now use IOMUX whenever possible 2021-08-04 12:48:30 +08:00