summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2022-08-18 12:54:34 +0100
committerNina Drozd <nina.drozd@arm.com>2022-08-25 14:32:02 +0000
commitc9f1717d227e21ebfab72cceee90b1f8f8522867 (patch)
tree991e1cb1b921f4cbe6cc88edc1797eb0eafba4cc /source
parent271c69e8e364361f3e4c839a10a4f29ef4c9c866 (diff)
downloadml-embedded-evaluation-kit-c9f1717d227e21ebfab72cceee90b1f8f8522867.tar.gz
MLECO-3252: Minor documentation additions
Documentation md files added under source tree with links to the main docs. Minor updates to FAQs for MLECO-3251 as well. Change-Id: Ifdcc587f2fcf77228fd46e211d3f9c3963bc9b97 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'source')
-rw-r--r--source/application/api/common/readme.md15
-rw-r--r--source/application/api/use_case/readme.md11
-rw-r--r--source/hal/readme.md7
-rw-r--r--source/hal/source/components/readme.md5
-rw-r--r--source/hal/source/platform/mps3/readme.md3
-rw-r--r--source/hal/source/platform/native/readme.md3
-rw-r--r--source/hal/source/platform/simple/readme.md3
-rw-r--r--source/log/readme.md4
-rw-r--r--source/math/readme.md6
-rw-r--r--source/profiler/readme.md7
-rw-r--r--source/readme.md4
-rw-r--r--source/use_case/readme.md5
12 files changed, 73 insertions, 0 deletions
diff --git a/source/application/api/common/readme.md b/source/application/api/common/readme.md
new file mode 100644
index 0000000..fbb1d76
--- /dev/null
+++ b/source/application/api/common/readme.md
@@ -0,0 +1,15 @@
+## API: Common
+
+This module contains utilities that can be re-used by all ML use case API. These include (but not limited to):
+
+* MFCC modules (used by most audio use cases)
+* Image utilities
+* Audio utilities (like sliding window API)
+* Interface class for pre-processing and post-processing
+* Model API that is extended by other use cases
+* General TensorFlow Lite Micro helper functions
+
+## Useful links
+
+* [Repository Structure](../../../../docs/documentation.md#repository-structure)
+* [Reusable Software](../../../../Readme.md#reusable-software).
diff --git a/source/application/api/use_case/readme.md b/source/application/api/use_case/readme.md
new file mode 100644
index 0000000..f7eb0d1
--- /dev/null
+++ b/source/application/api/use_case/readme.md
@@ -0,0 +1,11 @@
+## Use case APIs
+
+The directories in here are individual CMake projects to generate use case API static libraries. These libraries are
+intended to be used by external projects that only want access to the ready-to-use ML use case pipelines implemented in this repository.
+This can be as CMake projects, but also in the form of CMSIS-packs. These libraries do not depend on the HAL layer and
+are platform-agnostic to allow for easy portability.
+
+## Useful links
+
+* [Repository Structure](../../../../docs/documentation.md#repository-structure)
+* [Reusable Software](../../../../Readme.md#reusable-software).
diff --git a/source/hal/readme.md b/source/hal/readme.md
new file mode 100644
index 0000000..1757d5b
--- /dev/null
+++ b/source/hal/readme.md
@@ -0,0 +1,7 @@
+## HAL project
+
+This directory is the root of `Hardware Abstraction Layer` (HAL) library for this repo. The intention is for this layer
+to service higher layers to seamlessly use platform specific functionality via a single abstraction layer. HAL provides
+drivers for each target platform that the repository supports.
+
+See [Repository Structure](../../docs/documentation.md#repository-structure) for more details.
diff --git a/source/hal/source/components/readme.md b/source/hal/source/components/readme.md
new file mode 100644
index 0000000..0451f39
--- /dev/null
+++ b/source/hal/source/components/readme.md
@@ -0,0 +1,5 @@
+## HAL components
+
+This directory contains API and implementations for different modules that can be reused for different platforms.
+
+See [Repository Structure](../../../../docs/documentation.md#repository-structure) for more details.
diff --git a/source/hal/source/platform/mps3/readme.md b/source/hal/source/platform/mps3/readme.md
new file mode 100644
index 0000000..3ca937a
--- /dev/null
+++ b/source/hal/source/platform/mps3/readme.md
@@ -0,0 +1,3 @@
+## MPS3 platform drivers
+
+Project to provide HAL platform drivers for the Arm MPS3 FPGA/FVP targets.
diff --git a/source/hal/source/platform/native/readme.md b/source/hal/source/platform/native/readme.md
new file mode 100644
index 0000000..8c582b7
--- /dev/null
+++ b/source/hal/source/platform/native/readme.md
@@ -0,0 +1,3 @@
+## Native platform drivers
+
+Project to provide HAL platform drivers for native (host machine) target.
diff --git a/source/hal/source/platform/simple/readme.md b/source/hal/source/platform/simple/readme.md
new file mode 100644
index 0000000..8281439
--- /dev/null
+++ b/source/hal/source/platform/simple/readme.md
@@ -0,0 +1,3 @@
+## Simple platform drivers
+
+Project to provide HAL platform drivers for simple (minimal peripherals) target.
diff --git a/source/log/readme.md b/source/log/readme.md
new file mode 100644
index 0000000..9b2c137
--- /dev/null
+++ b/source/log/readme.md
@@ -0,0 +1,4 @@
+## Log
+
+This is a CMake interface library that exposes helper macros related to logging. This component is used by almost all
+the others in this repository directly or transitively.
diff --git a/source/math/readme.md b/source/math/readme.md
new file mode 100644
index 0000000..bee889d
--- /dev/null
+++ b/source/math/readme.md
@@ -0,0 +1,6 @@
+## Math
+
+This is a CMake static library that allows application level code and ML use case APIs to use basic mathematical
+functions on scalars and vectors. This library calls the standard C/C++ math functions when being compiled for
+native targets but uses Arm CMSIS-DSP functions if compiled for Arm CPU targets where DSP is available. This is done
+to have an abstraction around the mathematical functions that are extensively used mostly in the pre-processing of data.
diff --git a/source/profiler/readme.md b/source/profiler/readme.md
new file mode 100644
index 0000000..92b7c2f
--- /dev/null
+++ b/source/profiler/readme.md
@@ -0,0 +1,7 @@
+## Profiler
+
+This is a CMake static library that exposes a C++ API for a very simple logging based profiler implementation. It
+depends on the hardware abstraction layer's platform drivers to get performance measurement counters (PMU) from the
+platform. It makes no assumptions about the type of data these counters might contain and therefore each individual
+platform is free to implement their own flavour. It works on the principle that each counter capsule will have one, or
+several, 64-bit counters which are used to maintain rolling statistics.
diff --git a/source/readme.md b/source/readme.md
new file mode 100644
index 0000000..4a1e901
--- /dev/null
+++ b/source/readme.md
@@ -0,0 +1,4 @@
+## Source directory
+
+This directory is the root of all sources that are used for building ML applications. Note that test sources sit under
+a different directory. See [Repository Structure](../docs/documentation.md#repository-structure) for more details.
diff --git a/source/use_case/readme.md b/source/use_case/readme.md
new file mode 100644
index 0000000..24b0c4e
--- /dev/null
+++ b/source/use_case/readme.md
@@ -0,0 +1,5 @@
+## ML Use case examples
+
+This directory contains several ML example use case implementations. Sources here sit at the highest level in the
+hierarchy. See [Building](../../docs/documentation.md#building) and
+[Repository Structure](../../docs/documentation.md#repository-structure) for more details.