Skip to content

Commit b61f2d6

Browse files
Address comments
Change-Id: Idbaada0753a9d46cfd94f71fcb30c7f7a8a1d17d
1 parent da2fda3 commit b61f2d6

File tree

4 files changed

+7
-17
lines changed

4 files changed

+7
-17
lines changed

gallery/how_to/work_with_microtvm/install_cmsis.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ Install CMSIS-NN
3333
wget ${CMSIS_URL} -O "${DOWNLOAD_PATH}"
3434
tar -xf "${DOWNLOAD_PATH}" -C ${CMSIS_PATH} --strip-components=1
3535
rm ${DOWNLOAD_PATH}
36+
37+
CMSIS_NN_TAG="v4.0.0"
38+
CMSIS_NN_URL="https://github.com/ARM-software/CMSIS-NN.git"
39+
git clone ${CMSIS_NN_URL} --branch ${CMSIS_NN_TAG} --single-branch ${CMSIS_PATH}/CMSIS-NN

gallery/how_to/work_with_microtvm/micro_aot.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,14 @@
4646
# By default, this tutorial runs on x86 CPU using TVM's C runtime. If you would like
4747
# to run on real Zephyr hardware, you must export the `TVM_MICRO_USE_HW` environment
4848
# variable. Otherwise (if you are using the C runtime), you can skip installing
49-
# Zephyr and CMSIS-NN. It takes ~20 minutes to install both of them.
49+
# Zephyr. It takes ~20 minutes to install Zephyr.
5050
use_physical_hw = bool(os.getenv("TVM_MICRO_USE_HW"))
5151

5252
######################################################################
5353
#
5454
# .. include:: ../../../../gallery/how_to/work_with_microtvm/install_zephyr.rst
5555
#
5656

57-
######################################################################
58-
#
59-
# .. include:: ../../../../gallery/how_to/work_with_microtvm/install_cmsis.rst
60-
#
61-
6257
######################################################################
6358
# Import Python dependencies
6459
# -------------------------------

gallery/how_to/work_with_microtvm/micro_autotune.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
testing.utils.install_request_hook(depth=3)
3939
# sphinx_gallery_end_ignore
4040

41-
# You can skip the following two sections (installing Zephyr and CMSIS-NN) if the following flag is False.
41+
# You can skip the following section (installing Zephyr) if the following flag is False.
4242
# Installing Zephyr takes ~20 min.
4343
import os
4444

@@ -49,10 +49,6 @@
4949
# .. include:: ../../../../gallery/how_to/work_with_microtvm/install_zephyr.rst
5050
#
5151

52-
######################################################################
53-
#
54-
# .. include:: ../../../../gallery/how_to/work_with_microtvm/install_cmsis.rst
55-
#
5652

5753
######################################################################
5854
# Import Python dependencies

gallery/how_to/work_with_microtvm/micro_tflite.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,14 @@
4141
# By default, this tutorial runs on x86 CPU using TVM's C runtime. If you would like
4242
# to run on real Zephyr hardware, you must export the `TVM_MICRO_USE_HW` environment
4343
# variable. Otherwise (if you are using the C runtime), you can skip installing
44-
# Zephyr and CMSIS-NN. It takes ~20 minutes to install both of them.
44+
# Zephyr. It takes ~20 minutes to install Zephyr.
4545
use_physical_hw = bool(os.getenv("TVM_MICRO_USE_HW"))
4646

4747
######################################################################
4848
#
4949
# .. include:: ../../../../gallery/how_to/work_with_microtvm/install_zephyr.rst
5050
#
5151

52-
######################################################################
53-
#
54-
# .. include:: ../../../../gallery/how_to/work_with_microtvm/install_cmsis.rst
55-
#
56-
5752
######################################################################
5853
# Import Python dependencies
5954
# -------------------------------

0 commit comments

Comments
 (0)