mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bootloader: Add support esp32s2beta
This commit is contained in:
parent
d06b2a3598
commit
6f102125b4
@ -204,10 +204,13 @@ menu "Bootloader config"
|
|||||||
config BOOTLOADER_APP_SEC_VER_SIZE_EFUSE_FIELD
|
config BOOTLOADER_APP_SEC_VER_SIZE_EFUSE_FIELD
|
||||||
int "Size of the efuse secure version field"
|
int "Size of the efuse secure version field"
|
||||||
depends on BOOTLOADER_APP_ANTI_ROLLBACK
|
depends on BOOTLOADER_APP_ANTI_ROLLBACK
|
||||||
range 1 32
|
range 1 32 if IDF_TARGET_ESP32
|
||||||
default 32
|
default 32 if IDF_TARGET_ESP32
|
||||||
|
range 1 16 if IDF_TARGET_ESP32S2BETA
|
||||||
|
default 16 if IDF_TARGET_ESP32S2BETA
|
||||||
help
|
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.
|
This determines how many times the security version can be increased.
|
||||||
|
|
||||||
config BOOTLOADER_EFUSE_SECURE_VERSION_EMULATE
|
config BOOTLOADER_EFUSE_SECURE_VERSION_EMULATE
|
||||||
|
@ -63,10 +63,7 @@
|
|||||||
#include "bootloader_common.h"
|
#include "bootloader_common.h"
|
||||||
#include "bootloader_utility.h"
|
#include "bootloader_utility.h"
|
||||||
#include "bootloader_sha.h"
|
#include "bootloader_sha.h"
|
||||||
|
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
|
||||||
#include "esp_efuse.h"
|
#include "esp_efuse.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
static const char *TAG = "boot";
|
static const char *TAG = "boot";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user