mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6005cc9163
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated. Users should use functions from esp_cpu.h instead.
22 lines
437 B
C
22 lines
437 B
C
/*
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stdbool.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)
|
|
{
|
|
#ifdef CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE
|
|
// protect memory region
|
|
esp_cpu_configure_region_protection();
|
|
#endif
|
|
}
|