refactor(tests): add missing sdkconfig files in the driver test

This commit is contained in:
morris
2026-01-02 23:41:41 +08:00
parent c3b7b52cd8
commit 55b6f2df37
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -583,7 +583,7 @@ static void sdio_intr_send(void *arg)
esp_err_t sdio_slave_send_queue(uint8_t *addr, size_t len, void *arg, TickType_t wait)
{
SDIO_SLAVE_CHECK(len > 0, "len <= 0", ESP_ERR_INVALID_ARG);
SDIO_SLAVE_CHECK(len > 0 && len <= 4092, "length out of range: (0, 4092]", ESP_ERR_INVALID_ARG);
SDIO_SLAVE_CHECK(esp_ptr_dma_capable(addr) && (uint32_t)addr % 4 == 0, "buffer to send should be DMA capable and 32-bit aligned",
ESP_ERR_INVALID_ARG);
@@ -36,7 +36,14 @@ def test_temperature_sensor_cbs(dut: Dut) -> None:
@pytest.mark.esp32c6
@pytest.mark.two_duts
@pytest.mark.parametrize('count', [2], indirect=True)
@pytest.mark.parametrize(
'config',
[
'release',
],
indirect=True,
)
def test_temperature_phy_cases(case_tester: CaseTester) -> None: # type: ignore
for case in case_tester.test_menu:
if case.attributes.get('test_env', 'two_duts') == 'two_duts':
case_tester.run_all_multi_dev_cases(case=case, reset=True)
case_tester.run_multi_dev_case(case=case, reset=True)
@@ -61,8 +61,8 @@ def test_esp_flash_multi(dut: Dut) -> None:
@pytest.mark.parametrize(
'config, baud',
[
('esp32c2_xtal26m', '74880'),
('esp32c2_xtal26m_rom', '74880'),
('c2_xtal26m', '74880'),
('c2_xtal26m_rom', '74880'),
],
indirect=True,
)