OVMS3-idf/components
Alex Lisitsyn 2d90da0817 esp32: Deactivate wakeup trigger after first wakeup
The timer wakeup function once activated cannot be disabled later using existing api. If user wants to use different wakeup sources after first sleep but it does not work. This change disables timer wakeup trigger in configuration that will be set into appropriate RTC registers in esp_light_sleep_start() function.

Added function esp_sleep_disable_wakeup_source() to deactivate wakeup trigger for selected source.
Updated documentation for this function in sleep_modes.rst file to pass make html.
Updated unit test to check this functionality for light sleep.
The test_sleep.c unit test is updated to add reliability for auto unit testing.

(TW#18952)
Closes https://github.com/espressif/esp-idf/issues/1677
2018-03-16 18:22:02 +05:00
..
app_trace esp32: Fixes apptrace down buffer management 2018-02-21 10:13:25 +03:00
app_update ota_ops: Fix get_selected_boot_partition() in case there is no factory partition 2017-09-04 17:37:28 +10:00
aws_iot aws iot: Expose Thing Shadow settings in menuconfig 2018-02-05 14:38:23 +08:00
bootloader build system: Fix undefined variables 2017-12-28 19:21:34 +08:00
bootloader_support Protect partition table by MD5 checksum 2018-02-05 11:36:03 +01:00
bt Merge branch 'bugfix/btdm_clear_start_stop_adv_callback_when_complete' into 'master' 2018-03-08 20:22:10 +08:00
coap Ensure that C++ and C compilers get the same preprocessor setup 2017-10-26 13:04:41 +02:00
console console: Add C++ guards to header 2018-01-29 09:22:04 +08:00
cxx unit tests: make static init guard test single core compatible 2018-01-23 07:56:13 +00:00
driver Merge branch 'feature/rtc_gpio_isolate' into 'master' 2018-02-26 06:09:08 +08:00
esp32 esp32: Deactivate wakeup trigger after first wakeup 2018-03-16 18:22:02 +05:00
esp_adc_cal esp_adc_cal/Remove lookup table 2018-02-22 20:01:41 +08:00
espcoredump bugfix: fixed path to esptool when there is no compiled python module for it 2017-03-21 13:30:38 +03:00
esptool_py esptool: Update to v2.2.1 2018-01-24 17:45:49 +11:00
ethernet Set direction of SMI pins MDC and MDIO correctly. 2018-02-11 16:11:14 +08:00
expat Build system: Raise warning level 2016-11-16 15:57:34 +11:00
fatfs fatfs: check allocated workbuf pointer 2018-02-11 13:03:36 +08:00
freertos Kconfig: esp32/freertos: add some missing dependencies 2018-02-21 12:31:10 +05:30
heap heap: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11:00
idf_test Merge branch 'test/spi_performance' into 'master' 2018-02-08 22:59:40 +08:00
jsmn Add jsmn JSON parser component 2017-03-07 10:18:47 +11:00
json Update cJSON to v1.7.1 2018-02-05 14:15:26 +08:00
libsodium unit tests: fix warnings, build with -Werror 2017-10-19 21:35:23 +08:00
log component/bt: Fix BLE printf missing problem 2018-02-06 14:35:39 +08:00
lwip Merge branch 'bugfix/close_socket_when_tcp_connecting' into 'master' 2018-03-08 20:34:40 +08:00
mbedtls Add #include guards and __cplusplus guards to esp_debug.h 2017-12-07 10:25:57 +11:00
mdns mdns: Fix case where service is NULL and that will cause exception 2018-01-22 13:56:53 +01:00
micro-ecc micro-ecc: Add submodule dependency 2016-11-17 09:18:51 +11:00
newlib time: rename time source option from FRC to "high-resolution timer" 2017-12-11 12:37:08 +08:00
nghttp Ensure that C++ and C compilers get the same preprocessor setup 2017-10-26 13:04:41 +02:00
nvs_flash Fix compilation errors when using gcc-7.2.0 for the crosstool-ng toolchain 2017-12-04 10:18:40 +11:00
openssl OpenSSL API addition 2018-02-20 12:32:12 +05:30
partition_table partition_table: Optionally disable the MD5 checksum in partition tables 2018-02-22 07:46:41 +01:00
pthread pthread: fix pthread_once behavior, if mux (handle) is in external PSRAM 2018-02-23 14:51:05 +05:30
sdmmc test(sdmmc_host): add new test to probe over SD (1-bit). 2018-02-07 12:05:05 +08:00
soc esp_adc_cal/Remove lookup table 2018-02-22 20:01:41 +08:00
spi_flash spi_flash: Update docs 2018-02-22 10:28:26 +11:00
spiffs spiffs: fix esp_spiffs_format not working if partition is not mounted 2018-01-31 14:29:13 +08:00
tcpip_adapter tcpip_adapter: make log output at debug level less noisy 2018-02-11 13:06:01 +08:00
ulp soc,ulp: add register definitions of RTC_I2C peripheral 2018-01-08 21:28:14 +08:00
vfs add missing ioctl declaration 2017-10-23 19:47:33 +08:00
wear_levelling unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
wpa_supplicant Add the fast crypto function in supplicant 2017-08-09 21:36:13 +08:00
xtensa-debug-module esp32: Apptrace API enhancement 2017-07-24 19:57:44 +03:00