Skip to content

Commit 73893e1

Browse files
zingofreddan80
authored andcommitted
Arm Backend: Place pte file/data in DDR area
Signed-off-by: Zingo Andersen <[email protected]> Change-Id: I34e9e6cf8ef506236c656ea270ba9db58d9a64da
1 parent 9abc9f4 commit 73893e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/arm/executor_runner/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ endif()
6363
if(TARGET_BOARD STREQUAL "corstone-300")
6464
add_subdirectory(${ETHOS_SDK_PATH}/core_platform/targets/corstone-300 target)
6565
target_compile_definitions(ethosu_target_common INTERFACE
66+
# ETHOSU_MODEL=0 place pte file/data in SRAM area
67+
# ETHOSU_MODEL=1 place pte file/data in DDR area
68+
ETHOSU_MODEL=1
6669
# Configure NPU architecture timing adapters
6770
# Ethos_U55_High_End_Embedded
6871
# This is just example numbers and you should make this match your hardware
@@ -98,6 +101,9 @@ if(TARGET_BOARD STREQUAL "corstone-300")
98101
elseif(TARGET_BOARD STREQUAL "corstone-320")
99102
add_subdirectory(${ETHOS_SDK_PATH}/core_platform/targets/corstone-320 target)
100103
target_compile_definitions(ethosu_target_common INTERFACE
104+
# ETHOSU_MODEL=0 place pte file/data in SRAM area
105+
# ETHOSU_MODEL=1 place pte file/data in DDR area
106+
ETHOSU_MODEL=1
101107
# Configure NPU architecture timing adapters
102108
# Ethos_U85_SYS_DRAM_Mid
103109
# This is just example numbers and you should make this match your hardware

0 commit comments

Comments
 (0)