mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'ci/i2s_enable_flash_enc_test' into 'master'
ci(i2s): test I2S driver on encrypted runner Closes IDF-15062 See merge request espressif/esp-idf!49232
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
components/esp_driver_i2s/test_apps/i2s:
|
components/esp_driver_i2s/test_apps/i2s:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_I2S_SUPPORTED != 1
|
- if: SOC_I2S_SUPPORTED != 1
|
||||||
|
- if: CONFIG_NAME == "flash_enc" and SOC_FLASH_ENC_SUPPORTED != 1
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_i2s
|
- esp_driver_i2s
|
||||||
- esp_driver_pcnt
|
- esp_driver_pcnt
|
||||||
|
|||||||
@@ -76,3 +76,38 @@ def test_i2s_esp32c5_rev1(dut: Dut) -> None:
|
|||||||
)
|
)
|
||||||
def test_i2s_psram(dut: Dut) -> None:
|
def test_i2s_psram(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.flash_encryption_f4r8
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
'config',
|
||||||
|
[
|
||||||
|
'flash_enc',
|
||||||
|
],
|
||||||
|
indirect=True,
|
||||||
|
)
|
||||||
|
@idf_parametrize('target', ['esp32s3'], indirect=['target'])
|
||||||
|
def test_i2s_with_flash_encryption_esp32s3_f4r8(dut: Dut) -> None:
|
||||||
|
dut.run_all_single_board_cases()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.flash_encryption
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
'config',
|
||||||
|
[
|
||||||
|
'flash_enc',
|
||||||
|
],
|
||||||
|
indirect=True,
|
||||||
|
)
|
||||||
|
@idf_parametrize(
|
||||||
|
'target',
|
||||||
|
soc_filtered_targets(
|
||||||
|
'SOC_I2S_SUPPORTED == 1 and '
|
||||||
|
'SOC_PSRAM_DMA_CAPABLE == 1 and '
|
||||||
|
'SOC_FLASH_ENC_SUPPORTED == 1 and '
|
||||||
|
'IDF_TARGET not in ["esp32s3"]'
|
||||||
|
),
|
||||||
|
indirect=['target'],
|
||||||
|
)
|
||||||
|
def test_i2s_with_flash_encryption(dut: Dut) -> None:
|
||||||
|
dut.run_all_single_board_cases()
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
CONFIG_PARTITION_TABLE_OFFSET=0x9000
|
||||||
|
CONFIG_SECURE_FLASH_ENC_ENABLED=y
|
||||||
|
CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT=y
|
||||||
|
CONFIG_SECURE_BOOT_ALLOW_ROM_BASIC=y
|
||||||
|
CONFIG_SECURE_BOOT_ALLOW_JTAG=y
|
||||||
|
CONFIG_SECURE_FLASH_UART_BOOTLOADER_ALLOW_ENC=y
|
||||||
|
CONFIG_SECURE_FLASH_UART_BOOTLOADER_ALLOW_DEC=y
|
||||||
|
CONFIG_SECURE_FLASH_UART_BOOTLOADER_ALLOW_CACHE=y
|
||||||
|
CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED=y
|
||||||
Reference in New Issue
Block a user