Commit Graph
100 Commits
Author SHA1 Message Date
Song Ruo Jing 4ecd3e2287 Merge branch 'bugfix/uart_extra_current_consumption_in_sleep' into 'master'
fix(uart): reduce current consumption in sleep mode

See merge request espressif/esp-idf!50416
2026-08-07 19:07:26 +08:00
Song Ruo Jing 1f2ea33cd8 Merge branch 'fix/h4_s31_enable_multi_board_test' into 'master'
fix(ci): re-enable some LEDC/UART tests for H4, S31

Closes IDF-15610 and IDF-15619

See merge request espressif/esp-idf!51529
2026-08-06 15:27:38 +08:00
Song Ruo Jing 28acedf295 fix(ci): re-enable some LEDC/UART tests for H4, S31 2026-08-04 21:23:44 +08:00
Song Ruo Jing 246357a45d fix(uart): reduce current consumption in sleep mode 2026-07-23 15:42:12 +08:00
Song Ruo Jing a2690f81ed Merge branch 'bugfix/ppa_buffer_oob' into 'master'
fix(ppa): add checks for input to avoid any OOB access

See merge request espressif/esp-idf!50696
2026-07-15 17:09:41 +08:00
Song Ruo Jing 58cb111de1 fix(ppa): add checks for input to avoid any OOB access 2026-07-13 17:36:22 +08:00
Song Ruo Jing 056590f7a4 Merge branch 'feature/uart_rs485_half_duplex_collision_detection' into 'master'
feat(uart): add collision detection test cases for RS485

Closes IDFGH-15463

See merge request espressif/esp-idf!50244
2026-07-08 17:00:00 +08:00
Song Ruo Jing 4a94a5a396 fix(stdio): add console input ability when selects ESP_CONSOLE_UART_CUSTOM_NUM_1 2026-07-08 12:08:46 +08:00
Song Ruo Jing ef635c533b feat(uart): add collision detection test cases for RS485
Related https://github.com/espressif/esp-idf/issues/16101
2026-07-08 12:08:40 +08:00
Song Ruo Jing e00086907a Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char' into 'master'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6

Closes IDFGH-17885

See merge request espressif/esp-idf!50296
2026-07-07 12:11:30 +08:00
Song Ruo Jing f324ddd849 ci(uart): enable test for esp32h4 2026-07-06 20:53:28 +08:00
Song Ruo Jing a5ff63830e fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6
Add software flow control test case

Introduced in e6ef4d1791

Closes https://github.com/espressif/esp-idf/issues/18779
2026-07-06 20:49:56 +08:00
Song Ruo Jing e4a269d793 Merge branch 'bugfix/dma2d_dequeue_mechanism' into 'master'
fix(dma2d): add a dequeue mechanism for dma2d driver

See merge request espressif/esp-idf!49925
2026-07-06 11:19:53 +08:00
Song Ruo Jing 78ccd163cc fix(dma2d): fix non-usable DMA2D_CSC_TX_SCRAMBLE option 2026-07-02 20:25:09 +08:00
Song Ruo Jing 3d8fd22e14 fix(dma2d): fix race with dma2d_force_end and ISR
free_up_channels can only be called once for a started transaction.
Double free will undesirely stop the next picked 2D-DMA transaction on the same channel.
2026-07-02 20:25:09 +08:00
Song Ruo Jing 92024d98b6 fix(dma2d): add a dequeue mechanism for dma2d driver
JPEG driver should be able to either dequeue a pending transaction from
a 2D-DMA pool or force end a processing transaction.
2026-07-02 20:25:09 +08:00
Song Ruo Jing 37a08bd973 Merge branch 'contrib/github_pr_18677' into 'master'
uart: fix threshold configuration loss when interrupts are disabled (GitHub PR)

Closes IDFGH-17749 and IDFGH-12052

See merge request espressif/esp-idf!49943
2026-06-24 15:54:16 +08:00
Song Ruo Jing a66f9463c1 Merge branch 'feature/dma2d_ppa_sleep_retention_support' into 'master'
feat(ppa): add sleep retention support for DMA2D and PPA

Closes IDF-9961, IDF-9930, IDF-14764, and IDF-14770

