summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2022-05-23 10:49:34 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2022-06-07 08:31:26 +0200
commit8beb1d2fb005ce4b4473eddd582561abf3154b17 (patch)
tree4d9bd7ee8d6c960c41c9cace05a898efcbcc67c1 /spec/build/bsps/arm
parentarm: Fix typo (diff)
downloadrtems-8beb1d2fb005ce4b4473eddd582561abf3154b17.tar.bz2
bsps/atsam: Fix type of options
ATSAM_CONSOLE_DEVICE_INDEX and ATSAM_CONSOLE_DEVICE_TYPE have to be integers like suggested by their description. Otherwise it's not possible to select (for example) USART2 as console device.
Diffstat (limited to 'spec/build/bsps/arm')
-rw-r--r--spec/build/bsps/arm/atsam/optconidx.yml4
-rw-r--r--spec/build/bsps/arm/atsam/optcontype.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/build/bsps/arm/atsam/optconidx.yml b/spec/build/bsps/arm/atsam/optconidx.yml
index 42fb3b142a..1c0723c594 100644
--- a/spec/build/bsps/arm/atsam/optconidx.yml
+++ b/spec/build/bsps/arm/atsam/optconidx.yml
@@ -1,11 +1,11 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
-- get-boolean: null
+- get-integer: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: true
+default: 1
default-by-variant: []
description: |
device index for /dev/console (default 1, e.g. USART1)
diff --git a/spec/build/bsps/arm/atsam/optcontype.yml b/spec/build/bsps/arm/atsam/optcontype.yml
index eddbee1063..fd0daa8999 100644
--- a/spec/build/bsps/arm/atsam/optcontype.yml
+++ b/spec/build/bsps/arm/atsam/optcontype.yml
@@ -1,11 +1,11 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
-- get-boolean: null
+- get-integer: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: false
+default: 0
default-by-variant: []
description: |
device type for /dev/console, use 0 for USART and 1 for UART (default USART)