From 4ef2005b807a8bfebeee6ce098cbd813d6b2ce3f Mon Sep 17 00:00:00 2001 From: armando Date: Thu, 20 Nov 2025 09:31:16 +0800 Subject: [PATCH] change(ci): use p4 rev3 by default only when ci build --- components/esp_hw_support/port/esp32p4/Kconfig.hw_support | 3 ++- tools/test_apps/system/panic/pytest_panic.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/esp_hw_support/port/esp32p4/Kconfig.hw_support b/components/esp_hw_support/port/esp32p4/Kconfig.hw_support index 7a87e70b91..7699334a4a 100644 --- a/components/esp_hw_support/port/esp32p4/Kconfig.hw_support +++ b/components/esp_hw_support/port/esp32p4/Kconfig.hw_support @@ -3,7 +3,8 @@ comment "Read the help text of the option below for explanation" config ESP32P4_SELECTS_REV_LESS_V3 bool "Select ESP32-P4 revisions <3.0 (No >=3.x Support)" - default n + default n if IDF_CI_BUILD + default y help Select this option to support ESP32-P4 revisions 0.x and 1.x. Revisions higher than 3.0 (included) and revisions less than 3.0 diff --git a/tools/test_apps/system/panic/pytest_panic.py b/tools/test_apps/system/panic/pytest_panic.py index a1f2eb6e20..51d4d00677 100644 --- a/tools/test_apps/system/panic/pytest_panic.py +++ b/tools/test_apps/system/panic/pytest_panic.py @@ -412,6 +412,7 @@ def test_instr_fetch_prohibited(dut: PanicTestDut, config: str, test_func_name: @pytest.mark.generic @idf_parametrize('config, target', CONFIGS, indirect=['config', 'target']) +@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration, IDF-14348') def test_illegal_instruction(dut: PanicTestDut, config: str, test_func_name: str) -> None: dut.run_test_func(test_func_name) if dut.is_xtensa: