345 Commits

Author SHA1 Message Date
morris
e20db709aa feat(debug): add esp32s31 debug probe support
- add ESP32-S31 debug probe LL, target IDs, capability macros, and GPIO signal mapping
- allow LP probe channels to configure four signal bytes while keeping 16 GPIO outputs
- add HP and LP probe read tests, including LP 32-bit read verification
- keep existing vbat LP probe usage aligned with the new LP channel behavior
2026-05-25 19:03:37 +08:00
hebinglin
2c91b280f4 change(esp_hw_support): disable some periph clk in cpu start 2026-05-21 19:53:51 +08:00
armando
6d12e30433 feat(ldo): support s31 psram sdmmc power domain
Move S31 PSRAM/SDMMC power setup onto the common LDO path so shared users can control the domain consistently.
2026-05-21 09:09:14 +08:00
Wu Zheng Hui
91e66a8d19 Merge branch 'feat/support_io_edge_wakeup' into 'master'
feat(esp_hw_support): support rtc io edge wakeup sleep

Closes FCS-1880 and IDF-11812

See merge request espressif/esp-idf!48410
2026-05-20 19:37:35 +08:00
wuzhenghui
2f845ec76d feat(esp_hw_support): update edge wakeup CI test cases 2026-05-20 11:04:05 +08:00
Marius Vikhammer
8f6ea2a1ba test(ci): re-enable ESP32-H4 in core system test apps
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 09:00:12 +08:00
Marius Vikhammer
03f87411a2 ci(hw_support): add depends_components for hw-support test-apps 2026-05-12 14:12:49 +08:00
Chen Jichang
3c3b9a6a4e ci(esp32h4): disable tests which cannot pass 2026-05-11 16:48:58 +08:00
Chen Jichang
645ff40cde ci(esp32h4): enable ci target test 2026-05-11 16:48:58 +08:00
wuzhenghui
5c2e3b768e feat(esp_hw_support): support LP_Probe in debug probe driver & sig inversion 2026-05-08 10:21:38 +08:00
Jiang Jiang Jian
39f0ef3528 Merge branch 'feat/support_s31_sleep_features' into 'master'
feat(esp_hw_support): support esp32s31 lowpower features

Closes IDF-5660, IDF-14643, IDF-14645, IDF-14647, IDF-14648, IDF-14784, PM-708, and PM-714

See merge request espressif/esp-idf!47216
2026-05-07 19:22:58 +08:00
C.S.M
6d4c1899c5 Merge branch 'fix/flash_hpm_build_failure' into 'master'
fix(spi_flash): Fix flash hpm build failure

Closes IDFGH-17611

See merge request espressif/esp-idf!48193
2026-05-07 10:59:34 +08:00
wuzhenghui
f1f3f204fe feat(esp_hw_support): support esp32s31 lightsleep/deepsleep example 2026-05-06 20:15:01 +08:00
C.S.M
589c25931c fix(spi_flash): Fix flash hpm build failure,
Closes https://github.com/espressif/esp-idf/issues/18535
2026-05-06 14:57:19 +08:00
wuzhenghui
7a8eacabd2 fix(esp_hw_support): increase test rounds for in esp_random() test 2026-05-06 11:48:09 +08:00
Marius Vikhammer
76983e48fc fix(hal): fix LP WDT stage timeout and reset configuration for ESP32S31 2026-04-28 12:10:23 +08:00
Chen Jichang
a3f14c8ed1 feat(lcd): support rgb and i80 lcd on s31 2026-04-21 14:18:31 +08:00
Igor Masar
0b695dbe20 Merge branch 'feat/esp32s31_usb_support' into 'master'
feat(usb): add ESP32-S31 DWC/UTMI support

See merge request espressif/esp-idf!46329
2026-04-09 01:44:30 +08:00
Marius Vikhammer
051a116979 Merge branch 'feature/esp_cpu_testcoverage' into 'master'
Add esp_cpu API test coverage

Closes IDF-4920

See merge request espressif/esp-idf!46945
2026-04-08 17:19:49 +08:00
igor.masar
9ab7d5eb03 feat(usb): add ESP32-S31 DWC/UTMI support
Add ESP32-S31 USB DWC/UTMI LL headers, SoC register structures, peripheral
descriptors, capabilities, and linker mappings so the HS OTG controller and
UTMI PHY can be built in esp_hal_usb.

Introduce SOC_USB_FSLS_PHY_NUM on USB-OTG targets to separate FSLS USB_WRAP
support from OTG/UTMI support. Use it to gate usb_wrap, the USB PHY driver,
docs, and example build rules on targets without an FSLS PHY.

Also add UTMI data pulldown control to the HAL, clear the boot-time DWC
suspend state on ESP32-S31, alias the legacy internal PHY target to UTMI for
backward compatibility, and extend usb_phy tests for UTMI-only targets.
2026-04-08 16:01:28 +08:00
Marius Vikhammer
380dde02d0 ci(esp32s31): skip flash_suspend rtc_clk test until runners available
No esp32s31 boards are registered in the flash_suspend runner pool yet.
The test_rtc_clk_flash test targets all SOC_CLK_TREE_SUPPORTED chips and
creates a flash_suspend CI job for esp32s31 that immediately fails with
no runner assigned. Add a temp_skip_ci matching the existing pattern for
esp32h2.

Tracked in IDF-15531.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 09:12:36 +08:00
Armando (Dou Yiwen)
cc3808e3fe fix(mspi): removed useless ci config
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-04-07 13:32:42 +08:00
Marius Vikhammer
63d18fad59 test(esp_hw_support): add esp_cpu api test app
Add a dedicated esp_cpu test app that covers the supported helper APIs,
interrupt helpers, debug helper validation, and destructive trigger cases.

Made-with: Cursor
2026-04-07 09:37:39 +08:00
C.S.M
152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
Song Ruo Jing
8f0e59fadf Merge branch 'feature/esp32s31_clock_support' into 'master'
feat(clk): support for esp32s31 clock tree

Closes IDF-14696 and IDF-14871

See merge request espressif/esp-idf!47048
2026-04-03 11:04:42 +08:00
Song Ruo Jing
50051b74a5 feat(clk): support for esp32s31 clock tree 2026-04-02 20:39:59 +08:00
armando
2b582796d3 feat(mmu): s31 support 2026-04-01 11:49:22 +08:00
morris
a8c8b831b8 fix(esp_hw_support): fix private shared interrupt release path
Treat ESP_INTR_FLAG_SHARED_PRIVATE as shared when selecting interrupt
lines and avoid misclassifying private shared vectors as non-shared
during free. Also fix two error-path leaks in esp_intr_alloc_info by
freeing the temporary handle and rolling back group_name on allocation
failure.

refactor(esp_hw_support): add semantic vector descriptor helpers

Introduce helper macros to classify vector descriptor state (shared,
non-shared, private shared, and uninitialized) and apply them in
allocator/free/dump paths. This makes private-shared semantics explicit
and reduces repeated bitwise checks.

Rename vector descriptor helpers to explicitly distinguish public
shared, private shared, and shared-family states. This improves
readability and avoids ambiguity when handling mixed shared/non-shared
flag combinations.
2026-03-27 22:53:14 +08:00
Fu Hanxi
4f92cfd077 ci: rename eco tags to revision 2026-03-26 12:24:59 +01:00
Wu Zheng Hui
1dbf5247d1 Merge branch 'feat/support_gpio_source_for_more_chips' into 'master'
feat(esp_hw_support): support GPIO wakeup deepsleep on esp32/esp32s2/esp32s3

Closes PM-666

