mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
a02be97fda
handling (only when nvs encryption is enabled) * NVS Encryption will now be turned on by default with flash encryption * Updated the flash encryption example to shocase NVS encryption along with information on how to configure and use NVS encryption * Updated respective test case * Added two partition tables for NVS encryption i) Table 1- Single factory app, no OTA, encrypted NVS ii) Table 2- Factory app, Two OTA, encrypted NVS
23 lines
899 B
Plaintext
23 lines
899 B
Plaintext
CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL="FROM_STDIN"
|
|
CONFIG_EXAMPLE_SKIP_COMMON_NAME_CHECK=y
|
|
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
|
|
CONFIG_PARTITION_TABLE_OFFSET=0x9000
|
|
CONFIG_EXAMPLE_CONNECT_ETHERNET=y
|
|
CONFIG_EXAMPLE_CONNECT_WIFI=n
|
|
CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y
|
|
CONFIG_EXAMPLE_ETH_PHY_IP101=y
|
|
CONFIG_EXAMPLE_ETH_MDC_GPIO=23
|
|
CONFIG_EXAMPLE_ETH_MDIO_GPIO=18
|
|
CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5
|
|
CONFIG_EXAMPLE_ETH_PHY_ADDR=1
|
|
CONFIG_EXAMPLE_CONNECT_IPV6=y
|
|
# This is required for nvs encryption (which is enabled by default with flash encryption)
|
|
CONFIG_PARTITION_TABLE_TWO_OTA_ENCRYPTED_NVS=y
|