summaryrefslogtreecommitdiff
path: root/spec/spec/build-option.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 08:54:25 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 10:38:24 +0200
commit614b988d8afdc445812fdb05810ef5d4e2594044 (patch)
treed0eae1e246630bc912ebb3ec516ea3bb927e2518 /spec/spec/build-option.yml
parentf4eac199703b54a594f836544e994640b8b91464 (diff)
spec: Add examples
Diffstat (limited to 'spec/spec/build-option.yml')
-rw-r--r--spec/spec/build-option.yml25
1 files changed, 24 insertions, 1 deletions
diff --git a/spec/spec/build-option.yml b/spec/spec/build-option.yml
index 6d92a739..b05275aa 100644
--- a/spec/spec/build-option.yml
+++ b/spec/spec/build-option.yml
@@ -10,7 +10,30 @@ links:
spec-value: option
uid: build
spec-description: null
-spec-example: null
+spec-example: |
+ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+ actions:
+ - get-integer: null
+ - define: null
+ build-type: option
+ copyrights:
+ - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+ default: 115200
+ default-by-variant:
+ - value: 9600
+ variants:
+ - m68k/m5484FireEngine
+ - powerpc/hsc_cm01
+ - value: 19200
+ variants:
+ - m68k/COBRA5475
+ description: |
+ Default baud for console and other serial devices.
+ enabled-by: true
+ format: '{}'
+ links: []
+ name: BSP_CONSOLE_BAUD
+ type: build
spec-info:
dict:
attributes: