mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
e22b4007d3
The following files were deleted: - components/esp_hw_support/include/soc/cpu.h - components/soc/esp32s3/include/soc/cpu.h The following functions are deprecated: - get_sp() The following functions declared in soc/cpu.h are now moved to esp_cpu.h: - esp_cpu_configure_region_protection() The following functions declared in soc/cpu.h are now moved to components/xtensa/include/esp_cpu_utils.h: - esp_cpu_process_stack_pc() All files with soc/cpu.h inclusion are updated to include esp_cpu.h instead. Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
23 lines
433 B
C
23 lines
433 B
C
/*
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "hal/cpu_hal.h"
|
|
#include "hal/mpu_hal.h"
|
|
#include "hal/mpu_types.h"
|
|
#include "soc/soc_caps.h"
|
|
#include "bootloader_mem.h"
|
|
#include "esp_cpu.h"
|
|
|
|
void bootloader_init_mem(void)
|
|
{
|
|
cpu_hal_init_hwloop();
|
|
|
|
// protect memory region
|
|
esp_cpu_configure_region_protection();
|
|
}
|