From 8beb1d2fb005ce4b4473eddd582561abf3154b17 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Mon, 23 May 2022 10:49:34 +0200 Subject: 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. --- spec/build/bsps/arm/atsam/optconidx.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/build/bsps/arm/atsam/optconidx.yml') 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) -- cgit v1.2.3