mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
Merge branch 'fix/coredump_psram_xip' into 'master'
test(coredump): fix psram memory range for esp32s31 and esp32p4 Closes IDF-15623 See merge request espressif/esp-idf!50533
This commit is contained in:
@@ -106,6 +106,12 @@ def _test_panic_extram_stack_impl(dut: PanicTestDut, config: str) -> None:
|
||||
elif dut.target == 'esp32s3':
|
||||
# ESP32-S3 External data memory range [0x3c000000-0x3e000000)
|
||||
coredump_pattern = re.compile('.coredump.tasks.data (0x3[c-dC-D][0-9a-fA-F]{6}) (0x[a-fA-F0-9]+) RW')
|
||||
elif dut.target == 'esp32s31':
|
||||
# ESP32-S31 External data memory range [0x50000000-0x54000000)
|
||||
coredump_pattern = re.compile('.coredump.tasks.data (0x5[0-9a-fA-F]{7}) (0x[a-fA-F0-9]+) RW')
|
||||
elif dut.target == 'esp32p4':
|
||||
# ESP32-P4 External data memory range [0x48000000-0x4c000000)
|
||||
coredump_pattern = re.compile('.coredump.tasks.data (0x4[8-9a-bA-B][0-9a-fA-F]{6}) (0x[a-fA-F0-9]+) RW')
|
||||
else:
|
||||
# RISC-V targets (esp32c5, esp32c61, etc.) External data memory range [0x42000000-0x44000000)
|
||||
coredump_pattern = re.compile('.coredump.tasks.data (0x4[2-3][0-9a-fA-F]{6}) (0x[a-fA-F0-9]+) RW')
|
||||
@@ -130,8 +136,6 @@ def get_psram_marker(target: str) -> pytest.mark:
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration')
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32c5', 'esp32c61', 'esp32p4', 'esp32s31'], reason='TODO: IDF-15623')
|
||||
def test_panic_extram_stack_heap_psram(dut: PanicTestDut, config: str) -> None:
|
||||
_test_panic_extram_stack_impl(dut, config)
|
||||
|
||||
@@ -144,8 +148,6 @@ def test_panic_extram_stack_heap_psram(dut: PanicTestDut, config: str) -> None:
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration')
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32c5', 'esp32c61', 'esp32p4', 'esp32s31'], reason='TODO: IDF-15623')
|
||||
def test_panic_extram_stack_heap_bss(dut: PanicTestDut, config: str) -> None:
|
||||
_test_panic_extram_stack_impl(dut, config)
|
||||
|
||||
@@ -158,8 +160,6 @@ def test_panic_extram_stack_heap_bss(dut: PanicTestDut, config: str) -> None:
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration')
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32c5', 'esp32c61', 'esp32p4', 'esp32s31'], reason='TODO: IDF-15623')
|
||||
def test_panic_extram_stack_heap_bss_xip(dut: PanicTestDut, config: str) -> None:
|
||||
_test_panic_extram_stack_impl(dut, config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user