See merge request espressif/esp-idf!45773
2026-03-26 11:28:45 +08:00
gaoxu
609a867a91 feat(pmu): h21 eco1 pmu and clk files update 2026-03-25 15:38:49 +08:00
wuzhenghui
61dc18139a feat(esp_hw_support): add esp32/esp32s2/esp32s3 deepsleep gpio wakeup test case 2026-03-25 10:49:48 +08:00
wuzhenghui
a441be19a7 feat(esp_hw_support): add esp_sleep_rtcio_channel_to_gpio_num for channel to IO num conversion 2026-03-25 10:49:47 +08:00
Omar Chebib
5cfe060d8e feat(esp_hw_support): implement private shared interrupts 2026-03-24 15:40:20 +08:00
hebinglin
dfac6f6ef4 change(esp_system): add iram opt for rtc clk resart cases 2026-03-20 16:50:05 +08:00
wuzhenghui
5ec7176155 feat(esp_hw_support): add sleep_reentent UT case back 2026-03-16 12:30:41 +08:00
Evgeny Torbin
d0f062c018 ci: remove unused test cases 2026-03-12 12:02:10 +01:00
wuzhenghui
0b27301a09 feat(soc): support esp32s31 lp_aon & rtc_wdt & rtc_timer 2026-02-11 15:03:35 +08:00
Marius Vikhammer
f1d9e03864 ci(esp32s31): re-enable tests for hw_support, stdio, console, select, and startup_time
Re-enable ESP32S31 support for multiple test apps and examples:
- hw_support unity tests (with RWDT reset reason fix)
- eventfd example (select functionality)
- stdio test app
- console test app and examples
- startup_time example
2026-02-02 13:19:51 +08:00
Wu Zheng Hui
13730111e3 Merge branch 'fix/make_deepsleep_gpio_wakeup_usable_for_pd_top_lightsleep' into 'master'
change(esp_hw_support): deepsleep gpio wakeup API renaming to support PD_TOP lightsleep wakeup

See merge request espressif/esp-idf!38712
2026-02-02 10:38:11 +08:00
Wu Zheng Hui
d307c28696 Merge branch 'fix/fix_rtc_clock_test_case' into 'master'
fix(esp_hw_support): fix rtc clock test case

Closes IDFCI-7924

See merge request espressif/esp-idf!45519
2026-01-30 17:53:00 +08:00
wuzhenghui
86115b8ae2 fix(esp_hw_support): fix rtc clock test case 2026-01-29 18:09:15 +08:00
Wan Lei
9a9c4ae29f Merge branch 'fix/fix_c5_spi_tests' into 'master'
fix(driver_spi): fixed c5 spi param test

Closes IDFCI-3044 and IDFCI-3035

See merge request espressif/esp-idf!45492
2026-01-29 16:45:11 +08:00
wanckl
d7adadf180 fix(driver_spi): fixed c5 spi param test 2026-01-28 19:15:17 +08:00
armando
9ca37ed6db test(mspi): add flash api run on psram stack test for xip_psram case 2026-01-28 01:27:37 +00:00
morris
0469db2f83 refactor(rcc): unify the usage of clock control macros for peripherals
- Removed conditional definitions for various RCC_ATOMIC macros across
multiple files, replacing them with a unified PERIPH_RCC_ATOMIC() macro.
- Updated instances where specific RCC_ATOMIC macros were used to ensure
consistent usage of PERIPH_RCC_ATOMIC().
- Deleted unused uart_share_hw_ctrl.h file as its functionality is now
integrated into the new structure.
2026-01-23 18:28:13 +08:00
morris
f621cc4fff Merge branch 'feat/esp_driver_dma' into 'master'
feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma

See merge request espressif/esp-idf!45314
2026-01-23 09:57:22 +08:00
Song Ruo Jing
526bf6176e Merge branch 'feature/esp32c61_flash_psram_timing_tuning' into 'master'
feat(mspi): support 120MHz flash and psram for esp32c61

Closes IDF-9256, IDF-14918, and IDFCI-3240

See merge request espressif/esp-idf!45012
2026-01-22 16:36:25 +08:00
morris
35bdd8c651 feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma 2026-01-22 14:14:14 +08:00
wuzhenghui
4c996ca231 change(esp_hw_support): deprecate esp_deep_sleep_enable_gpio_wakeup API
rename esp_deep_sleep_enable_gpio_wakeup to esp_sleep_enable_gpio_wakeup_on_hp_periph_powerdown
rename esp_deepsleep_gpio_wake_up_mode_t to esp_sleep_gpio_wake_up_mode_t
2026-01-21 19:48:26 +08:00