1# FLASH_ENCRYPTION & SECURE_BOOT_V2 with EFUSE_VIRTUAL_KEEP_IN_FLASH
2
3# ESP32 supports SECURE_BOOT_V2 only in ECO3
4CONFIG_ESP32_REV_MIN_3=y
5CONFIG_ESP32_REV_MIN=3
6# ESP32C3 supports SECURE_BOOT_V2 only in ECO3
7CONFIG_ESP32C3_REV_MIN_3=y
8CONFIG_ESP32C3_REV_MIN=3
9
10CONFIG_PARTITION_TABLE_OFFSET=0xD000
11CONFIG_PARTITION_TABLE_CUSTOM=y
12CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="test/partitions_efuse_emul.csv"
13
14CONFIG_SECURE_BOOT=y
15CONFIG_SECURE_BOOT_V2_ENABLED=y
16CONFIG_SECURE_BOOT_SIGNING_KEY="test/secure_boot_signing_key.pem"
17
18CONFIG_SECURE_FLASH_ENC_ENABLED=y
19
20# IMPORTANT: ONLY VIRTUAL eFuse MODE!
21CONFIG_EFUSE_VIRTUAL=y
22CONFIG_EFUSE_VIRTUAL_KEEP_IN_FLASH=y
23