diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2021-05-07 16:08:14 +0100 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2021-05-07 17:28:51 +0100 |
commit | f9c19eaa9ab11e4409679fc6d2862c89410493a7 (patch) | |
tree | b791a4c03f1fe986a2ac32593a3dc817ae3f247a /docs/sections/customizing.md | |
parent | 2181d0ac35f30202985a877950c88325ff665f6b (diff) | |
download | ml-embedded-evaluation-kit-f9c19eaa9ab11e4409679fc6d2862c89410493a7.tar.gz |
MLECO-1860: Support for Arm GNU Embedded Toolchain
This patch enables compilation of ML use cases bare-metal applications
using Arm GNU Embedded Toolchain. The GNU toolchain can be used instead
of the Arm Compiler that was already supported.
The GNU toolchain is also set as the default toolchain when building
applications for the MPS3 target.
Note: The version of GNU toolchain must be 10.2.1 or higher.
Change-Id: I5fff242f0f52d2db6c75d292f9fa990df1aec978
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'docs/sections/customizing.md')
-rw-r--r-- | docs/sections/customizing.md | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/docs/sections/customizing.md b/docs/sections/customizing.md index b4b5bba..adf7749 100644 --- a/docs/sections/customizing.md +++ b/docs/sections/customizing.md @@ -2,20 +2,22 @@ ## Contents -- [Software project description](#software-project-description) -- [HAL API](#hal-api) -- [Main loop function](#main-loop-function) -- [Application context](#application-context) -- [Profiler](#profiler) -- [NN Model API](#nn-model-api) -- [Adding custom ML use case](#adding-custom-ml-use-case) -- [Implementing main loop](#implementing-main-loop) -- [Implementing custom NN model](#implementing-custom-nn-model) -- [Executing inference](#executing-inference) -- [Printing to console](#printing-to-console) -- [Reading user input from console](#reading-user-input-from-console) -- [Output to MPS3 LCD](#output-to-mps3-lcd) -- [Building custom use case](#building-custom-use-case) +- [Implementing custom ML application](#implementing-custom-ml-application) + - [Contents](#contents) + - [Software project description](#software-project-description) + - [HAL API](#hal-api) + - [Main loop function](#main-loop-function) + - [Application context](#application-context) + - [Profiler](#profiler) + - [NN Model API](#nn-model-api) + - [Adding custom ML use case](#adding-custom-ml-use-case) + - [Implementing main loop](#implementing-main-loop) + - [Implementing custom NN model](#implementing-custom-nn-model) + - [Executing inference](#executing-inference) + - [Printing to console](#printing-to-console) + - [Reading user input from console](#reading-user-input-from-console) + - [Output to MPS3 LCD](#output-to-mps3-lcd) + - [Building custom use case](#building-custom-use-case) This section describes how to implement a custom Machine Learning application running on `Arm® Corstone™-300` based FVP or on the Arm® MPS3 FPGA prototyping board. @@ -731,11 +733,11 @@ To build you application follow the general instructions from build command: ```commandline -cmake \ +cmake .. \ -DTARGET_PLATFORM=mps3 \ -DTARGET_SUBSYSTEM=sse-300 \ -DUSE_CASE_BUILD=hello_world \ - -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/bare-metal-toolchain.cmake .. + -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/toolchains/bare-metal-armclang.cmake ``` As a result, `ethos-u-hello_world.axf` should be created, MPS3 build |