kopia lustrzana https://github.com/espressif/esp-idf
23 wiersze
782 B
Plaintext
23 wiersze
782 B
Plaintext
![]() |
# Restricting to ESP32
|
||
|
CONFIG_IDF_TARGET="esp32"
|
||
|
|
||
|
# Partition Table
|
||
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||
![]() |
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_nvs_encr_flash_enc.csv"
|
||
|
CONFIG_PARTITION_TABLE_FILENAME="partitions_nvs_encr_flash_enc.csv"
|
||
![]() |
CONFIG_PARTITION_TABLE_OFFSET=0x9000
|
||
|
|
||
|
# Enabling Flash Encryption
|
||
|
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
|
||
![]() |
|
||
|
# Enabling NVS Encryption (Flash Encryption-based scheme)
|
||
|
CONFIG_NVS_ENCRYPTION=y
|
||
|
CONFIG_NVS_SEC_KEY_PROTECT_USING_FLASH_ENC=y
|