See merge request espressif/esp-idf!45587
2026-06-16 14:56:19 +08:00
Song Ruo Jing 14d8570163 feat(ppa): add sleep retention support for DMA2D and PPA 2026-06-15 15:45:07 +08:00
Song Ruo Jing 268446e3cc Merge branch 'bugfix/ppa_blend_yuv_hang' into 'master'
fix(ppa): fix hang if blend operation on a YUV format input background image

Closes IDFGH-17764

See merge request espressif/esp-idf!49547
2026-06-11 22:22:14 +08:00
Song Ruo Jing 6948c0138f refactor(ppa): change test case to cpp style 2026-06-10 20:36:07 +08:00
Song Ruo Jing 9922d70cb5 fix(ppa): fix hang if blend operation on a YUV format input background image
Closes https://github.com/espressif/esp-idf/issues/18687
2026-06-10 20:36:07 +08:00
Song Ruo Jing 19287f5f0c Merge branch 'feature/esp32h4_flash_support' into 'master'
feat(spi_flash): Add exclusive support for ESP32H4

Closes IDF-12290, IDF-12389, and IDF-15616

See merge request espressif/esp-idf!47679
2026-06-09 15:23:34 +08:00
Song Ruo Jing f6449f926b fix(spi_flash): gpspi flash clock could reach higher frequency 2026-06-08 17:56:17 +08:00
Song Ruo Jing 545b31e6b9 feat(spi_flash): Add exclusive support for ESP32H4
Add 32bit addr support for esp32s31 as well
2026-06-08 17:56:09 +08:00
Song Ruo Jing 3ba8d08d02 fix(clk): raised axi/ahb clock freq up to 106mhz at max 2026-05-21 16:39:40 +08:00
Song Ruo Jing a6425c02a0 Merge branch 'refactor/rtc_io_functions' into 'master'
refactor(rtcio): split rtcio/gpio switch with rtc iomux func sel func, add lp_gpio_matrix_input/output

Closes PM-689, PM-690, PM-700, PM-701, and PM-699

See merge request espressif/esp-idf!47542
2026-04-29 19:08:44 +08:00
Song Ruo Jing e689feee9d refactor(rtcio): align LP GPIO matrix related APIs with GPIO matrix APIs 2026-04-29 12:17:37 +08:00
Song Ruo Jing 1d50587ab2 refactor(rtcio): split rtcio/gpio switch with rtc iomux func sel func
This allows rtc_gpio_deinit to always switch the pad back to GPIO,
regardless of lp io clock enabled or not, so that gpio_config can
always switch the IO back to GPIO use after wakeup from deep sleep.
2026-04-29 12:17:37 +08:00
Song Ruo Jing b18f90cd82 Merge branch 'feature/esp32s31_ppa_support' into 'master'
feat(ppa): add support for ESP32S31

Closes IDF-14769

See merge request espressif/esp-idf!47281
2026-04-24 15:43:38 +08:00
Song Ruo Jing d2b2578244 refactor(examples/ppa): PPA example switch to use RGB LCD panel
Also moved the RGB panel initialization code to a common component,
which can be reused by other examples.
2026-04-24 11:47:41 +08:00
Song Ruo Jing 6441c76ef4 feat(ppa): add support for ESP32S31 2026-04-24 11:47:41 +08:00
Song Ruo Jing 793978605e Merge branch 'bugfix/isp_gamma_xcoord_error' into 'master'
fix(isp): disable gamma xcoord error check

Closes IDF-15561

See merge request espressif/esp-idf!47799
2026-04-22 17:51:03 +08:00
Song Ruo Jing dfe86726bf fix(isp): disable gamma xcoord error check 2026-04-21 11:59:13 +08:00
Song Ruo Jing a65baea1af fix(clk): fix hp root clock source ref count mismatch on esp32h4/h21
Mismatch happens when hp_active->hp_sleep->hp_active
The ref count of the hp root clock source was over incremented by 1 when exiting sleep
(since when entering sleep, the power down of the clock sources are done by PMU,
no decrement of the ref count is done before entering sleep))
2026-04-17 17:29:43 +08:00
Song Ruo Jing 321896bde6 Merge branch 'feature/esp32s31_dma2d_support' into 'master'
feat(dma2d): add support for esp32s31

