YAML document separators are needed e.g. when doing
$ cat doc1.yaml doc2.yaml | <parser>
For the bindings, we never parse concatenated documents. Assume we don't
for any other .yaml files either.
Having document separators in e.g. base.yaml makes !include a bit
confusing, since the !included files are merged and not separate
documents (the merging is done in Python code though, so it makes no
difference for behavior).
The replacement was done with
$ git ls-files '*.yaml' | \
xargs sed -i -e '${/\s*\.\.\.\s*/d;}' -e 's/^\s*---\s*$//'
First pattern removes ... at the end of files, second pattern clears a
line with a lone --- on it.
Some redundant blank lines at the end of files were cleared with
$ git ls-files '*.yaml' | xargs sed -i '${/^\s*$/d}'
This is more about making sure people can understand why every part of a
binding is there than about removing some text.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
45 lines
2.0 KiB
YAML
45 lines
2.0 KiB
YAML
sample:
|
|
description: minimal sample, the smallest possible Zephyr application
|
|
name: minimal
|
|
tests:
|
|
sample.minimal.mt.arm:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;mt.conf;arm.conf'
|
|
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
|
|
sample.minimal.mt-no-preempt.arm:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;arm.conf'
|
|
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
|
|
sample.minimal.mt-no-preempt-no-timers.arm:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;arm.conf'
|
|
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
|
|
sample.minimal.no-mt.arm:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;no-mt.conf;arm.conf'
|
|
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
|
|
sample.minimal.no-mt-no-timers.arm:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;arm.conf'
|
|
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
|
|
sample.minimal.mt.x86:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;mt.conf;x86.conf'
|
|
platform_whitelist: qemu_x86
|
|
sample.minimal.mt-no-preempt.x86:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;x86.conf'
|
|
platform_whitelist: qemu_x86
|
|
sample.minimal.mt-no-preempt-no-timers.x86:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;x86.conf'
|
|
platform_whitelist: qemu_x86
|
|
sample.minimal.no-mt.x86:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;no-mt.conf;x86.conf'
|
|
platform_whitelist: qemu_x86
|
|
sample.minimal.no-mt-no-timers.x86:
|
|
build_only: true
|
|
extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;x86.conf'
|
|
platform_whitelist: qemu_x86
|