mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
ESP_FAULT_ASSERT(C) was silently deleted by the optimizer when C is a cached flag/status already proven by a preceding `if (!C) return/goto`: the compiler folds C to a constant and drops all three checks, removing the fault-injection protection with no warning.
17 lines
479 B
Plaintext
17 lines
479 B
Plaintext
# SECURE_BOOT_V2 with EFUSE_VIRTUAL_KEEP_IN_FLASH
|
|
|
|
CONFIG_IDF_TARGET="esp32p4"
|
|
|
|
CONFIG_PARTITION_TABLE_OFFSET=0XE000
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="test/partitions_efuse_emul.csv"
|
|
|
|
CONFIG_SECURE_BOOT=y
|
|
CONFIG_SECURE_BOOT_V2_ENABLED=y
|
|
CONFIG_SECURE_BOOT_SIGNING_KEY="test/secure_boot_signing_key.pem"
|
|
CONFIG_SECURE_INSECURE_ALLOW_DL_MODE=y
|
|
|
|
# IMPORTANT: ONLY VIRTUAL eFuse MODE!
|
|
CONFIG_EFUSE_VIRTUAL=y
|
|
CONFIG_EFUSE_VIRTUAL_KEEP_IN_FLASH=y
|