Skip to content

Commit

Permalink
samples/tests: Use board revisions
Browse files Browse the repository at this point in the history
Updates boards so that the correct revision/revisions is/are tested

Signed-off-by: Jamie McCrae <[email protected]>
  • Loading branch information
nordicjm committed Feb 28, 2024
1 parent 307f688 commit 2ff73cc
Show file tree
Hide file tree
Showing 54 changed files with 84 additions and 81 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tests:
# Platform allowed is used as twister using sysbuild still lacks proper
# filtering support, see discussion in #49552.
platform_allow:
- reel_board
- reel_board@1
- nrf52840dk/nrf52840
integration_platforms:
- nrf52840dk/nrf52840
Expand Down
10 changes: 5 additions & 5 deletions samples/basic/minimal/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tests:
extra_args: CONF_FILE='common.conf;mt.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- reel_board@1
- frdm_k64f
- mps2/an385
- nrf51dk/nrf51822
Expand All @@ -25,7 +25,7 @@ tests:
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- reel_board@1
- frdm_k64f
- mps2/an385
- nrf51dk/nrf51822
Expand All @@ -35,7 +35,7 @@ tests:
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- reel_board@1
- frdm_k64f
- mps2/an385
- nrf51dk/nrf51822
Expand All @@ -45,7 +45,7 @@ tests:
extra_args: CONF_FILE='common.conf;no-mt.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- reel_board@1
- frdm_k64f
- mps2/an385
- nrf51dk/nrf51822
Expand All @@ -55,7 +55,7 @@ tests:
extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;arm.conf'
build_only: true
platform_allow:
- reel_board
- reel_board@1
- frdm_k64f
- mps2/an385
- nrf51dk/nrf51822
Expand Down
2 changes: 1 addition & 1 deletion samples/boards/nrf/nrfx/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tests:
sample.boards.nrf.nrfx:
platform_allow:
- nrf52840dk/nrf52840
- nrf9160dk/nrf9160
- nrf9160dk@0.14.0/nrf9160
integration_platforms:
- nrf52840dk/nrf52840
tags: board
Expand Down
4 changes: 2 additions & 2 deletions samples/boards/nrf/nrfx_prs/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ tests:
sample.boards.nrf.nrfx_prs:
platform_allow:
- nrf5340dk/nrf5340/cpuapp
- nrf9160dk/nrf9160
- nrf9160dk@0.14.0/nrf9160
integration_platforms:
- nrf5340dk/nrf5340/cpuapp
- nrf9160dk/nrf9160
- nrf9160dk@0.14.0/nrf9160
tags: nrfx
harness: console
harness_config:
Expand Down
4 changes: 2 additions & 2 deletions samples/boards/reel_board/mesh_badge/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ sample:
description: reel board mesh badge sample
name: mesh badge
tests:
sample.board.reel_board.mesh_badge:
platform_allow: reel_board
sample.board.reel_board@1.mesh_badge:
platform_allow: reel_board@1
tags:
- samples
- sensor
Expand Down
2 changes: 1 addition & 1 deletion samples/boards/stm32/uart/single_wire/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sample:
name: STM32 Single Wire UART sample
tests:
sample.boards.stm32.uart.single_wire:
platform_allow: stm32f3_disco
platform_allow: stm32f3_disco@B
tags:
- drivers
- uart
Expand Down
2 changes: 1 addition & 1 deletion samples/drivers/counter/alarm/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tests:
- nrf51dk/nrf51822
- nrf52dk/nrf52832
- nrf52840dk/nrf52840
- nrf9160dk/nrf9160
- nrf9160dk@0.14.0/nrf9160
- samd20_xpro
- bl5340_dvk/nrf5340/cpuapp
- gd32e103v_eval
Expand Down
2 changes: 1 addition & 1 deletion samples/drivers/dac/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tests:
- sam_e70_xplained/same70q21b
- sam_v71_xult/samv71q21
- sam_v71_xult/samv71q21b
- stm32f3_disco
- stm32f3_disco@B
- stm32l562e_dk
- twr_ke18f
- lpcxpresso55s36
Expand Down
4 changes: 2 additions & 2 deletions samples/drivers/display/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ tests:
- arduino_i2c
- arduino_spi
platform_exclude:
- reel_board
- reel_board_v2
- reel_board@1
- reel_board@2
- ubx_evkannab1/nrf52832
- stm32f769i_disco
- pan1781_evb
Expand Down
2 changes: 1 addition & 1 deletion samples/drivers/led_pwm/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tests:
filter: dt_compat_enabled("pwm-leds")
tags: LED
depends_on: pwm
platform_exclude: reel_board
platform_exclude: reel_board@1
timeout: 20
harness: console
harness_config:
Expand Down
4 changes: 2 additions & 2 deletions samples/drivers/soc_flash_nrf/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ tests:
sample.drivers.flash.soc_flash_nrf:
platform_allow:
- nrf52dk/nrf52832
- nrf9160dk/nrf9160
- nrf9160dk/nrf9160/ns
- nrf9160dk@0.14.0/nrf9160
- nrf9160dk@0.14.0/nrf9160/ns
integration_platforms:
- nrf52dk/nrf52832
tags:
Expand Down
4 changes: 2 additions & 2 deletions samples/drivers/watchdog/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tests:
- nucleo_l152re
- nucleo_wb55rg
- nucleo_wl55jc
- stm32f3_disco
- stm32f3_disco@B
- stm32l562e_dk
- disco_l475_iot1
- stm32h573i_dk
Expand All @@ -65,7 +65,7 @@ tests:
- nucleo_l152re
- nucleo_wb55rg
- nucleo_wl55jc
- stm32f3_disco
- stm32f3_disco@B
- stm32l562e_dk
- disco_l475_iot1
- stm32h573i_dk
Expand Down
2 changes: 1 addition & 1 deletion samples/net/wifi/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tests:
platform_allow:
- cc3220sf_launchxl
- disco_l475_iot1
- reel_board
- reel_board@1
integration_platforms:
- cc3220sf_launchxl
sample.net.wifi.mikroe_wifi_bt_click:
Expand Down
2 changes: 1 addition & 1 deletion samples/net/zperf/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ tests:
depends_on: usb_device
sample.net.zperf.shield:
harness: net
platform_allow: reel_board
platform_allow: reel_board@1
extra_args: SHIELD=link_board_eth
tags:
- shield
Expand Down
4 changes: 2 additions & 2 deletions samples/sensor/accel_polling/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ tests:
- frdm_k64f # fxos8700
- sparkfun_thing_plus/nrf9160 # lis2dh
- thingy52/nrf52832 # lis2dh12
- stm32f411e_disco # lsm303agr_accel
- stm32f3_disco # lsm303dlhc_accel
- stm32f411e_disco@D # lsm303agr_accel
- stm32f3_disco@B # lsm303dlhc_accel
- bl5340_dvk/nrf5340/cpuapp # lis3dh
- b_l4s5i_iot01a # lsm6dsl
- sensortile_box # lis2dw12, lsm6dso, iisdhhc
Expand Down
8 changes: 4 additions & 4 deletions samples/sensor/apds9960/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ sample:
tests:
sample.sensor.apds9960:
harness: console
platform_allow: reel_board
platform_allow: reel_board@1
integration_platforms:
- reel_board
- reel_board@1
tags: sensors
depends_on:
- i2c
Expand All @@ -19,9 +19,9 @@ tests:
fixture: fixture_i2c_apds9960
sample.sensor.apds9960.trigger:
harness: console
platform_allow: reel_board
platform_allow: reel_board@1
integration_platforms:
- reel_board
- reel_board@1
tags: sensors
depends_on:
- i2c
Expand Down
2 changes: 1 addition & 1 deletion samples/sensor/die_temp_polling/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tests:
- sensors
filter: dt_alias_exists("die-temp0")
integration_platforms:
- stm32f3_disco
- stm32f3_disco@B
harness: console
harness_config:
type: one_line
Expand Down
4 changes: 2 additions & 2 deletions samples/sensor/fdc2x1x/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ tests:
sample.sensor.fdc2x1x:
harness: sensor
tags: sensors
platform_allow: nrf9160dk/nrf9160
platform_allow: nrf9160dk@0.14.0/nrf9160
integration_platforms:
- nrf9160dk/nrf9160
- nrf9160dk@0.14.0/nrf9160
2 changes: 1 addition & 1 deletion samples/sensor/fxos8700/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tests:
- frdm_kl25z
- bbc_microbit
- lpcxpresso55s69_cpu0
- reel_board
- reel_board@1
- mimxrt685_evk
- mimxrt595_evk/mimxrt595s/cm33
integration_platforms:
Expand Down
4 changes: 2 additions & 2 deletions samples/sensor/magn_polling/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ tests:
- frdm_k64f # fxos8700
- thingy53/nrf5340/cpuapp # bmm150
- sensortile_box # lis2mdl
- stm32f411e_disco # lsm303agr_magn
- stm32f3_disco # lsm303dlhc_magn
- stm32f411e_disco@D # lsm303agr_magn
- stm32f3_disco@B # lsm303dlhc_magn
4 changes: 2 additions & 2 deletions samples/sensor/ti_hdc/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ tests:
sample.sensor.ti_hdc:
harness: sensor
platform_allow:
- reel_board
- reel_board@1
- nucleo_l496zg
integration_platforms:
- reel_board
- reel_board@1
tags: sensors
depends_on: i2c
2 changes: 1 addition & 1 deletion samples/subsys/debug/debugmon/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ sample:
tests:
sample.debug.debugmon:
build_only: true
platform_allow: reel_board
platform_allow: reel_board@1
tags: debug
2 changes: 1 addition & 1 deletion samples/subsys/display/cfb/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ tests:
extra_args: SHIELD=ssd1306_128x64
tags: shield
sample.display.cfb.ssd16xx:
platform_allow: reel_board
platform_allow: reel_board@1
2 changes: 1 addition & 1 deletion samples/subsys/display/cfb_custom_font/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ sample:
name: cfb custom font sample
tests:
sample.display.cfb_custom_font.ssd16xx:
platform_allow: reel_board
platform_allow: reel_board@1
2 changes: 1 addition & 1 deletion samples/subsys/display/cfb_shell/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ tests:
extra_args: SHIELD=ssd1306_128x32
tags: shield
sample.display.cfb_shell.ssd16xx:
platform_allow: reel_board
platform_allow: reel_board@1
3 changes: 2 additions & 1 deletion samples/subsys/mgmt/osdp/control_panel/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ common:
dt_chosen_enabled("zephyr,osdp-uart") and CONFIG_SERIAL
harness: osdp
integration_platforms:
- stm32_min_dev
- stm32_min_dev@black
- stm32_min_dev@blue
tests:
sample.mgmt.osdp.control_panel:
extra_args: CONF_FILE=prj.conf
Expand Down
3 changes: 2 additions & 1 deletion samples/subsys/mgmt/osdp/peripheral_device/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ common:
dt_chosen_enabled("zephyr,osdp-uart") and CONFIG_SERIAL
harness: osdp
integration_platforms:
- stm32_min_dev
- stm32_min_dev@black
- stm32_min_dev@blue
tests:
sample.mgmt.osdp.peripheral_device:
extra_args: CONF_FILE=prj.conf
Expand Down
4 changes: 2 additions & 2 deletions samples/subsys/shell/fs/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ common:
tests:
sample.filesystem.shell:
platform_allow:
- reel_board
- reel_board@1
- mimxrt1060_evk
- mr_canhubk3
- native_sim
integration_platforms:
- reel_board
- reel_board@1
sample.filesystem.shell.fuse:
platform_allow:
- native_sim
Expand Down
2 changes: 1 addition & 1 deletion samples/tfm_integration/psa_crypto/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tests:
- csr
- mcuboot
platform_allow: mps2/an521/cpu0/ns v2m_musca_s1/musca_s1/ns
nrf5340dk/nrf5340/cpuapp/ns nrf9160dk/nrf9160/ns
nrf5340dk/nrf5340/cpuapp/ns nrf9160dk@0.14.0/nrf9160/ns
stm32l562e_dk/stm32l562xx/ns bl5340_dvk/nrf5340/cpuapp/ns
harness: console
harness_config:
Expand Down
2 changes: 1 addition & 1 deletion samples/tfm_integration/psa_protected_storage/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ common:
- mps2/an521/cpu0/ns
- v2m_musca_s1/musca_s1/ns
- nrf5340dk/nrf5340/cpuapp/ns
- nrf9160dk/nrf9160/ns
- nrf9160dk@0.14.0/nrf9160/ns
- bl5340_dvk/nrf5340/cpuapp/ns
integration_platforms:
- mps2/an521/cpu0/ns
Expand Down
2 changes: 1 addition & 1 deletion samples/tfm_integration/tfm_ipc/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tests:
platform_allow:
- mps2/an521/cpu0/ns
- nrf5340dk/nrf5340/cpuapp/ns
- nrf9160dk/nrf9160/ns
- nrf9160dk@0.14.0/nrf9160/ns
- nucleo_l552ze_q/stm32l552xx/ns
- stm32l562e_dk/stm32l562xx/ns
- v2m_musca_s1/musca_s1/ns
Expand Down
4 changes: 2 additions & 2 deletions samples/tfm_integration/tfm_psa_test/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ common:
platform_allow:
- mps2/an521/cpu0/ns
- nrf5340dk/nrf5340/cpuapp/ns
- nrf9160dk/nrf9160/ns
- nrf9161dk/nrf9161/ns
- nrf9160dk@0.14.0/nrf9160/ns
- nrf9161dk@0.9.0/nrf9161/ns
- v2m_musca_s1/musca_s1/ns
modules:
- psa-arch-tests
Expand Down
4 changes: 2 additions & 2 deletions samples/tfm_integration/tfm_regression_test/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ common:
- psa-arch-tests
platform_allow:
- nrf5340dk/nrf5340/cpuapp/ns
- nrf9160dk/nrf9160/ns
- nrf9161dk/nrf9161/ns
- nrf9160dk@0.14.0/nrf9160/ns
- nrf9161dk@0.9.0/nrf9161/ns
- v2m_musca_s1/musca_s1/ns
integration_platforms:
- nrf5340dk/nrf5340/cpuapp/ns
Expand Down
2 changes: 1 addition & 1 deletion samples/tfm_integration/tfm_secure_partition/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ common:
- mps2/an521/cpu0/ns
- v2m_musca_s1/musca_s1/ns
- nrf5340dk/nrf5340/cpuapp/ns
- nrf9160dk/nrf9160/ns
- nrf9160dk@0.14.0/nrf9160/ns
integration_platforms:
- mps2/an521/cpu0/ns
harness: console
Expand Down
2 changes: 1 addition & 1 deletion tests/arch/arm/arm_no_multithreading/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tests:
- mps2/an521/cpu0
- mps3/an547
- nrf52840dk/nrf52840
- nrf9160dk/nrf9160
- nrf9160dk@0.14.0/nrf9160
- nrf51dk/nrf51822
integration_platforms:
- qemu_cortex_m0
2 changes: 1 addition & 1 deletion tests/boot/with_mcumgr/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ common:
platform_allow:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf9160dk/nrf9160
- nrf9160dk@0.14.0/nrf9160
integration_platforms:
- nrf52840dk/nrf52840
timeout: 600
Expand Down
Loading

0 comments on commit 2ff73cc

Please sign in to comment.