mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 11:03:11 +00:00
refactor(tests): add missing sdkconfig files in the driver test
This commit is contained in:
@@ -592,7 +592,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);
|
||||
|
||||
|
||||
+8
-1
@@ -38,7 +38,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)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
@@ -61,8 +60,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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user