summaryrefslogtreecommitdiff
path: root/docs/sections/building.md
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2022-03-24 17:53:34 +0000
committerKshitij Sisodia <kshitij.sisodia@arm.com>2022-03-28 11:55:25 +0000
commit8bc863dd6a7d0937aa66df655a7fe0e235dd2d4f (patch)
tree4556b53e06e0dc731710c93d96ebb6c2118a980f /docs/sections/building.md
parentf98d0628d43b12feb7e05c97da2608d384cfd7ee (diff)
downloadml-embedded-evaluation-kit-8bc863dd6a7d0937aa66df655a7fe0e235dd2d4f.tar.gz
MLECO-2917 Replacing platform CMake definitions with headers
Moving away from CMake description of targets and generation of platform header files (for memory addresses and IRQ numbers). Instead these headers are part of the repository under their respective platform-driver packages under HAL sources. Change-Id: I9bd3e68eb17385f8b93eb3d8d76b212ce0e1a6d5 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'docs/sections/building.md')
-rw-r--r--docs/sections/building.md22
1 files changed, 1 insertions, 21 deletions
diff --git a/docs/sections/building.md b/docs/sections/building.md
index 301d945..699667b 100644
--- a/docs/sections/building.md
+++ b/docs/sections/building.md
@@ -911,16 +911,7 @@ For example, the generated utility functions for image classification are:
These headers are generated using Python templates, that are located in `scripts/py/templates/*.template`:
```tree
-scripts/
-├── cmake
-│ ├── ...
-│ ├── subsystem-profiles
-│ │ └── corstone-sse-300.cmake
-│ ├── templates
-│ │ ├── mem_regions.h.template
-│ │ ├── peripheral_irqs.h.template
-│ │ └── peripheral_memmap.h.template
-│ └── ...
+scripts
└── py
├── <generation scripts>
├── requirements.txt
@@ -1000,21 +991,10 @@ generate_tflite_code(
> )
> ```
-In addition to input file conversions, the correct platform, or system, profile is selected, in
-`scripts/cmake/subsystem-profiles/*.cmake`. It is based on `TARGET_SUBSYSTEM` build option and the variables set are
-used to generate memory region sizes, base addresses and IRQ numbers, respectively used to generate the `mem_region.h`,
-`peripheral_irqs.h`, and `peripheral_memmap.h` headers.
-
-Templates from `scripts/cmake/templates/*.template` are used to generate the header files.
-
After the build, the files generated in the build folder are:
```tree
build/generated/
-├── bsp
-│ ├── mem_regions.h
-│ ├── peripheral_irqs.h
-│ └── peripheral_memmap.h
├── <use_case_name1>
│ ├── include
│ │ ├── InputFiles.hpp