samples: bluetooth: peripheral_hr: add VEGABoard sanity testing

Add a special target that's marked build_only so the BLE SW LL
implementation on VEGABoard is built daily. This helps ensuring
that it doesn't get inadvertedly broken by subsequent updates.
The name of the target is peripheral_hr_rv32m1_vega_ri5cy
and it can be run with the following command:

sanitycheck -v --all -p rv32m1_vega_ri5cy \
            -x=CMAKE_REQUIRED_FLAGS=-Wl,-dT=/dev/null \
            --test samples/bluetooth/peripheral_hr/\
              sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy

Note: The extra CMake flags are required if running with the official
      VEGABoard compiler, due to this linker issue:
      https://github.com/pulp-platform/pulpino/issues/240

Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com>
This commit is contained in:
Alex Porosanu 2019-10-11 09:36:29 +03:00 committed by Carles Cufí
parent d36b1b11f7
commit 74248e26d9
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ tests:
harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth
sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy:
platform_whitelist: rv32m1_vega_ri5cy
tags: bluetooth
build_only: true
sample.bluetooth.peripheral_hr.frdm_kw41z_shield:
harness: bluetooth
platform_whitelist: mimxrt1020_evk mimxrt1050_evk mimxrt1060_evk frdm_k64f