feat(uhci): Add length receive threshold support

This commit is contained in:
C.S.M
2025-04-28 16:26:16 +08:00
parent f566b500dd
commit bb03892461
10 changed files with 18 additions and 6 deletions

View File

@@ -516,7 +516,7 @@ examples/peripherals/uart/uart_dma_ota:
disable:
- if: SOC_UHCI_SUPPORTED != 1
disable_test:
- if: IDF_TARGET in ["esp32p4"]
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: Lack runners

View File

@@ -42,7 +42,7 @@ def send_file_via_uart(port: str, baud_rate: int, file_path: str, packet_size: i
],
indirect=True,
)
@idf_parametrize('target', ['esp32c6', 'esp32c3', 'esp32s3'], indirect=['target'])
@idf_parametrize('target', ['esp32c6', 'esp32c3', 'esp32s3', 'esp32h2'], indirect=['target'])
def test_uart_dma_ota(dut: Dut) -> None:
dut.expect_exact('uhci-example: OTA process started')
# We OTA the same binary to another partition and switch to there.

View File

@@ -0,0 +1,2 @@
CONFIG_IDF_TARGET="esp32h2"
CONFIG_UART_RX_IO=23