esp-idf/components/soc/esp32s3
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 adc: fix adc1 channel 8 and 9 not defined bug on s3 2021-12-08 18:21:28 +08:00
CMakeLists.txt usb: Add usb_phy driver to support operations on USB PHY 2021-09-13 12:39:56 +08:00
dedic_gpio_periph.c dedic_gpio: support on esp32s3 2021-06-30 18:10:54 +08:00
gdma_periph.c gdma: support IRAM interrupt 2021-11-08 16:14:51 +08:00
gpio_periph.c gpio:support gpio in/out/interrupt for esp32s3(728) 2021-06-28 11:44:14 +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: unify callback prototype 2021-10-02 14:23:31 +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:support gpio in/out/interrupt for esp32s3(728) 2021-06-28 11:44:14 +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 spi_master:support octal mode for esp32s2 and esp32s3 2021-08-19 16:40:22 +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 touch sensor: update copyright notice 2021-10-08 11:45:57 +08:00
uart_periph.c uart: uart_set_pin function will now use IOMUX whenever possible 2021-08-04 12:48:30 +08:00
usb_periph.c soc/hal: add tinyusb support esp32s3 2021-05-06 16:20:54 +08:00
usb_periph.h Support ESP32S3 Beta 3 target 2021-03-18 10:24:22 +08:00
usb_phy_periph.c usb: Add usb_phy driver to support operations on USB PHY 2021-09-13 12:39:56 +08:00