107 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
morris 2994fca5ba Merge branch 'feat/esp32s31-rmt-support' into 'master'
feat(rmt): enable RMT support on esp32s31

Closes IDF-14794

See merge request espressif/esp-idf!47152
2026-04-08 18:46:54 +08:00
morris ae8acf82e7 feat(rmt): enable RMT support on esp32s31
Enable esp32s31 RMT caps and clock source definitions for
esp_driver_rmt.

Add esp32s31 RMT LL/periph hooks, sleep retention metadata, and RMTMEM
linker symbol.
2026-04-08 10:17:10 +08:00
morris 11f76780cc feat(bitscrambler): support driver on esp32s31 2026-04-08 09:53:21 +08:00
morris 4084c88a2e refactor(rmt): switch group interrupts to private shared binding
Bind RMT channel interrupts by module name and allocate them as private
shared so channels in the same RMT instance reuse one CPU interrupt line
without exposing it to other peripherals. Drop RMT-side interrupt
priority conflict state and let the interrupt allocator enforce
compatibility.

Use soc_rmt_signals[group_id].module_name when creating RMT PM locks and
drop the per-channel formatted lock name buffer. This keeps naming
consistent with interrupt binding and removes unnecessary string
formatting state.
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
Song Ruo Jing 476004e4b8 fix(gpio): add esp_gpio_reserve check to gpio_config 2026-02-26 16:26:58 +08:00
Chen Jichang 0ac402217c test(parlio,rmt,lcd): add virtual flash encryption test 2026-02-05 11:42:08 +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
morris 35bdd8c651 feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma 2026-01-22 14:14:14 +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 fb1b53c7c5 refactor(gdma): channel allocation can return both direction within the same call 2026-01-04 15:39:38 +08:00
Wan Lei d140e59251 Merge branch 'fix/p4_eco5_enable_special_test' into 'master'
ci(p4): p4 eco5 enable parts of special tests

Closes IDF-14401, IDF-14404, IDF-14358, IDF-14395, IDF-14396, IDF-14397, IDF-14398, IDF-14413, IDF-14414, IDF-14359, IDF-14363, IDF-14399, IDF-14471, IDF-14366, IDF-14441, IDF-14368, IDF-14470, IDF-14356, and IDF-14364

See merge request espressif/esp-idf!43727
2025-12-10 11:30:15 +08:00
Florian Loitsch 9eb0f81517 docs: encoder's 'symbols' parameter may be a hw buffer 2025-12-08 09:57:20 +01:00
wanckl 4fe7e6ac18 ci(p4): p4 eco5 enable parts of special tests 2025-12-08 13:59:25 +08:00
Chen Jichang 2cb84ecf95 feat(hal): graudate the RMT hal driver into a new component 2025-11-25 14:21:01 +08:00
morris bc064a353a refactor(hal_dma): move bitscrambler from hal component
because bitscrambler can't live without DMA, it's highly binded with the
GDMA peripheral.
2025-11-21 16:10:16 +08:00
armando b25ba4a0c1 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-17 12:11:39 +08:00
laokaiyao ff1c14b1a3 refactor(parlio_rx): refactor to support unaligned user payload buffer
Closes https://github.com/espressif/esp-idf/issues/17581
2025-10-30 16:12:34 +08:00
Chen Jichang f9cf0394e5 fix(rmt): fix pm lock type to increase stability 2025-10-29 15:40:31 +08:00
wuzhenghui 065dd70056 change(esp_hw_support): move ESP_SLEEP_POWER_DOWN_CPU to Kconfig 2025-10-14 16:33:30 +08:00
Chen Jichang 9e28a8d05c fix(rmt): use memset to clear entire RMT memory block instead of single word
closes https://github.com/espressif/esp-idf/issues/17692
2025-10-11 11:27:52 +08:00
Chen Jichang 51b253e945 feat(rmt): support receive buffer to psram 2025-09-26 16:42:33 +08:00
Chen Jichang ddef1d3d52 refactor(gdma): move buffer aligment to buffer mount config 2025-09-26 16:42:33 +08:00
Chen Jichang f2f62b590d fix(rmt): alloc channel memory from internal 2025-09-26 16:42:33 +08:00
Chen Jichang 092aa00be4 fix(rmt): fix the regression from gdma link refactor 2025-09-16 15:20:30 +08:00
Chen Jichang 6c3d275342 fix(rmt): treat loop once as no loop 2025-08-21 14:25:30 +08:00
Chen Jichang 4e03f8df0f fix(rmt): correct the condition for warnings in loop mode 2025-08-21 14:25:30 +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
Chen Jichang e321d3f85f feat(rmt): support unaligned receive buffer with DMA
The driver will help to align the buffer to mem_alignment in DMA mode
2025-08-11 14:22:28 +08:00
Chen Jichang f4a76612fa feat(rmt): allow to set init level before any tx transmission
Closes https://github.com/espressif/esp-idf/issues/16068
2025-08-11 14:22:28 +08:00
Chen Jichang 7d0d7c52db fix(rmt): deal with spurious RX done interrupts on ESP32
Closes https://github.com/espressif/esp-idf/issues/15948
2025-08-11 14:22:28 +08:00
Chen Jichang 4ee0feeb6f refactor(rmt): use gdma link list driver to mount buffer 2025-08-11 14:22:28 +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
Chen Jichang 579a744fb3 fix(rmt): fix the state of the simple encoder with mem full
Closes https://github.com/espressif/esp-idf/issues/17244
2025-08-07 11:16:43 +08:00
Chen Jichang bbb78fedbb feat(rmt): support rmt on esp32h21 2025-07-29 10:46:20 +08:00
Chen Jichang d6a9a0f5d5 feat(rmt): support rmt on esp32-h4 2025-07-24 10:47:13 +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
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
wuzhenghui 65b7e70564 feat(driver): support acquire/release clock source dependency for all drivers 2025-05-27 21:21:38 +08:00
morris c63f51dcb3 refactor(drivers)!: remove unnecessary io_loop_back and pull up/down config option 2025-05-23 18:09:53 +08:00
Chen Jichang 6397820d0b fix(rmt): only call esp_pm APIs when CONFIG_PM_ENABLE is enabled 2025-05-22 17:27:18 +08:00
Chen Jichang e53c25d3ae docs(rmt): improve the documentation
Closes https://github.com/espressif/esp-idf/issues/15933
Closes https://github.com/espressif/esp-idf/issues/15929
2025-05-13 14:14:45 +08:00
Chen Jichang d3dba7597d feat(parlio_tx): support to mount bitscrambler 2025-05-12 10:27:14 +08:00
Chen Jichang 0f8415bb72 fix(rmt): fix race condition and add receive config error message
Closes https://github.com/espressif/esp-idf/issues/15842
Closes https://github.com/espressif/esp-idf/issues/15836
2025-05-08 13:32:48 +08:00