diff --git a/components/esp_lcd/test_apps/.build-test-rules.yml b/components/esp_lcd/test_apps/.build-test-rules.yml index 56b5b3bab37..a60236231b5 100644 --- a/components/esp_lcd/test_apps/.build-test-rules.yml +++ b/components/esp_lcd/test_apps/.build-test-rules.yml @@ -22,7 +22,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 85d7d3fb622..df7f4c0f82c 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 @@ -15,5 +15,6 @@ from pytest_embedded_idf.utils import idf_parametrize indirect=True, ) @idf_parametrize('target', ['esp32p4'], indirect=['target']) +@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 1472f322317..6d862dceae2 100644 --- a/components/soc/esp32p4/include/soc/reset_reasons.h +++ b/components/soc/esp32p4/include/soc/reset_reasons.h @@ -46,6 +46,7 @@ typedef enum { 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 exception handler would cause this) + RESET_REASON_SYS_PSDET = 0x1B, // Power supply detect a glitch (>50ns) } soc_reset_reason_t; #ifdef __cplusplus diff --git a/examples/peripherals/.build-test-rules.yml b/examples/peripherals/.build-test-rules.yml index 57e5656fdc8..7d029e6e062 100644 --- a/examples/peripherals/.build-test-rules.yml +++ b/examples/peripherals/.build-test-rules.yml @@ -237,7 +237,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 dd92087a345..b38831591a5 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 c2ef9477765..ae1f96e9296 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 @@ -7,5 +7,5 @@ from pytest_embedded_idf.utils import idf_parametrize @pytest.mark.generic @idf_parametrize('target', ['esp32p4'], indirect=['target']) -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()')