mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(mbedtls): enable ROM mbedTLS pytest with esp32c2 rev2.0
This commit is contained in:
committed by
JiangGuangMing
parent
6ae3fa39f4
commit
6eb7f181a2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user