97 Commits

Author SHA1 Message Date
C.S.M 152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
hebinglin 96af3e4d2e change(example): change uart wakeup mode 0 edge threshold 2026-03-06 11:23:27 +08:00
Li Shuai a26816a5ab fix(example): fix some issues for light sleep example
fix test related apps undeclared symbol build error
remove uart wakeup example for esp32 (not support)
2026-03-05 18:11:17 +08:00
wuzhenghui 3e7892122e feat(esp_hw_support): support lightsleep and deepsleep on esp32h21 2025-09-26 14:02:55 +08:00
wuzhenghui ae34067f11 feat(soc): update esp32h21 lowpower related caps 2025-09-26 14:02:55 +08:00
Jiang Jiang Jian d85ad74c7f Merge branch 'feat/add_usj_notes_to_sleep_examples' into 'master'
change(example): adds USB-Serial-JTAG console usage notes to sleep examples

Closes IDFGH-15488

See merge request espressif/esp-idf!40990
2025-09-04 15:33:58 +08:00
Alexey Lapshin 28ced4efad fix(config): actualize newlib Kconfig options 2025-08-28 12:25:09 +08:00
Marek Fiala 9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
hebinglin 498f78dc40 change(esp_hw_support): support esp32h4beta5 power management dfs flow 2025-08-15 17:49:27 +08:00
Darian Leung 5454499877 refactor: Use enum values for gpio pull up/down fields
Ensure that enum values are used When assigning `pull_up_en` and `pull_down_en`
fields of `gpio_config_t`. Helps avoid `invalid conversion` errors when
building those code snippets in C++.
2025-08-07 11:45:11 +08:00
wuzhenghui 9f53ff77a1 change(example): adds USB-Serial-JTAG console usage notes to sleep examples
Closes https://github.com/espressif/esp-idf/issues/16129
2025-08-01 20:28:09 +08:00
Wu Zheng Hui 60d9ca995c Merge branch 'feat/new_api_to_get_all_wakeup_causes' into 'master'
feat: add new api to get multiple wakeup causes

Closes PM-472

See merge request espressif/esp-idf!40139
2025-07-02 17:36:30 +08:00
Song Ruo Jing ec358cfd7c fix(light_sleep/example): fix potential compilation error in light_sleep example
If ESP_CONSOLE_NONE is selected in menuconfig, compilation fails with
undefined CONFIG_ESP_CONSOLE_UART_BAUDRATE macro.
2025-06-27 21:53:54 +08:00
wuzhenghui 879713d589 change(esp_hw_support): deprecate esp_sleep_get_wakeup_cause with esp_sleep_get_wakeup_causes 2025-06-27 16:18:10 +08:00
Song Ruo Jing fa00aa43e7 refactor(uart): minor refactor to uart wakeup code 2025-05-15 11:20:59 +08:00
laokaiyao 4fed6450a3 refactor(touch): separate touch sleep example 2025-04-25 23:57:14 +08:00
Li Shuai 8f89a22117 change(example): add support for hp uart wakeup mode 1 2 3 2025-04-21 20:47:32 +08:00
wuzhenghui 054e492b04 fix(esp_hw_support): fixed gpio sleep switching filling junk data to the console UART FIFO 2025-04-09 17:55:24 +08:00
igor.udot daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
laokaiyao 09b15b479a refactor(touch): update touch related examples to use new API 2025-01-10 16:42:36 +08:00
laokaiyao 678ddba550 feat(touch): allow RTC power down during the deep sleep 2024-12-26 19:14:12 +08:00
Frantisek Hrbata 1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Lou Tianhao bc0404ae03 fix(ci): some actions taken to pass CI 2024-09-20 14:10:45 +08:00
Lou Tianhao 50ec7f990c fix(ci): take some actions to pass ci 2024-09-10 19:37:50 +08:00
Lou Tianhao d4447739a9 example(light_sleep); enable lp_timer/gpio/uart wakeup for esp32c61 2024-09-10 10:45:57 +08:00
Lou Tianhao 0926a700c2 feat(pm): support basic pmu sleep 2024-09-10 10:44:13 +08:00
wanckl 4e095f4b9f ci(esp32c61): enable c61 generic target test 2024-09-02 19:26:12 +08:00
Lou Tianhao 4393343ac9 fix(ci): some actions taken to pass ci 2024-08-29 14:15:41 +08:00
Lou Tianhao 980ec70d0a feat(esp_hw_support): support pmu init and sleep for esp32c5
fix(ci): add efuse header in pmu_sleep
2024-08-28 10:44:08 +08:00
laokaiyao cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
laokaiyao 21f870ecd5 remove(c5beta3): remove c5 beta3 system files 2024-06-17 12:02:15 +08:00
laokaiyao d263ab3145 docs(touch): add doc for cap touch sens driver 2024-06-12 15:44:25 +08:00
laokaiyao e8b29653c0 feat(touch_sens): add example for the touch sensor v3 2024-06-12 12:09:17 +08:00
Lou Tianhao 3fb4909483 feat(example): support esp32c5 timer/gpio/uart wakeup 2024-04-10 11:45:04 +08:00
Song Ruo Jing 90bf2772ac fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-03-15 16:58:33 +08:00
wuzhenghui 174386f133 ci: enable lightsleep related tests 2024-03-10 10:51:28 +08:00
wuzhenghui 1e17cecd24 feat(example): support esp32p4 timer/gpio/uart sleep wakeup 2024-03-10 10:51:28 +08:00
wuzhenghui 856f043331 feat(esp_hw_support): add esp32p4 pmu initial support 2024-03-10 10:51:28 +08:00
Marcel Petrick 98d6c096d0 fix(docs): Minor fixes to light_sleep example README.md
This commit fixes minor issues with the README.md file in
examples/system/light_sleep.
2024-02-16 08:48:02 +01:00
Armando 1ab742b3c3 ci(p4): enable esp32p4 target test 2024-01-04 09:34:55 +08:00
Lou Tianhao 7fd74057a3 example: bringup light sleep example for esp32h2 2023-06-26 21:05:16 +08:00
laokaiyao 49f16eefbb esp32h4: checked all the corner stuffs of the removal 2023-04-23 12:03:07 +00:00
laokaiyao bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
jingli 001c6f5e86 examples/system/light_sleep:
Add some hints in README to remind users that they can try to power down
the CPU and SPI Flash for lower power consumption.
2023-03-06 10:34:37 +08:00
jingli 13b5e625a7 UT/esp32c2: reenable pm and sleep related UT 2023-02-02 20:26:08 +08:00
wuzhenghui 7a4d38eac1 example: bringup light sleep example for esp32c6 2023-01-31 22:12:58 +08:00
laokaiyao 8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
laokaiyao 62ab4456a8 touch_sleep: complete the support for touch sleep 2022-08-15 20:04:57 +08:00
Roland Dobai bab3830797 Tools: Fix flake8 version 5 warnings 2022-08-12 08:13:13 +00:00