test(panic): enable tests for esp32c61

This commit is contained in:
Omar Chebib 2024-09-03 17:13:59 +08:00
parent 1d8f1a584c
commit d025ff4073
4 changed files with 15 additions and 11 deletions

View File

@ -74,11 +74,7 @@ tools/test_apps/system/no_embedded_paths:
tools/test_apps/system/panic:
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32p4"] # preview targets
disable:
- if: IDF_TARGET == "esp32c61"
temporary: true
reason: not supported # TODO: [ESP32c61] IDF-9268
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32p4", "esp32c61"] # preview targets
tools/test_apps/system/ram_loadable_app:
disable:

View File

@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- |
# Introduction

View File

@ -53,8 +53,9 @@ CONFIGS = [
pytest.param('coredump_uart_bin_crc', marks=TARGETS_ALL),
pytest.param('coredump_uart_elf_crc', marks=TARGETS_ALL),
pytest.param('coredump_flash_custom_stack', marks=TARGETS_RISCV),
pytest.param('gdbstub', marks=TARGETS_ALL),
pytest.param('panic', marks=TARGETS_ALL),
# TODO: Move esp32c61 to TARGETS_RISCV once Core Dump is supported (IDF-9268)
pytest.param('gdbstub', marks=TARGETS_ALL + [pytest.mark.esp32c61]),
pytest.param('panic', marks=TARGETS_ALL + [pytest.mark.esp32c61]),
]
CONFIGS_DUAL_CORE = [
@ -83,6 +84,7 @@ CONFIGS_HW_STACK_GUARD = [
pytest.param('coredump_flash_bin_crc', marks=TARGETS_RISCV),
pytest.param('coredump_uart_bin_crc', marks=TARGETS_RISCV),
pytest.param('coredump_uart_elf_crc', marks=TARGETS_RISCV),
# TODO: Add stack guard support to the ESP32-C61: IDF-9269
pytest.param('gdbstub', marks=TARGETS_RISCV),
pytest.param('panic', marks=TARGETS_RISCV),
]
@ -585,7 +587,6 @@ def cache_error_log_check(dut: PanicTestDut) -> None:
@pytest.mark.generic
@pytest.mark.supported_targets
@pytest.mark.temp_skip_ci(targets=['esp32c61'], reason='support TBD') # TODO [ESP32C61] IDF-9268 IDF-10994
@pytest.mark.parametrize('config', ['panic'], indirect=True)
def test_assert_cache_write_back_error_can_print_backtrace(
dut: PanicTestDut, config: str, test_func_name: str
@ -596,7 +597,6 @@ def test_assert_cache_write_back_error_can_print_backtrace(
@pytest.mark.generic
@pytest.mark.supported_targets
@pytest.mark.temp_skip_ci(targets=['esp32c61'], reason='support TBD') # TODO [ESP32C61] IDF-9268 IDF-10994
@pytest.mark.parametrize('config', ['panic'], indirect=True)
def test_assert_cache_write_back_error_can_print_backtrace2(
dut: PanicTestDut, config: str, test_func_name: str

View File

@ -0,0 +1,8 @@
# Restricting to ESP32C61
CONFIG_IDF_TARGET="esp32c61"
# Enabling memory protection
CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT=y
# Enable memprot test
CONFIG_TEST_MEMPROT=y