feat(mbedtls): enable ROM mbedTLS pytest with esp32c2 rev2.0

This commit is contained in:
Jiang Guang Ming
2026-05-25 10:07:47 +08:00
committed by JiangGuangMing
parent 6ae3fa39f4
commit 6eb7f181a2
10 changed files with 26 additions and 24 deletions
@@ -117,18 +117,19 @@ def test_mbedtls_hmac_opaque(dut: Dut) -> None:
dut.run_all_single_board_cases(group='efuse_hmac_key')
# TODO: IDF-15012
# @pytest.mark.generic
# @pytest.mark.parametrize(
# 'config',
# [
# 'rom_impl',
# ],
# indirect=True,
# )
# @idf_parametrize('target', ['esp32c2'], indirect=['target'])
# def test_mbedtls_rom_impl_esp32c2(dut: Dut) -> None:
# dut.run_all_single_board_cases()
@pytest.mark.esp32c2_rev2
@pytest.mark.xtal_26mhz
@pytest.mark.generic
@pytest.mark.parametrize(
'config, baud',
[
('rom_impl', '74880'),
],
indirect=True,
)
@idf_parametrize('target', ['esp32c2'], indirect=['target'])
def test_mbedtls_rom_impl_esp32c2(dut: Dut) -> None:
dut.run_all_single_board_cases()
@pytest.mark.generic
@@ -1,3 +1,4 @@
CONFIG_IDF_TARGET="esp32c2"
# TODO: IDF-15012
# CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL=y
CONFIG_XTAL_FREQ_26=y
CONFIG_ESP32C2_REV_MIN_200=y
CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL=y