summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2022-06-13 09:17:45 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2022-06-14 08:14:39 +0200
commitb60d8327ac28a880c04505b1029f28a733fc2ccf (patch)
tree0f3a60d2c15038d65eb53d849be7b48366237ba1 /spec/build/bsps
parentbsp/aarch64: Fix array warning (diff)
downloadrtems-b60d8327ac28a880c04505b1029f28a733fc2ccf.tar.bz2
bsps/atsam: Fix type of options (part 2)
The patch "bsps/atsam: Fix type of options" missed to adapt some parts of the yml. With that a custom value works well. But if no value is set, configure doesn't fall back to the default value but instead just causes an error. This patch fixes that.
Diffstat (limited to 'spec/build/bsps')
-rw-r--r--spec/build/bsps/arm/atsam/optconidx.yml3
-rw-r--r--spec/build/bsps/arm/atsam/optcontype.yml3
2 files changed, 4 insertions, 2 deletions
diff --git a/spec/build/bsps/arm/atsam/optconidx.yml b/spec/build/bsps/arm/atsam/optconidx.yml
index 1c0723c594..d58d75e4aa 100644
--- a/spec/build/bsps/arm/atsam/optconidx.yml
+++ b/spec/build/bsps/arm/atsam/optconidx.yml
@@ -1,7 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
-- define-condition: null
+- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
@@ -10,6 +10,7 @@ default-by-variant: []
description: |
device index for /dev/console (default 1, e.g. USART1)
enabled-by: true
+format: '{}'
links: []
name: ATSAM_CONSOLE_DEVICE_INDEX
type: build
diff --git a/spec/build/bsps/arm/atsam/optcontype.yml b/spec/build/bsps/arm/atsam/optcontype.yml
index fd0daa8999..6846fed5f2 100644
--- a/spec/build/bsps/arm/atsam/optcontype.yml
+++ b/spec/build/bsps/arm/atsam/optcontype.yml
@@ -1,7 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
-- define-condition: null
+- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
@@ -10,6 +10,7 @@ default-by-variant: []
description: |
device type for /dev/console, use 0 for USART and 1 for UART (default USART)
enabled-by: true
+format: '{}'
links: []
name: ATSAM_CONSOLE_DEVICE_TYPE
type: build