summaryrefslogtreecommitdiff
path: root/scripts/cmake
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2022-08-12 11:53:45 +0100
committerMaksims Svecovs <maksims.svecovs@arm.com>2022-08-16 10:24:39 +0000
commit01334f974f75d5ce405571095fc888c8ed7846d4 (patch)
treea6190f6ec4f2e634da79ede9a5bbe1cf5f99c66e /scripts/cmake
parentd9bb3cf4fcc0c96bb9f6e9920eff18bf04d92258 (diff)
downloadml-embedded-evaluation-kit-01334f974f75d5ce405571095fc888c8ed7846d4.tar.gz
MLECO-3319: Documentation updates for Arm® Corstone™-310.
Documentation updates around use of Arm® Corstone™-310 AVH, especially in terms of use of timing adapters (TA). Also, use of TA's is forced off for SSE-310 subsystem's CMake configuration. Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com> Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I66a87060d8d47ce2580aa15f3908be20162eab54
Diffstat (limited to 'scripts/cmake')
-rw-r--r--scripts/cmake/platforms/mps3/build_configuration.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/cmake/platforms/mps3/build_configuration.cmake b/scripts/cmake/platforms/mps3/build_configuration.cmake
index 749b1e1..6f91f8c 100644
--- a/scripts/cmake/platforms/mps3/build_configuration.cmake
+++ b/scripts/cmake/platforms/mps3/build_configuration.cmake
@@ -31,8 +31,12 @@ function(set_platform_global_defaults)
CACHE FILEPATH "Toolchain file")
endif()
- if ((ETHOS_U_NPU_ID STREQUAL U65) AND (TARGET_SUBSYSTEM STREQUAL sse-310))
- message(FATAL_ERROR "Non compatible Ethos-U NPU processor ${ETHOS_U_NPU_ID} and target subsystem ${TARGET_SUBSYSTEM}")
+ # Arm Corstone-310's timing adapter behaviour is very different to Arm Corstone-300 and cannot
+ # be used for bandwidth/latency related performance sweeps for the Arm Ethos-U NPU. Read
+ # docs/sections/timing_adapters.md for more details.
+ if ((TARGET_SUBSYSTEM STREQUAL sse-310) AND ${ETHOS_U_NPU_TIMING_ADAPTER_ENABLED})
+ message(STATUS "Timing adapter will NOT be used for target subsystem ${TARGET_SUBSYSTEM}")
+ set(ETHOS_U_NPU_TIMING_ADAPTER_ENABLED OFF CACHE BOOL "Use of TA" FORCE)
endif()
set(LINKER_SCRIPT_NAME "mps3-${TARGET_SUBSYSTEM}" PARENT_SCOPE)