Closes IDF-14762

See merge request espressif/esp-idf!47168
2026-04-10 19:14:33 +08:00
Song Ruo Jing 366b1e6015 Merge branch 'contrib/github_pr_18440' into 'master'
Fixed typo of word switch (was spelled swtich) in pmu_struct.h (GitHub PR)

Closes IDFGH-17500

See merge request espressif/esp-idf!47407
2026-04-10 15:57:34 +08:00
Song Ruo Jing a98ec38a3a Merge branch 'bugfix/lp_uart_rx_iomux_pin_not_work' into 'master'
fix(uart): lp uart rx iomux pin was not working as expected

See merge request espressif/esp-idf!47352
2026-04-10 15:53:15 +08:00
Song Ruo Jing f68be5a8c3 Merge branch 'feature/esp32s31_ledc_support' into 'master'
feat(ledc): add support for ESP32S31

Closes IDF-14709 and IDF-14710

See merge request espressif/esp-idf!47267
2026-04-10 13:35:11 +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 ce1d910965 refactor(dma2d): move csc param table to dma2d_periph.c 2026-04-09 21:23:42 +08:00
Song Ruo Jing b40257aed2 refactor(dma2d): use ESP_INTR_FLAG_SHARED_PRIVATE flag for DMA2D interrupt 2026-04-09 20:31:41 +08:00
Song Ruo Jing db8b921a13 feat(dma2d): add support for esp32s31 2026-04-09 20:30:26 +08:00
Song Ruo Jing 9c2a8281c1 fix(uart): lp uart rx iomux pin was not working as expected
Introduced in 8818157e42
The workaround in the commit routes the signal to LP GPIO matrix first.
When uses LP IOMUX pin as UART RX, the signal did not bypass the matrix,
which caused the issue.

This commit adds rtc_gpio_iomux_input and rtc_gpio_iomux_output APIs
to align with existing GPIO driver APIs.
2026-04-09 17:07:01 +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
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
Song Ruo Jing 7606db9e62 Merge branch 'refactor/ledc_ll_ng' into 'master'
refactor(ledc): refactored some LEDC LL functions

See merge request espressif/esp-idf!47191
2026-04-02 15:18:41 +08:00
Song Ruo Jing 88b62b19fd refactor(ledc): refactored some LEDC LL functions 2026-04-01 21:34:52 +08:00
Song Ruo Jing 7b1d576416 Merge branch 'feature/esp32s31_regi2c_support' into 'master'
feat(regi2c): add support for ESP32S31

Closes IDF-14680

See merge request espressif/esp-idf!46469
2026-03-26 17:31:13 +08:00
Song Ruo Jing 7cbafcf1c6 feat(regi2c): add support for ESP32S31 2026-03-25 16:17:12 +08:00
Song Ruo Jing 2f7405bb15 Merge branch 'refactor/ledc_group_speed_mode' into 'master'
refactor(ledc): add compatibility for group and speed_mode

See merge request espressif/esp-idf!46763
2026-03-20 19:13:24 +08: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 b12fe6edb5 Merge branch 'refactor/esp_hal_regi2c' into 'master'
refactor(esp_hal_regi2c): move regi2c implementation from esp_rom to esp_hal_regi2c

Closes IDF-14920 and IDF-10110

See merge request espressif/esp-idf!45690
2026-03-10 21:30:29 +08:00
Song Ruo Jing 6e4354c83e feat(regi2c): add test app for esp_hal_regi2c component 2026-03-10 15:08:51 +08:00
Song Ruo Jing 600bf5b6d7 refactor(esp_hal_regi2c): move regi2c implementation from esp_rom to esp_hal_regi2c 2026-03-10 15:08:51 +08:00
Song Ruo Jing e3a2865606 Merge branch 'bugfix/lp_io_clock_control' into 'master'
fix(rtcio): RTC GPIO configuration should be written only if LP IO clock exists

Closes IDF-14951

