94 Commits

Author SHA1 Message Date
Chen Jichang 6e206dd173 refactor(clk_tree): use general api to enable the clk 2026-04-16 20:03:06 +08:00
Song Ruo Jing f9b0736c93 feat(ledc): add support for ESP32S31 2026-04-09 22:34:05 +08:00
Song Ruo Jing e79d9f2567 fix(ledc): fix undesired module reset when acquiring new speed mode on ESP32
Introduced in 885e32d4f0
2026-04-09 22:33:39 +08:00
Song Ruo Jing 9f50fb8543 fix(ledc): wrong interrupt status handling in ISR could cause INT WDT
Introduced in 88b62b19fd
2026-04-08 16:59:12 +08:00
Song Ruo Jing 16f4d275e4 refactor(ledc): refactor ledc periph signal define 2026-04-08 15:27:44 +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 88b62b19fd refactor(ledc): refactored some LEDC LL functions 2026-04-01 21:34:52 +08:00
Fu Hanxi 4f92cfd077 ci: rename eco tags to revision 2026-03-26 12:24:59 +01:00
Song Ruo Jing 885e32d4f0 refactor(ledc): add compatibility for group and speed_mode 2026-03-20 11:28:55 +08:00
Song Ruo Jing 6987aca1ce fix(ledc): prevent potential underflow causes multi-fade param calculation errors
Closes https://github.com/espressif/esp-idf/issues/17980
2026-02-26 16:26:58 +08:00
Chen Chen 32ee52d8a6 fix(ledc): add error check for potential out-of-bounds read 2026-02-24 18:10:21 +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
morris fe436d881e feat(ci): remove common_components dependencies from peripheral drivers
Replace *common_components with specific driver dependencies across all
peripheral driver test apps and examples to prevent unnecessary CI
triggers
when common_components change.

This follows the same pattern established in TWAI driver commit:
6d21cc6c29

Changes made:
- 26 component test apps updated
(esp_driver_*/test_apps/.build-test-rules.yml)
- 1 driver test app updated
(components/driver/test_apps/.build-test-rules.yml)
- Key examples updated in examples/peripherals/.build-test-rules.yml
- Established standard dependency pattern: esp_hal_xxx, esp_hw_support,
soc
- Added esp_driver_gpio for GPIO-dependent drivers
2026-01-29 16:33:17 +08:00
Igor Udot f4cb052666 Merge branch 'ci/base_components' into 'master'
ci: use common_components in depends_components

See merge request espressif/esp-idf!45070
2026-01-26 09:08:11 +08: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
Song Ruo Jing f860fa1d00 fix(uart): fix autobaud detection unable to trigger LOGE when counts unreliable 2026-01-23 11:36:45 +08:00
Song Ruo Jing 8baea2e4a0 feat(uart): add glitch filter functionality for UART
Closes https://github.com/espressif/esp-idf/issues/17847
2026-01-23 11:36:32 +08:00
igor.udot 4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14:09 +08:00
wuzhenghui d188ad96b7 change(soc): rename peripheral powerdowned sleep wakeable IO soc_caps
rename SOC_GPIO_DEEP_SLEEP_WAKE_VALID_GPIO_MASK to SOC_GPIO_HP_PERIPH_PD_SLEEP_WAKEABLE_MASK
rename SOC_GPIO_DEEP_SLEEP_WAKE_SUPPORTED_PIN_CNT to SOC_GPIO_HP_PERIPH_PD_SLEEP_WAKEABLE_PIN_CNT
rename SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP to SOC_GPIO_SUPPORT_HP_PERIPH_PD_SLEEP_WAKEUP
2026-01-21 19:47:33 +08:00
hebinglin fa532d0348 change(esp_system): replace temp_skip_ci with soc_filtered_targets for esp32c5 2026-01-15 11:04:09 +08:00
hebinglin 4756d62584 change(esp_driver): set cases with toppd check only run in esp32c5eco3 rather than eco2 2026-01-12 14:30:57 +08:00
hebinglin d164d34f5b revert(unit-test): filter top domain power down check for some sleep test cases
This reverts commit c6c2948a99.
2026-01-12 14:15:48 +08:00
Song Ruo Jing 67a738d1de refactor(ledc): split ledc hal into a separate component 2025-12-17 15:26:10 +08:00
igor.udot 8c233aa9bd ci: temp_skip_ci for p4 2025-12-04 18:08:33 +08:00
Song Ruo Jing 9f750b58be fix(ci): re-enable p4 eco5 ledc, dma2d, rtc_clk test cases 2025-11-21 20:41:19 +08:00
Chen Chen 3ae65813ca fix(ledc): fix potential null dereference issue & add test case 2025-11-19 17:31:58 +08:00
Chen Chen 70a0fb5b7f Merge branch 'fix/handle_shared_intr' into 'master'
Fix/handle shared intr

