zephyr/samples/basic/minimal/sample.yaml
Nicolas Pitre deb20ef93b samples/basic/minimal: make it smaller
Add a config entry specifically for RISC-V runtime.
Memory usage is 7066 bytes.

Also adjust some library options. This make the ARC runtime binary
smaller as well:

before:

        FLASH:        8808 B
         SRAM:        3672 B

after:

        FLASH:        5596 B
         SRAM:        3672 B

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-08-11 19:47:47 +00:00

100 lines
2.8 KiB
YAML

sample:
description: minimal sample, the smallest possible Zephyr application
name: minimal
common:
tags: footprint
harness: console
harness_config:
type: one_line
regex:
- "Hello World from minimal!"
tests:
sample.minimal.mt.arm:
extra_args: CONF_FILE='common.conf;mt.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- frdm_k64f
- mps2_an385
- nrf51dk_nrf51422
- nucleo_f429zi
- disco_l475_iot1
integration_platforms:
- frdm_k64f
sample.minimal.mt-no-preempt.arm:
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- frdm_k64f
- mps2_an385
- nrf51dk_nrf51422
- nucleo_f429zi
- disco_l475_iot1
sample.minimal.mt-no-preempt-no-timers.arm:
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- frdm_k64f
- mps2_an385
- nrf51dk_nrf51422
- nucleo_f429zi
- disco_l475_iot1
sample.minimal.no-mt.arm:
extra_args: CONF_FILE='common.conf;no-mt.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- frdm_k64f
- mps2_an385
- nrf51dk_nrf51422
- nucleo_f429zi
- disco_l475_iot1
sample.minimal.no-mt-no-timers.arm:
extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- frdm_k64f
- mps2_an385
- nrf51dk_nrf51422
- nucleo_f429zi
- disco_l475_iot1
sample.minimal.mt.x86:
extra_args: CONF_FILE='common.conf;mt.conf;x86.conf'
build_only: true
platform_allow: qemu_x86
sample.minimal.mt-no-preempt.x86:
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;x86.conf'
build_only: true
platform_allow: qemu_x86
sample.minimal.mt-no-preempt-no-timers.x86:
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;x86.conf'
build_only: true
platform_allow: qemu_x86
sample.minimal.no-mt.x86:
extra_args: CONF_FILE='common.conf;no-mt.conf;x86.conf'
build_only: true
platform_allow: qemu_x86
sample.minimal.no-mt-no-timers.x86:
extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;x86.conf'
build_only: true
platform_allow: qemu_x86
sample.minimal.arc.runtime:
extra_args:
- CONF_FILE='common-runtime.conf;no-timers.conf'
arch_allow: arc
tags:
- kernel
integration_platforms:
- qemu_arc_em
sample.minimal.riscv.runtime:
extra_args:
- CONF_FILE='common-runtime.conf;no-timers.conf;no-mt.conf;riscv.conf'
platform_allow: qemu_riscv32
tags:
- kernel
integration_platforms:
- qemu_riscv32