From c7a4cec36e58fd7fe511e72705e8d577fb5cab21 Mon Sep 17 00:00:00 2001 From: morris Date: Tue, 18 Nov 2025 18:56:46 +0800 Subject: [PATCH] fix(dsi): test apps manifest error --- components/esp_lcd/test_apps/.build-test-rules.yml | 2 +- .../esp_lcd/test_apps/mipi_dsi_lcd/pytest_mipi_dsi_lcd.py | 1 + components/soc/esp32p4/include/soc/reset_reasons.h | 3 ++- examples/peripherals/.build-test-rules.yml | 2 +- examples/peripherals/lcd/mipi_dsi/main/Kconfig.projbuild | 2 +- .../peripherals/lcd/mipi_dsi/pytest_mipi_dsi_panel_lvgl.py | 4 ++-- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/components/esp_lcd/test_apps/.build-test-rules.yml b/components/esp_lcd/test_apps/.build-test-rules.yml index d6308cf692b..ca5fc292a38 100644 --- a/components/esp_lcd/test_apps/.build-test-rules.yml +++ b/components/esp_lcd/test_apps/.build-test-rules.yml @@ -34,7 +34,7 @@ components/esp_lcd/test_apps/mipi_dsi_lcd: depends_components: - esp_lcd disable: - - if: SOC_LCD_MIPI_DSI_SUPPORTED != 1 + - if: SOC_MIPI_DSI_SUPPORTED != 1 disable_test: - if: IDF_TARGET == "esp32p4" temporary: true diff --git a/components/esp_lcd/test_apps/mipi_dsi_lcd/pytest_mipi_dsi_lcd.py b/components/esp_lcd/test_apps/mipi_dsi_lcd/pytest_mipi_dsi_lcd.py index 7e4dc07e7d1..fe994086c4a 100644 --- a/components/esp_lcd/test_apps/mipi_dsi_lcd/pytest_mipi_dsi_lcd.py +++ b/components/esp_lcd/test_apps/mipi_dsi_lcd/pytest_mipi_dsi_lcd.py @@ -14,5 +14,6 @@ from pytest_embedded import Dut ], indirect=True, ) +@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='no runner') def test_dsi_lcd(dut: Dut) -> None: dut.run_all_single_board_cases() diff --git a/components/soc/esp32p4/include/soc/reset_reasons.h b/components/soc/esp32p4/include/soc/reset_reasons.h index 39b792e549e..4169778a7e0 100644 --- a/components/soc/esp32p4/include/soc/reset_reasons.h +++ b/components/soc/esp32p4/include/soc/reset_reasons.h @@ -45,7 +45,8 @@ typedef enum { RESET_REASON_CORE_USB_JTAG = 0x16, // USB Serial/JTAG controller's JTAG resets the digital core RESET_REASON_CORE_USB_UART = 0x17, // USB Serial/JTAG controller's UART resets the digital core RESET_REASON_CPU_JTAG = 0x18, // Triggered when a reset command from JTAG is received - RESET_REASON_CPU_LOCKUP = 0x1A, // Triggered when the CPU enters lockup (exception inside the execption handler would cause this) + RESET_REASON_CPU_LOCKUP = 0x1A, // Triggered when the CPU enters lockup (exception inside the exception handler would cause this) + RESET_REASON_SYS_PSDET = 0x1B, // Power supply detect a glitch (>50ns) } soc_reset_reason_t; diff --git a/examples/peripherals/.build-test-rules.yml b/examples/peripherals/.build-test-rules.yml index b95d06a410c..1c99c8d8619 100644 --- a/examples/peripherals/.build-test-rules.yml +++ b/examples/peripherals/.build-test-rules.yml @@ -177,7 +177,7 @@ examples/peripherals/lcd/i80_controller: examples/peripherals/lcd/mipi_dsi: disable: - - if: SOC_LCD_MIPI_DSI_SUPPORTED != 1 + - if: SOC_MIPI_DSI_SUPPORTED != 1 depends_components: - esp_lcd diff --git a/examples/peripherals/lcd/mipi_dsi/main/Kconfig.projbuild b/examples/peripherals/lcd/mipi_dsi/main/Kconfig.projbuild index bde4d4b00f1..cae66a3760a 100644 --- a/examples/peripherals/lcd/mipi_dsi/main/Kconfig.projbuild +++ b/examples/peripherals/lcd/mipi_dsi/main/Kconfig.projbuild @@ -15,7 +15,7 @@ menu "Example Configuration" choice prompt "Select MIPI LCD model" - default EXAMPLE_LCD_EK79007_SUPPORT + default EXAMPLE_LCD_USE_EK79007 help Select LCD controller model. diff --git a/examples/peripherals/lcd/mipi_dsi/pytest_mipi_dsi_panel_lvgl.py b/examples/peripherals/lcd/mipi_dsi/pytest_mipi_dsi_panel_lvgl.py index 53a65f99507..94c111ac79c 100644 --- a/examples/peripherals/lcd/mipi_dsi/pytest_mipi_dsi_panel_lvgl.py +++ b/examples/peripherals/lcd/mipi_dsi/pytest_mipi_dsi_panel_lvgl.py @@ -6,5 +6,5 @@ from pytest_embedded import Dut @pytest.mark.esp32p4 @pytest.mark.generic -def test_rgb_lcd_lvgl(dut: Dut) -> None: - dut.expect_exact('example: Install MIPI DSI LCD control panel') +def test_mipi_dsi_lcd_lvgl(dut: Dut) -> None: + dut.expect_exact('Calling app_main()')