spi_slave: fix spi_slave_isr iram_safe and add test case for it

This commit is contained in:
wanlei
2023-01-04 11:24:54 +08:00
parent bcf19a275c
commit 971eaa0c08
17 changed files with 185 additions and 22 deletions

View File

@@ -17,7 +17,7 @@ def test_slave_single_dev(case_tester) -> None: # type: ignore
# if `test_env` not defined, will run on `generic_multi_device` by default
@pytest.mark.supported_targets
@pytest.mark.generic_multi_device
@pytest.mark.parametrize('count', [2,], indirect=True)
@pytest.mark.parametrize('count, config', [(2, 'defaults'), (2, 'iram_safe')], indirect=True)
def test_slave_multi_dev(case_tester) -> None: # type: ignore
for case in case_tester.test_menu:
if case.attributes.get('test_env', 'generic_multi_device') == 'generic_multi_device':