From afb0963b9d4413a398ebaa0185db88d88295e954 Mon Sep 17 00:00:00 2001 From: alexander Date: Fri, 14 May 2021 15:48:56 +0100 Subject: Renamed core driver dependency to be "dash" style aligned Signed-off-by: alexander Change-Id: I86b1d658ddd9aa717eb571286a9e5f5e053725cf --- .gitmodules | 2 +- CMakeLists.txt | 2 +- dependencies/core-driver | 1 + dependencies/core_driver | 1 - docs/sections/building.md | 5 +++-- 5 files changed, 6 insertions(+), 5 deletions(-) create mode 160000 dependencies/core-driver delete mode 160000 dependencies/core_driver diff --git a/.gitmodules b/.gitmodules index 06532f6..12a4df7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,7 +5,7 @@ path = dependencies/cmsis url = https://github.com/ARM-software/CMSIS_5.git [submodule "dependencies/core_driver"] - path = dependencies/core_driver + path = dependencies/core-driver url = https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver [submodule "dependencies/core-software"] path = dependencies/core-software diff --git a/CMakeLists.txt b/CMakeLists.txt index cefc86e..fa84b3e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,7 +175,7 @@ if (ETHOS_U55_ENABLED) USER_OPTION(ETHOS_U55_DRIVER_SRC_PATH "Path to Ethos-U55 core driver sources" - "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/core_driver" + "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/core-driver" PATH ) diff --git a/dependencies/core-driver b/dependencies/core-driver new file mode 160000 index 0000000..8565d75 --- /dev/null +++ b/dependencies/core-driver @@ -0,0 +1 @@ +Subproject commit 8565d75b96a2f57f559f12dc0c68438bcfd276c8 diff --git a/dependencies/core_driver b/dependencies/core_driver deleted file mode 160000 index 8565d75..0000000 --- a/dependencies/core_driver +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8565d75b96a2f57f559f12dc0c68438bcfd276c8 diff --git a/docs/sections/building.md b/docs/sections/building.md index ff5b518..7bd01d1 100644 --- a/docs/sections/building.md +++ b/docs/sections/building.md @@ -371,12 +371,13 @@ cmake .. \ If the TensorFlow source tree is not in its default expected location, set the path using `TENSORFLOW_SRC_PATH`. Similarly, if the Ethos-U55 NPU driver and CMSIS are not in the default location, `ETHOS_U55_DRIVER_SRC_PATH` and `CMSIS_SRC_PATH` can be -used to configure their location. For example: +used to configure their location. +For example: ```commandline cmake .. \ -DTENSORFLOW_SRC_PATH=/my/custom/location/tensorflow \ - -DETHOS_U55_DRIVER_SRC_PATH=/my/custom/location/core_driver \ + -DETHOS_U55_DRIVER_SRC_PATH=/my/custom/location/core-driver \ -DCMSIS_SRC_PATH=/my/custom/location/cmsis ``` -- cgit v1.2.1