feat(heap): enable heap tracing for the RISC-V targets

When the frame pointer is enabled, it is possible for RISC-V targets to now
possible to enable and generate heap call traces.
This commit is contained in:
Omar Chebib
2024-09-12 16:24:33 +08:00
parent 980cf269c7
commit 1e0cdcbd13
12 changed files with 54 additions and 55 deletions

View File

@@ -94,17 +94,15 @@ def test_heap_misc_options(dut: Dut) -> None:
@pytest.mark.generic
@pytest.mark.parametrize(
'target',
[
'esp32',
]
)
@pytest.mark.esp32
@pytest.mark.esp32c3
@pytest.mark.parametrize(
'config',
[
'heap_trace',
'heap_trace_hashmap'
pytest.param('heap_trace_esp32', marks=[pytest.mark.esp32]),
pytest.param('heap_trace_hashmap_esp32', marks=[pytest.mark.esp32]),
pytest.param('heap_trace_esp32c3', marks=[pytest.mark.esp32c3]),
pytest.param('heap_trace_hashmap_esp32c3', marks=[pytest.mark.esp32c3])
]
)
def test_heap_trace_dump(dut: Dut) -> None: