esp32s2: move memprot api

This commit is contained in:
Renz Bagaporo 2021-03-03 17:59:11 +08:00 committed by Michael (XIAO Xufeng)
parent e94117a055
commit ea2aafbb7a
12 changed files with 7 additions and 8 deletions

View File

@ -14,8 +14,7 @@ else()
set(srcs "dport_access.c"
"esp_hmac.c"
"esp_ds.c"
"esp_crypto_lock.c"
"memprot.c")
"esp_crypto_lock.c")
set(include_dirs "include")
set(requires driver efuse soc riscv) #unfortunately rom/uart uses SOC registers directly

View File

@ -11,8 +11,7 @@ if(BOOTLOADER_BUILD)
else()
# Regular app build
set(srcs "memprot.c"
"dport_access.c"
set(srcs "dport_access.c"
"spiram.c"
"spiram_psram.c"
"esp_crypto_lock.c"

View File

@ -14,7 +14,6 @@ else()
set(srcs "dport_access.c"
"esp_crypto_lock.c"
"memprot.c"
"spiram.c"
"spi_timing_config.c")
set(include_dirs "include")

View File

@ -20,6 +20,8 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>
#include "esp_attr.h"
#ifdef __cplusplus

View File

@ -9,7 +9,7 @@ set(srcs "cpu_util_esp32c3.c"
)
if(NOT BOOTLOADER_BUILD)
list(APPEND srcs "../async_memcpy_impl_gdma.c")
list(APPEND srcs "../async_memcpy_impl_gdma.c" "memprot.c")
endif()
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")

View File

@ -14,7 +14,7 @@ set(srcs
)
if(NOT BOOTLOADER_BUILD)
list(APPEND srcs "async_memcpy_impl_cp_dma.c")
list(APPEND srcs "async_memcpy_impl_cp_dma.c" "memprot.c")
endif()
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")

View File

@ -13,7 +13,7 @@ set(srcs
)
if(NOT BOOTLOADER_BUILD)
list(APPEND srcs "../async_memcpy_impl_gdma.c")
list(APPEND srcs "../async_memcpy_impl_gdma.c" "memprot.c")
endif()
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")