summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/tms570/optvariant.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/build/bsps/arm/tms570/optvariant.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/tms570/optvariant.yml b/spec/build/bsps/arm/tms570/optvariant.yml
new file mode 100644
index 0000000000..d8432a3fa0
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optvariant.yml
@@ -0,0 +1,29 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-in-set:
+ - 3137
+ - 4357
+- define: null
+- env-assign: null
+- set-value: TMS570_VARIANT_${TMS570_VARIANT}
+- substitute: null
+- env-append: ENABLE
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/tms570lc4357_hdk
+ - arm/tms570lc4357_hdk_sdram
+ value: 4357
+- enabled-by: true
+ value: 3137
+description: |
+ Defines the TMS570 family variant. Use 3137 for the TMS570LS3137 and 4357
+ for the TMSLC4357.
+enabled-by: true
+format: '{}'
+links: []
+name: TMS570_VARIANT
+type: build