test(parlio): enable h4 parlio test

This commit is contained in:
Chen Jichang
2026-05-27 11:25:18 +08:00
parent 0183eb84bb
commit 7f048be21f
6 changed files with 20 additions and 13 deletions

View File

@@ -3,10 +3,6 @@
components/esp_driver_parlio/test_apps/parlio:
disable:
- if: SOC_PARLIO_SUPPORTED != 1
disable_test:
- if: IDF_TARGET == "esp32h4"
temporary: true
reason: cannot pass # TODO: IDF-15613
depends_components:
- esp_driver_parlio
- esp_driver_dma

View File

@@ -935,7 +935,7 @@ static void test_gpio_neg_edge_intr(void *arg)
}
}
TEST_CASE("parallel_rx_unit_force_trigger_eof_test", "[parlio_rx]")
TEST_CASE("parallel_rx_unit_force_trigger_eof_test", "[parlio_rx][release_only]")
{
parlio_rx_unit_handle_t rx_unit = NULL;

View File

@@ -45,8 +45,8 @@ static void test_parlio_tx_cache_safe(void)
TEST_ESP_OK(parlio_new_tx_unit(&config, &tx_unit));
TEST_ESP_OK(parlio_tx_unit_enable(tx_unit));
const size_t buffer_size = 160 * 1000;
const size_t chunk_size = buffer_size / 4; // 40KB per trunk
const size_t buffer_size = 80 * 1000;
const size_t chunk_size = buffer_size / 4; // 20KB per trunk
uint8_t *buffer = heap_caps_malloc(buffer_size, MALLOC_CAP_8BIT | MALLOC_CAP_DMA);
TEST_ASSERT_NOT_NULL(buffer);
for (int i = 0; i < buffer_size; i++) {

View File

@@ -11,11 +11,24 @@ from pytest_embedded_idf.utils import soc_filtered_targets
'config',
[
'cache_safe',
],
indirect=True,
)
@idf_parametrize(
'target', soc_filtered_targets('SOC_PARLIO_SUPPORTED == 1 and IDF_TARGET not in ["esp32c5"]'), indirect=['target']
)
def test_parlio_cache_safe(dut: Dut) -> None:
dut.run_all_single_board_cases(group='!release_only')
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'release',
],
indirect=True,
)
@pytest.mark.temp_skip_ci(targets=['esp32h4'], reason='cannot pass') # TODO: IDF-15613
@idf_parametrize(
'target', soc_filtered_targets('SOC_PARLIO_SUPPORTED == 1 and IDF_TARGET not in ["esp32c5"]'), indirect=['target']
)
@@ -31,7 +44,6 @@ def test_parlio(dut: Dut) -> None:
],
indirect=True,
)
@pytest.mark.temp_skip_ci(targets=['esp32h4'], reason='cannot pass') # TODO: IDF-15613
@idf_parametrize(
'target', soc_filtered_targets('SOC_PARLIO_SUPPORTED == 1 and SOC_FLASH_ENC_SUPPORTED == 1'), indirect=['target']
)
@@ -45,7 +57,7 @@ def test_parlio_with_virt_flash_enc(dut: Dut) -> None:
dut.expect('Checking flash encryption...')
dut.expect('Generating new flash encryption key...')
dut.run_all_single_board_cases()
dut.run_all_single_board_cases(group='!release_only')
@pytest.mark.generic
@@ -58,7 +70,7 @@ def test_parlio_with_virt_flash_enc(dut: Dut) -> None:
)
@idf_parametrize('target', ['esp32c5'], indirect=['target'])
def test_parlio_esp32c5(dut: Dut) -> None:
dut.run_all_single_board_cases()
dut.run_all_single_board_cases(group='!release_only')
@pytest.mark.generic

View File

@@ -360,7 +360,7 @@ void app_main(void)
ESP_LOGI(TAG, "Create LVGL task");
xTaskCreate(example_lvgl_port_task, "LVGL", EXAMPLE_LVGL_TASK_STACK_SIZE, NULL, EXAMPLE_LVGL_TASK_PRIORITY, NULL);
vTaskDelay(pdMS_TO_TICKS(10));
ESP_LOGI(TAG, "Display LVGL animation");
// Lock the mutex due to the LVGL APIs are not thread-safe
_lock_acquire(&lvgl_api_lock);

View File

@@ -8,4 +8,3 @@ CONFIG_LV_USE_FS_POSIX=y
# use 'S' (83 in ASCII) as drive letter for POSIX FS
CONFIG_LV_FS_POSIX_LETTER=83
CONFIG_LV_FS_POSIX_CACHE_SIZE=65535