From ddcb56d603ffa9cbff173d3c7066c2fa6f8d3c4c Mon Sep 17 00:00:00 2001 From: Kshitij Sisodia Date: Tue, 11 May 2021 14:46:01 +0100 Subject: MLECO-1912: Explcitly setting resources dir Minor CMake and ReadMe edits. Change-Id: Ib5b3fb904a0b034af57a3d4065a6183e29499f0f --- CMakeLists.txt | 5 ++++- Readme.md | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 411b4f2..bc69c76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,9 @@ set(CMAKE_SCRIPTS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/scripts/cmake) set(DOWNLOAD_DEP_DIR ${CMAKE_BINARY_DIR}/dependencies) set(CMAKE_TOOLCHAIN_DIR ${CMAKE_SCRIPTS_DIR}/toolchains) +set(RESOURCES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/resources_downloaded + CACHE PATH "Resources directory") + include(${CMAKE_SCRIPTS_DIR}/source_gen_utils.cmake) include(${CMAKE_SCRIPTS_DIR}/util_functions.cmake) @@ -291,7 +294,7 @@ foreach(use_case ${USE_CASES}) # Executable application: set(TARGET_NAME "ethos-u-${use_case}") - set(DEFAULT_MODEL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/resources_downloaded/${use_case}) + set(DEFAULT_MODEL_DIR ${RESOURCES_DIR}/${use_case}) set(DEFAULT_TEST_DATA_DIR ${DEFAULT_MODEL_DIR}) set(SRC_GEN_DIR ${CMAKE_BINARY_DIR}/generated/${use_case}/src) set(INC_GEN_DIR ${CMAKE_BINARY_DIR}/generated/${use_case}/include) diff --git a/Readme.md b/Readme.md index 577d6e8..16ac683 100644 --- a/Readme.md +++ b/Readme.md @@ -9,7 +9,7 @@ the new [Arm® Cortex™-M55 processor](https://www.arm.com/products/silicon-ip- ## Overview of the evaluation kit -The purpose of the evaluation kit is to allow the user to develop software and test the performance of the Ethos-U55 NPU and +The purpose of this evaluation kit is to allow users to develop software and test the performance of the Ethos-U55 NPU and Cortex-M55 CPU. The Ethos-U55 NPU is a new class of machine learning(ML) processor, specifically designed to accelerate computation for ML workloads in constrained embedded and IoT devices. The product is optimized to execute mathematical operations efficiently that are commonly used in ML algorithms, such as convolutions or activation functions. @@ -85,6 +85,6 @@ For more details see full documentation: - [Coding standards and guidelines](./docs/documentation.md#coding-standards-and-guidelines) - [Code Reviews](./docs/documentation.md#code-reviews) - [Testing](./docs/documentation.md#testing) - - [Communication](./docs/documentation.md#communication) - - [Licenses](./docs/documentation.md#licenses) + - [Communication](./docs/documentation.md#communication) + - [Licenses](./docs/documentation.md#licenses) - [Appendix](./docs/documentation.md#appendix) \ No newline at end of file -- cgit v1.2.1