feat(temperature_sensor): Add temperature sensor support on esp32c61

This commit is contained in:
C.S.M
2024-10-21 16:23:45 +08:00
parent 1689c7e14f
commit bff20b5397
18 changed files with 377 additions and 21 deletions

View File

@@ -1,2 +1,2 @@
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- |

View File

@@ -13,6 +13,7 @@ from pytest_embedded_idf.unity_tester import CaseTester
@pytest.mark.esp32h2
@pytest.mark.esp32p4
@pytest.mark.esp32c5
@pytest.mark.esp32c61
@pytest.mark.generic
@pytest.mark.parametrize('config', [
'release',
@@ -25,6 +26,7 @@ def test_temperature_sensor_driver(dut: Dut) -> None:
@pytest.mark.esp32h2
@pytest.mark.esp32p4
@pytest.mark.esp32c5
@pytest.mark.esp32c61
@pytest.mark.generic
@pytest.mark.parametrize('config', [
'iram_safe',
@@ -38,6 +40,7 @@ def test_temperature_sensor_cbs(dut: Dut) -> None:
@pytest.mark.esp32s3
@pytest.mark.esp32c2
@pytest.mark.esp32c6
@pytest.mark.esp32c61
@pytest.mark.wifi_two_dut
@pytest.mark.parametrize('count', [2], indirect=True)
def test_temperature_phy_cases(case_tester: CaseTester) -> None: # type: ignore