Merge branch 'feature/cpu_abstraction' into 'master'

CPU related operations abstraction

See merge request espressif/esp-idf!7301
This commit is contained in:
Angus Gratton
2020-02-28 11:54:29 +08:00
44 changed files with 1318 additions and 314 deletions

View File

@@ -25,6 +25,7 @@
#include "bootloader_init.h"
#include "bootloader_clock.h"
#include "bootloader_flash_config.h"
#include "bootloader_mem.h"
#include "esp32s2/rom/cache.h"
#include "esp32s2/rom/ets_sys.h"
@@ -349,7 +350,9 @@ esp_err_t bootloader_init(void)
esp_err_t ret = ESP_OK;
bootloader_super_wdt_auto_feed();
// protect memory region
cpu_configure_region_protection();
bootloader_init_mem();
/* check that static RAM is after the stack */
#ifndef NDEBUG
{