diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-05-20 14:30:02 +0100 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-05-23 16:11:45 +0100 |
commit | 9c6f9f8afcb003fd72944918d6b6e200d68c0918 (patch) | |
tree | b1237909970ac74232f4ed81a26edc0847204269 /docs | |
parent | 6f6df0934f991b64fef494b86643b3f5074fca0e (diff) | |
download | ml-embedded-evaluation-kit-9c6f9f8afcb003fd72944918d6b6e200d68c0918.tar.gz |
MLECO-3225: Using official support for Arm Cortex-M85 CPU.
* CMake version requirement bumped up to 3.21.0
* CMake 3.22.4 installed in the local Python virtualenv
* CPU flags updated in toolchain files.
* Using __ARM_FEATURE_DSP instead of potentially defining
ARM_MATH_DSP wrongly.
* CMake project version bumped up to 22.05.0
Changes also made for MLECO-3107 (pack generation):
* TensorFlow Lite Micro CMSIS-pack version updated to
1.22.02.
* Change to using __ARM_FEATURE_DSP will also help the
generated pack.
Partial changes for MLECO-3095:
* CMSIS updated to version post 5.9.0
* TensorFlow Lite Micro updated to latest available
* Ethos-U driver and core-platform repositories updated
to 20.05_rc2 tags.
Change-Id: I012c9e65897aed8ce589cff9bfe3a19efc3edeb9
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sections/building.md | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/docs/sections/building.md b/docs/sections/building.md index 8fe9f8a..c135afd 100644 --- a/docs/sections/building.md +++ b/docs/sections/building.md @@ -44,6 +44,8 @@ Before proceeding, it is *essential* to ensure that the following prerequisites Component: ARM Compiler 6.16 ``` +> **Note:** To compile for Arm® Cortex™-M85 CPU (default CPU for Arm® Corstone-310), 6.18 is the minimum version required. + Alternatively, use: ```commandline @@ -63,19 +65,24 @@ Before proceeding, it is *essential* to ensure that the following prerequisites - If you are using the proprietary Arm Compiler, ensure that the compiler license has been correctly configured. -- CMake version 3.16.3 or above is installed and available on the path. Test CMake by running: +- CMake version 3.21.0 or above is installed and available on the path. Test CMake by running: ```commandline cmake --version ``` ```log - cmake version 3.16.3 - ``` + cmake version 3.22.4 + ``` -> **Note:** How to add cmake to the path: +> **Note:** Required version of CMake is also installed in the Python3 virtual environment created by +> `setup_default_resources.py` script. See [Fetching resource files](./building.md#fetching-resource-files) section. > -> `export PATH=/path/to/cmake/bin:$PATH` +> To add CMake to the PATH on Ubuntu for example, use: `export PATH=/absolute/path/for/cmake/:${PATH}` +> Once `setup_default_resources.py` has been executed, activating the virtual environment will enable you +> to use that CMake. Alternatively, from the root of the repository, you could use: +> +> `export PATH=$(readlink -e resources_downloaded/env/bin):${PATH}` - Python 3.8 or above is installed. Check your current installed version of Python by running: @@ -319,6 +326,8 @@ Arm® *Ethos™-U65* NPU. > **Note:** This script requires Python version 3.8 or higher. Please make sure all [build prerequisites](./building.md#build-prerequisites) > are satisfied. +> +> **Note:** This script also installs required version of CMake into the virtual environment, which can be used by activating it. Additional command line arguments supported by this script are: |