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.
This commit is contained in:
Christian Mauderer
2022-06-13 09:17:45 +02:00
parent 66dc06efce
commit b60d8327ac
2 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions: actions:
- get-integer: null - get-integer: null
- define-condition: null - define: null
build-type: option build-type: option
copyrights: copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
@@ -10,6 +10,7 @@ default-by-variant: []
description: | description: |
device index for /dev/console (default 1, e.g. USART1) device index for /dev/console (default 1, e.g. USART1)
enabled-by: true enabled-by: true
format: '{}'
links: [] links: []
name: ATSAM_CONSOLE_DEVICE_INDEX name: ATSAM_CONSOLE_DEVICE_INDEX
type: build type: build

View File

@@ -1,7 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions: actions:
- get-integer: null - get-integer: null
- define-condition: null - define: null
build-type: option build-type: option
copyrights: copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
@@ -10,6 +10,7 @@ default-by-variant: []
description: | description: |
device type for /dev/console, use 0 for USART and 1 for UART (default USART) device type for /dev/console, use 0 for USART and 1 for UART (default USART)
enabled-by: true enabled-by: true
format: '{}'
links: [] links: []
name: ATSAM_CONSOLE_DEVICE_TYPE name: ATSAM_CONSOLE_DEVICE_TYPE
type: build type: build