Merge branch 'feature/esp32c5_coredump' into 'master'

ESP32-C5 enable core dump tests

Closes IDF-8661

See merge request espressif/esp-idf!30151
This commit is contained in:
Erhan Kurubas
2024-09-04 20:08:48 +08:00
3 changed files with 4 additions and 3 deletions

View File

@@ -50,8 +50,7 @@ menu "Core dump"
config ESP_COREDUMP_CAPTURE_DRAM config ESP_COREDUMP_CAPTURE_DRAM
bool "Include whole .bss and .data sections and heap data into core dump file" bool "Include whole .bss and .data sections and heap data into core dump file"
default n default n
#TODO: Heap walker api is not ready for the esp32c5 (IDF-9641) depends on ESP_COREDUMP_DATA_FORMAT_ELF
depends on ESP_COREDUMP_DATA_FORMAT_ELF && !IDF_TARGET_ESP32C5
help help
Storing these sections can help with easier debugging and troubleshooting. Storing these sections can help with easier debugging and troubleshooting.
However, additional storage space will be required in the core dump partition. However, additional storage space will be required in the core dump partition.

View File

@@ -25,7 +25,6 @@ api-guides/wifi.rst
api-guides/bluetooth.rst api-guides/bluetooth.rst
api-guides/wireshark-user-guide.rst api-guides/wireshark-user-guide.rst
api-guides/esp-wifi-mesh.rst api-guides/esp-wifi-mesh.rst
api-guides/core_dump.rst
api-guides/inc/external-ram-esp32-notes.rst api-guides/inc/external-ram-esp32-notes.rst
api-guides/dfu.rst api-guides/dfu.rst
api-guides/current-consumption-measurement-modules.rst api-guides/current-consumption-measurement-modules.rst

View File

@@ -26,6 +26,7 @@ TARGETS_XTENSA = TARGETS_XTENSA_SINGLE_CORE + TARGETS_XTENSA_DUAL_CORE
TARGETS_RISCV_SINGLE_CORE = [ TARGETS_RISCV_SINGLE_CORE = [
pytest.mark.esp32c2, pytest.mark.esp32c2,
pytest.mark.esp32c3, pytest.mark.esp32c3,
pytest.mark.esp32c5,
pytest.mark.esp32c6, pytest.mark.esp32c6,
pytest.mark.esp32h2, pytest.mark.esp32h2,
] ]
@@ -976,6 +977,7 @@ def test_hw_stack_guard_cpu(dut: PanicTestDut, cpu: int) -> None:
assert end_addr > start_addr assert end_addr > start_addr
@pytest.mark.temp_skip_ci(targets=['esp32c5'], reason='TODO: IDF-8662')
@pytest.mark.parametrize('config', CONFIGS_HW_STACK_GUARD, indirect=True) @pytest.mark.parametrize('config', CONFIGS_HW_STACK_GUARD, indirect=True)
@pytest.mark.generic @pytest.mark.generic
def test_hw_stack_guard_cpu0(dut: PanicTestDut, config: str, test_func_name: str) -> None: def test_hw_stack_guard_cpu0(dut: PanicTestDut, config: str, test_func_name: str) -> None:
@@ -984,6 +986,7 @@ def test_hw_stack_guard_cpu0(dut: PanicTestDut, config: str, test_func_name: str
common_test(dut, config) common_test(dut, config)
@pytest.mark.temp_skip_ci(targets=['esp32c5'], reason='TODO: IDF-8662')
@pytest.mark.parametrize('config', CONFIGS_HW_STACK_GUARD_DUAL_CORE, indirect=True) @pytest.mark.parametrize('config', CONFIGS_HW_STACK_GUARD_DUAL_CORE, indirect=True)
@pytest.mark.generic @pytest.mark.generic
def test_hw_stack_guard_cpu1(dut: PanicTestDut, config: str, test_func_name: str) -> None: def test_hw_stack_guard_cpu1(dut: PanicTestDut, config: str, test_func_name: str) -> None: