Commit Graph

86 Commits

Author SHA1 Message Date
Steven Yang
f49e27bfe8 fix(mcpwm): account for adjusted timer resolution in test 2026-09-11 21:37:12 +08:00
Chen Jichang
05d6e7665f fix(mcpwm): correct the wrong capture prescale 2026-09-03 15:56:13 +08:00
morris
54048d0f69 refactor(mcpwm): update MCPWM soft sync source enum and related logic
- Renamed enum values from MCPWM_SOFT_SYNC_FROM_* to MCPWM_SOFT_SYNC_BOUND_TO_* for clarity.
- Updated references in mcpwm_capture_timer_set_phase_on_sync and mcpwm_timer_set_phase_on_sync functions to reflect the new enum names.
2026-08-04 14:55:10 +08:00
Steven Yang
f54adcfa93 fix(mcpwm): stabilize mcpwm_timer_various_clk_src test
Use count-up mode and account for counter wrap when measuring timer
resolution. Extend the stop wait to cover the full timer period.
2026-07-30 17:07:23 +08:00
morris
9c068fe2d9 Merge branch 'feature/add_mcpwm_rc_fast_clk_source' into 'master'
feat(mcpwm): support RC_FAST group clock source

Closes IDF-8048

See merge request espressif/esp-idf!51149
2026-07-29 23:05:19 +08:00
Steven Yang
8a982614a2 feat(mcpwm): support RC_FAST group clock source
Expose RC_FAST as a shared MCPWM group clock source for timers,
capture timers, and carriers on ESP32-C5, ESP32-C6, ESP32-H2,
and ESP32-P4. Fix the ESP32-S31 MCPWM clock selector mapping.

Add a hardware runtime test that verifies MCPWM Timer counting
resolution for every supported clock source.
2026-07-29 20:20:47 +08:00
Chen Chen
7bb9a7f937 Merge branch 'fix/mcpwm_clk_init_fail' into 'master'
fix(mcpwm): fix mcpwm clock init failure

Closes IDFGH-17736 and IDFGH-17883

See merge request espressif/esp-idf!49916
2026-07-27 18:02:21 +08:00
Chen Chen
18e4aae030 feat(mcpwm): fix mcpwm clock init failure
Closes https://github.com/espressif/esp-idf/issues/18666
Closes https://github.com/espressif/esp-idf/issues/18777
2026-07-22 11:41:26 +08:00
Marius Vikhammer
e2c86567ac fix: preserve Linux component header registration
Keep Linux components include-only when their runtime dependencies are unavailable.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 13:36:34 +08:00
Marius Vikhammer
bd25b59620 test: add Linux full component build app
Exercise unrestricted Linux-target builds so unsupported hardware-only components are caught by CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 13:26:17 +08:00
hebinglin
fa5132aa2f revert(ci): fix top domain power down not allow caused by ble power save not done 2026-05-22 15:18:31 +08:00
hebinglin
9d59b00734 revert(ci): fix the ci issue Test target MISMATCH 2026-05-22 15:18:31 +08:00
Jack
5c7a8c0dc3 fix the ci issue Test target MISMATCH 2026-05-21 11:46:16 +08:00
Li Shuai
7892eff854 fix(ci): fix top domain power down not allow caused by ble power save not done 2026-05-21 11:46:16 +08:00
Li Shuai
e28ee420ac fix(ci): some digital peripherals support sleep retention attach and detach 2026-05-21 11:46:16 +08:00
morris
3d452de7a3 fix(drivers): sleep retention failure on esp32s31 2026-05-13 11:12:08 +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
d3c5129050 fix(driver): fix retention unsupported mouldes TOP pd test 2026-05-07 12:02:05 +08:00
morris
daa204381a feat(mcpwm): move mcpwm retention info from esp_hal_mcpwm to esp_driver_mcpwm 2026-04-22 13:53:32 +08:00
C.S.M
152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
morris
d889e75ee6 refactor(mcpwm): move interrupt conflict checks to allocator 2026-03-27 22:59:48 +08:00
Fu Hanxi
4f92cfd077 ci: rename eco tags to revision 2026-03-26 12:24:59 +01:00
Chen Chen
b8cfb155a2 test(mcpwm): involve all mcpwm groups for critical tests 2026-03-05 10:18:45 +08:00
Chen Chen
675aa0695c feat(mcpwm): support mcpwm on esp32s31
- Remove duplicate 'MCPWM ETM timer event table' comment (esp32h2, esp32c6, esp32h21)
- esp32s31 clk_tree_defs: add PLL20M enum for MCPWM timer/capture/carrier to match SOC_MCPWM_*_CLKS

Made-with: Cursor
2026-03-05 09:32:41 +08:00
Chen Chen
a7cd298f02 fix(mcpwm): fixed several errors on mcpwm 2026-03-05 09:32:41 +08:00
morris
ab16c09947 refactor(hints): move driver migration hints to own components 2026-02-14 15:51:18 +08:00
Chen Chen
346a021d3d feat(mcpwm): ETM support mcpwm timer TEZ/TEP events 2026-02-05 18:08:51 +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
igor.udot
4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14: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
morris
291554cd09 refactor(global): remove completed todos in the codebase 2025-12-15 22:40:15 +08:00
morris
96120a5219 chor(mcpwm): replace p4 psram test 2025-11-24 16:03:46 +08:00
Vaia Patta
ef4f475a73 docs: fix anonymous flags in various structs
I noticed a few structs where the flags didn't show up correctly in the
docs.
Naming the flag struct makes the individual flags appear properly in the
nested struct.

Merges https://github.com/espressif/esp-idf/pull/17803
Closes https://github.com/espressif/esp-idf/issues/17804
2025-11-19 23:12:17 +08:00
Chen Chen
c6ab28f336 feat(mcpwm): support mcpwm on esp32h21 2025-11-17 19:01:16 +08:00
armando
b25ba4a0c1 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-17 12:11:39 +08:00
Chen Chen
4a22e36ab4 feat(mcpwm): support mcpwm on esp32h4 2025-11-07 09:28:31 +08:00
Chen Chen
d1612b952e refactor(mcpwm): make mcpwm_hal independent & cleanup soc_caps 2025-11-03 09:36:23 +08:00
wuzhenghui
065dd70056 change(esp_hw_support): move ESP_SLEEP_POWER_DOWN_CPU to Kconfig 2025-10-14 16:33:30 +08:00
morris
b76254895c refactor(mcpwm): remove varg action setting functions for timer, compare, and brake events 2025-10-09 16:38:39 +08:00
Chen Jichang
0c95b8c267 fix(mcpwm): fix division by zero error in prescale
Closes https://github.com/espressif/esp-idf/issues/17665
2025-09-30 12:21:33 +08:00
morris
90a3b66370 fix(lcd): uninitialized va_list 2025-08-20 21:44:47 +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
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
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
Chen Jichang
4d1a4dfcbe feat(mcpwm): add a new api to get cap value directly 2025-06-25 15:49:07 +08:00
Li Shuai
c6c2948a99 change(unit-test): filter top domain power down check for some sleep test cases 2025-06-05 14:28:15 +08:00