forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user