mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32s2: move memprot api
This commit is contained in:
parent
e94117a055
commit
ea2aafbb7a
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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")
|
||||
|
@ -20,6 +20,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "esp_attr.h"
|
||||
|
||||
#ifdef __cplusplus
|
@ -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}")
|
||||
|
@ -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}")
|
||||
|
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user