Merge branch 'master' into feature/esp32s2beta_merge

This commit is contained in:
Ivan Grokhotkov
2019-10-02 18:57:40 +02:00
115 changed files with 2439 additions and 622 deletions

View File

@@ -60,7 +60,6 @@
#endif
#include "sdkconfig.h"
#include "esp_efuse.h"
#include "esp_image_format.h"
#include "esp_secure_boot.h"
#include "esp_flash_encrypt.h"
@@ -171,7 +170,7 @@ static esp_err_t bootloader_main(void)
}
/* Check chip ID and minimum chip revision that supported by this image */
uint8_t revision = esp_efuse_get_chip_ver();
uint8_t revision = bootloader_common_get_chip_revision();
ESP_LOGI(TAG, "Chip Revision: %d", revision);
if (bootloader_common_check_chip_validity(&fhdr) != ESP_OK) {
return ESP_FAIL;