summaryrefslogtreecommitdiff
path: root/download_dependencies.py
diff options
context:
space:
mode:
authorMaksims Svecovs <maksims.svecovs@arm.com>2022-08-30 12:58:02 +0100
committerMaksims Svecovs <maksims.svecovs@arm.com>2022-08-31 10:00:45 +0100
commit254853c767f05d2770df5b2122824cffd7aec04c (patch)
tree2dfa0d70a092d27eb5443633a434d5477629defb /download_dependencies.py
parentc9f1717d227e21ebfab72cceee90b1f8f8522867 (diff)
downloadml-embedded-evaluation-kit-254853c767f05d2770df5b2122824cffd7aec04c.tar.gz
MLECO-3449: Update dependancies to 22.08 tags
Update dependencies to be aligned with 22.08 release of mlplatform according to: https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u/+/refs/heads/master/22.08.json CMSIS-DSP is moved to a separate repository, this patch adds a new repository along with user build parameter. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I356fb19b5dac87a21adfc34c67f9699131666074
Diffstat (limited to 'download_dependencies.py')
-rwxr-xr-xdownload_dependencies.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/download_dependencies.py b/download_dependencies.py
index d2abdbc..2a81cfb 100755
--- a/download_dependencies.py
+++ b/download_dependencies.py
@@ -24,10 +24,11 @@ from urllib.request import urlopen
from zipfile import ZipFile
from pathlib import Path
-TF = "https://github.com/tensorflow/tflite-micro/archive/02715237c1fc0a23f465226364d206277f54ebce.zip"
-CMSIS = "https://github.com/ARM-software/CMSIS_5/archive/29615088b12e3ba8ce50d316cf7f38c1bd7fc620.zip"
-ETHOS_U_CORE_DRIVER = "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/snapshot/ethos-u-core-driver-22.05.tar.gz"
-ETHOS_U_CORE_PLATFORM = "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-platform.git/snapshot/ethos-u-core-platform-22.05.tar.gz"
+TF = "https://github.com/tensorflow/tflite-micro/archive/286aeb5ff20d3571556e48a5c1af8527f84d3456.zip"
+CMSIS = "https://github.com/ARM-software/CMSIS_5/archive/ed78d6b78766d71cfe0431149f2f261d1c7277a1.zip"
+CMSIS_DSP = "https://github.com/ARM-software/CMSIS-DSP/archive/refs/tags/v1.11.0.zip"
+ETHOS_U_CORE_DRIVER = "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/snapshot/ethos-u-core-driver-22.08.tar.gz"
+ETHOS_U_CORE_PLATFORM = "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-platform.git/snapshot/ethos-u-core-platform-22.08.tar.gz"
def download(url_file: str, post_process=None):
@@ -67,6 +68,8 @@ def main(dependencies_path: Path):
download(CMSIS,
lambda file: unzip(file.name, to_path=dependencies_path / "cmsis"))
+ download(CMSIS_DSP,
+ lambda file: unzip(file.name, to_path=dependencies_path / "cmsis-dsp"))
download(ETHOS_U_CORE_DRIVER,
lambda file: untar(file.name, to_path=dependencies_path / "core-driver"))
download(ETHOS_U_CORE_PLATFORM,