From 01334f974f75d5ce405571095fc888c8ed7846d4 Mon Sep 17 00:00:00 2001 From: Kshitij Sisodia Date: Fri, 12 Aug 2022 11:53:45 +0100 Subject: =?UTF-8?q?MLECO-3319:=20Documentation=20updates=20for=20Arm=C2=AE?= =?UTF-8?q?=20Corstone=E2=84=A2-310.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Maksims Svecovs Change-Id: I66a87060d8d47ce2580aa15f3908be20162eab54 --- scripts/cmake/platforms/mps3/build_configuration.cmake | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'scripts/cmake/platforms') 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) -- cgit v1.2.1