bootloader: Add support esp32s2beta

This commit is contained in:
KonstantinKondrashov 2019-07-04 13:10:58 +08:00 committed by Angus Gratton
parent d06b2a3598
commit 6f102125b4
2 changed files with 6 additions and 6 deletions

View File

@ -204,10 +204,13 @@ menu "Bootloader config"
config BOOTLOADER_APP_SEC_VER_SIZE_EFUSE_FIELD
int "Size of the efuse secure version field"
depends on BOOTLOADER_APP_ANTI_ROLLBACK
range 1 32
default 32
range 1 32 if IDF_TARGET_ESP32
default 32 if IDF_TARGET_ESP32
range 1 16 if IDF_TARGET_ESP32S2BETA
default 16 if IDF_TARGET_ESP32S2BETA
help
The size of the efuse secure version field. Its length is limited to 32 bits.
The size of the efuse secure version field.
Its length is limited to 32 bits for ESP32 and 16 bits for ESP32S2BETA.
This determines how many times the security version can be increased.
config BOOTLOADER_EFUSE_SECURE_VERSION_EMULATE

View File

@ -63,10 +63,7 @@
#include "bootloader_common.h"
#include "bootloader_utility.h"
#include "bootloader_sha.h"
#if CONFIG_IDF_TARGET_ESP32
#include "esp_efuse.h"
#endif
static const char *TAG = "boot";