summaryrefslogtreecommitdiff
path: root/scripts/cmake/platforms
diff options
context:
space:
mode:
authorMaksims Svecovs <maksims.svecovs@arm.com>2022-09-28 14:43:07 +0100
committerMaksims Svecovs <maksims.svecovs@arm.com>2022-09-28 16:40:23 +0100
commit45488504483793195947a200f59527432ad5b31a (patch)
tree682f55af4bf77c1f340daa8d390c9bb78fcbb82e /scripts/cmake/platforms
parent9d329f41b325e4c711c796e5b9bd9b3d8c08324d (diff)
downloadml-embedded-evaluation-kit-45488504483793195947a200f59527432ad5b31a.tar.gz
MLECO-3518: Separates CMakePrests
Separates CMakePresets to respective. Adds options preset file with log-level and single-input for use-cases. Adds use-case file with base build preset with all the targets. Adds a configurable targets to all build presets. Adds additional config/build preset to show-off options-presets. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: Id82ce9c5b8d7cc48b80d784141dc22efa2690222
Diffstat (limited to 'scripts/cmake/platforms')
-rw-r--r--scripts/cmake/platforms/platforms-preset.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/scripts/cmake/platforms/platforms-preset.json b/scripts/cmake/platforms/platforms-preset.json
new file mode 100644
index 0000000..7a96d7a
--- /dev/null
+++ b/scripts/cmake/platforms/platforms-preset.json
@@ -0,0 +1,62 @@
+{
+ "version": 4,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 23,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "mps3-300-platform",
+ "description": "Target mps3 board, SSE-300 subsystem.",
+ "hidden": true,
+ "cacheVariables": {
+ "TARGET_PLATFORM": {
+ "type": "STRING",
+ "value": "mps3"
+ },
+ "TARGET_SUBSYSTEM": {
+ "type": "STRING",
+ "value": "sse-300"
+ }
+ }
+ },
+ {
+ "name": "mps3-310-platform",
+ "description": "Target mps3 board, SSE-310 subsystem.",
+ "hidden": true,
+ "cacheVariables": {
+ "TARGET_PLATFORM": {
+ "type": "STRING",
+ "value": "mps3"
+ },
+ "TARGET_SUBSYSTEM": {
+ "type": "STRING",
+ "value": "sse-310"
+ }
+ }
+ },
+ {
+ "name": "simple-platform",
+ "description": "Target simple platform.",
+ "hidden": true,
+ "cacheVariables": {
+ "TARGET_PLATFORM": {
+ "type": "STRING",
+ "value": "simple_platform"
+ }
+ }
+ },
+ {
+ "name": "native-platform",
+ "description": "Target native platform.",
+ "hidden": true,
+ "cacheVariables": {
+ "TARGET_PLATFORM": {
+ "type": "STRING",
+ "value": "native"
+ }
+ }
+ }
+ ]
+} \ No newline at end of file