Closes IDF-12904

See merge request espressif/esp-idf!43149
2025-11-19 11:05:37 +08:00
Chen Chen 47f5ac96fb fix(intr_alloc): Fix ISR allocate methods in several drivers 2025-11-18 12:33:03 +08:00
morris aa1fd9c611 refactor: avoid function calls inside MIN/MAX macros 2025-11-17 22:17:54 +08:00
armando b25ba4a0c1 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-17 12:11:39 +08:00
Song Ruo Jing cc3577e31a feat(ledc): add ETM support for LEDC peripheral
Closes https://github.com/espressif/esp-idf/issues/11855
2025-10-23 16:24:11 +08:00
morris d5ff73e928 Merge branch 'feature/esp32p4_eco5_support' into 'master'
feat(gpio/ledc/uart/2ddma/ppa): ESP32P4 ECO5 related updates

Closes IDF-13419, IDF-13425, IDF-13427, IDF-13436, IDF-13740, IDF-13741, IDF-13675, IDF-12225, IDF-13823, IDF-13514, IDF-13539, and IDF-13533

See merge request espressif/esp-idf!41980
2025-10-16 11:16:34 +08:00
Song Ruo Jing 22dfacc18d feat(ledc): ESP32P4 ECO5 LEDC related updates 2025-10-15 16:49:21 +08:00
wuzhenghui 065dd70056 change(esp_hw_support): move ESP_SLEEP_POWER_DOWN_CPU to Kconfig 2025-10-14 16:33:30 +08:00
Song Ruo Jing 1cb1acd02e fix(ledc): update LEDC test file to cpp style 2025-09-16 11:18:10 +08:00
Song Ruo Jing 3e464a508e feat(ledc): Add channel deconfiguration option to release the occupied IOs
Closes https://github.com/espressif/esp-idf/issues/15666
2025-09-16 11:17:59 +08:00
Song Ruo Jing f56ce6334b feat(ledc): Add LEDC support for ESP32H21 and ESP32H4 2025-09-15 22:04:35 +08:00
Marek Fiala 9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
Sudeep Mohanty 11b80a7f11 Merge branch 'feat/freertos_in_flash_by_default' into 'master'
feat(freertos): Place FreeRTOS in flash by default

Closes IDF-12695

See merge request espressif/esp-idf!40579
2025-08-15 02:18:57 +02:00
renpeiying 2f2cb51904 docs: Update struct for correct building of ledc.h
Closes https://github.com/espressif/esp-idf/issues/8813
2025-08-11 16:18:01 +08:00
Sudeep Mohanty 26c19928a9 feat(freertos): Place FreeRTOS in flash by default
The following updates have been made in this commit:
- The commit places FreeRTOS code in flash memory by default.
- CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH has been removed.
- CONFIG_FREERTOS_IN_IRAM is unhidden and can be used to restore the
  previous memory placement.
- A test has been added for users to conduct performance impact testing
  based on memory placement configurations.
2025-08-07 19:56:30 +08:00
harshal.patil 60ff4bca9b refactor(esp_system): Update all references of the memory protection configs 2025-08-04 11:43:01 +05:30
Marius Vikhammer 4065fb20f3 Merge branch 'feature/esp_test_utils_component' into 'master'
change(test_utils): moved test_utils out of unit-test-app project

See merge request espressif/esp-idf!40678
2025-08-01 11:04:37 +08:00
Song Ruo Jing 3fdb473174 Merge branch 'bugfix/ledc_update_duty_wait' into 'master'
fix(ledc): duty_start update bit should wait for its self-clear before next set

Closes IDF-11989

See merge request espressif/esp-idf!39949
2025-07-24 14:55:16 +08:00
wanckl cb257ede27 ci(esp32c61): enable multi dut runner for c61 2025-07-22 17:10:55 +08:00
Song Ruo Jing 63e2d6828b refactor(ledc): deprecate ledc_isr_register and ledc_channel_config_t::intr_type 2025-07-22 15:10:52 +08:00
Song Ruo Jing dca8f204eb refactor(ledc): remove deprecated API/macro for v6.0 2025-07-22 15:05:10 +08:00
Song Ruo Jing d87de032df fix(ledc): duty_start bit should wait for its self-clear before next set on esp32 2025-07-22 15:05:10 +08:00
Marius Vikhammer bf84ab652a change(test_utils): moved test_utils component to tools/test_apps/components/ 2025-07-21 14:05:50 +08:00
Sudeep Mohanty c29f473a78 refactor(esptool_py): Remove elf variable dependencies
This commit updates all test_apps that have dependency on the elf
variable. Such test_apps now fetch the executable target from the build
properties.
2025-07-10 11:26:28 +02:00