See merge request espressif/esp-idf!46146
2026-03-04 19:23:33 +08:00
Song Ruo Jing 09c11595bf Merge branch 'bugfix/flash_user_command_with_pms' into 'master'
fix(flash): flash erase operation may fail to raise PMS exception

See merge request espressif/esp-idf!45800
2026-03-04 15:30:33 +08:00
Song Ruo Jing c1695b4533 fix(flash): flash erase operation may fail to raise PMS exception 2026-03-03 17:41:07 +08:00
Song Ruo Jing d4005779e0 fix(uart): improve uart rx glitch filter test case failing rate
Not all IO glitch simulation functions were in iram before,
making the glitch too long to be filtered.
2026-03-03 16:19:15 +08:00
Song Ruo Jing d6031c859a Merge branch 'feature/psram_halfsleep_mode_support' into 'master'
feat(psram): allow PSRAM to enter halfsleep mode during light sleep

Closes IDF-8413

See merge request espressif/esp-idf!45363
2026-03-02 17:01:21 +08:00
Song Ruo Jing acb49e9520 fix(rtcio): RTC GPIO configuration should be written if LP IO clock exists 2026-03-02 15:03:30 +08:00
Song Ruo Jing 69def0c3ea feat(psram): allow PSRAM to enter halfsleep mode during light sleep 2026-02-28 22:33:34 +08:00
Song Ruo Jing 9ba6719582 Merge branch 'bugfix/gpio_is_valid_gpio' into 'master'
fix(gpio): GPIO_IS_VALID_GPIO should consider IO exceeds 64

Closes IDFGH-17128, IDFGH-16918, IDF-9097, and IDF-15286

See merge request espressif/esp-idf!45417
2026-02-27 17:20:43 +08:00
Song Ruo Jing b80c6197ea Merge branch 'feature/dma2d_with_flash_encryption' into 'master'
feat(dma2d, ppa): Support flash encryption for DMA2D and PPA

Closes IDF-15058 and IDF-15075

See merge request espressif/esp-idf!45204
2026-02-26 20:56:07 +08:00
Song Ruo Jing 9362907287 feat(dma2d,ppa): Support flash encryption for DMA2D and PPA 2026-02-26 16:39:40 +08:00
Song Ruo Jing 29d62fa6ae feat(mspi): add clear log in psram mspi intr isr for addr misaligned error 2026-02-26 16:38:06 +08:00
Song Ruo Jing 476004e4b8 fix(gpio): add esp_gpio_reserve check to gpio_config 2026-02-26 16:26:58 +08:00
Song Ruo Jing e5ff2747aa fix(gpio): GPIO_IS_VALID_xxx macros should exclude IO exceeds 64
Closes https://github.com/espressif/esp-idf/issues/18148
2026-02-26 16:26:58 +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
Song Ruo Jing f0e006a619 Merge branch 'bugfix/uart_tx_fifo_empty_threshold' into 'master'
fix(uart): tx write bytes fails to use non-default tx fifo empty threshold

See merge request espressif/esp-idf!45828
2026-02-14 14:33:23 +08:00
Song Ruo Jing 370f885c59 fix(uart): tx write bytes fails to use non-default tx fifo empty threshold
Users may see tx write bytes fails to feed data into tx fifo in time
even if the tx fifo empty threshold has been set to a large value.
2026-02-13 18:54:38 +08:00
Song Ruo Jing 6640b5a2de Merge branch 'feature/uart_glitch_filter' into 'master'
feat(uart): Add glitch filter functionality to UART input signal

Closes IDFGH-16374 and IDFGH-16763

See merge request espressif/esp-idf!44554
2026-01-23 16:22:00 +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
Song Ruo Jing 77aa76ecc4 fix(uart): Avoid division by zero error when calling uart_get_baudrate
If uart_driver_install is not called before uart_get_baudrate,
the UART port may not be ready. In such cases, the register values
cannot be read out, leading to a division by zero error in uart_ll_get_baudrate.
This commit adds a check to ensure the UART port is enabled before
attempting to read its registers.

Closes https://github.com/espressif/esp-idf/issues/17513
2026-01-22 20:34:50 +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
Song Ruo Jing fc4f07abd6 feat(mspi): support 120MHz flash and psram for esp32c61 2026-01-21 14:38:04 +08:00
Song Ruo Jing ce6e80c129 Merge branch 'refactor/esp_hal_clock' into 'master'
refactor(clk): split clock HAL into separate component

