zephyr: add zephyr's sanitycheck description

Added sample.yaml which is required for automatic building
mcuboot using zephyr sanitycheck.

Can be run by zephyr sanitycheck locally using
--testcase-root=/path/to/mcuboot/boot/zephyr
to make it detect the sample.yaml added.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Andrzej Puzdrowski 2019-12-12 11:04:43 +01:00 committed by Carles Cufí
parent 7ca2855b46
commit 6210164f71
2 changed files with 18 additions and 0 deletions

15
boot/zephyr/sample.yaml Normal file
View File

@ -0,0 +1,15 @@
sample:
description: mcuboot test build sample
name: mcuboot
tests:
sample.bootloader.mcuboot:
tags: bootloader_mcuboot
platform_whitelist: nrf52840_pca10056 frdm_k64f
sample.bootloader.mcuboot.serial_recovery:
extra_args: OVERLAY_CONFIG=serial_recovery.conf
platform_whitelist: nrf52840_pca10056
tags: bootloader_mcuboot
sample.bootloader.mcuboot.usb_cdc_acm_recovery:
tags: bootloader_mcuboot
platform_whitelist: nrf52840_pca10059

View File

@ -0,0 +1,3 @@
CONFIG_MCUBOOT_SERIAL=y
CONFIG_BOOT_SERIAL_UART=y
CONFIG_UART_CONSOLE=n