Closes IDF-14108

See merge request espressif/esp-idf!44768
2026-01-19 11:33:35 +08:00
Song Ruo Jing 62511d61e9 refactor(clk): split clock HAL into separate component 2026-01-13 15:50:20 +08:00
Song Ruo Jing 215c9993bf fix(clk): update H4 to use 64MHz clock for mspi
And add pll clock ref count
2026-01-04 14:07:01 +08:00
Song Ruo Jing b5aae9a1af Merge branch 'refactor/esp_hal_uart' into 'master'
refactor(uart): split UART HAL into separate component

Closes IDF-14090

See merge request espressif/esp-idf!44197
2025-12-25 18:36:49 +08:00
Song Ruo Jing e0d3cc040d refactor(uart): clean up uart soc_caps 2025-12-25 14:52:11 +08:00
Song Ruo Jing 643b2508fa refactor(uart): remove soc/uart_channel.h 2025-12-25 14:42:43 +08:00
Song Ruo Jing 74aeb3f41f refactor(uart): split UART HAL into separate component 2025-12-25 14:41:28 +08:00
Song Ruo Jing a3c63f362b Merge branch 'refactor/esp_hal_ledc' into 'master'
refactor(ledc): split ledc hal into a separate component

Closes IDF-14085

See merge request espressif/esp-idf!44204
2025-12-18 11:59:25 +08:00
Song Ruo Jing 3fa15663ee Merge branch 'bugfix/ppa_srm_wrong_dscr_port_block_size' into 'master'
fix(ppa): fix SRM YUV422/420 incorrect DMA descriptor port mode block size

See merge request espressif/esp-idf!44344
2025-12-18 11:37:47 +08:00
Song Ruo Jing 0591bdf5dc fix(ppa): fix SRM YUV422/420 incorrect DMA descriptor port mode block size 2025-12-17 21:49:00 +08:00
Song Ruo Jing 67a738d1de refactor(ledc): split ledc hal into a separate component 2025-12-17 15:26:10 +08:00
Song Ruo Jing 789fdc3598 refactor(ppa): split PPA HAL into a separate component 2025-12-15 17:01:38 +08:00
Song Ruo Jing fe8ace8bef refactor(ppa): use fourcc for dma2d and ppa color formats 2025-12-01 19:21:49 +08:00
Song Ruo Jing 06970a5284 refactor(esp_hal_gpio): move some caps definitions to esp_hal_gpio 2025-11-26 15:35:27 +08:00
Song Ruo Jing 1862fdec74 refactor(gpio): split GPIO HAL into separate component
cleaned up some includes in GPIO peripheral files
2025-11-26 15:35:07 +08:00
Song Ruo Jing 551b264193 Merge branch 'bugfix/ppa_srm_stuck_on_dma' into 'master'
fix(ppa): fix potential SRM operation stuck on DMA issue

Closes IDFGH-16401

See merge request espressif/esp-idf!42733
2025-11-26 15:01:50 +08:00
Song Ruo Jing a49d44b188 Merge branch 'ci/fix_p4_eco5_test_cases' into 'master'
fix(ci): re-enable p4 eco5 ledc, dma2d, rtc_clk test cases

Closes IDF-14398 and IDFGH-16808

See merge request espressif/esp-idf!43611
2025-11-26 12:00:45 +08:00
Song Ruo Jing 672005c642 fix(ppa): fix potential SRM operation stuck on DMA issue
Apply a workaound to bypass macro block order function in PPA SRM
when specific conditions are met to avoid SRM operation getting stuck
2025-11-25 15:19:41 +08:00
Song Ruo Jing d33e8a48ad fix(ppa): YUV444 cannot be a PPA SRM output color mode 2025-11-25 10:53:15 +08:00
Song Ruo Jing 9079838b64 docs(ppa): add a note about bilinear scaling algorithm in PPA SRM
Closes https://github.com/espressif/esp-idf/issues/17531
2025-11-25 10:53:15 +08:00