In all scripts, where we were using the BOARD variable let's use BOARD_TS which is the full BOARD target string with "/" replaced with "_" This is neccessary to support hwmv2 board names Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
30 lines
814 B
Bash
Executable File
30 lines
814 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright 2023 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
|
|
|
|
test_exe="bs_${BOARD_TS}_tests_bsim_bluetooth_host_id_settings_prj_conf"
|
|
simulation_id="id_settings"
|
|
verbosity_level=2
|
|
|
|
cd ${BSIM_OUT_PATH}/bin
|
|
|
|
Execute "./${test_exe}" \
|
|
-v=${verbosity_level} -s="${simulation_id}_1" -d=0 -testid=dut1 \
|
|
-flash="${simulation_id}.log.bin"
|
|
|
|
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s="${simulation_id}_1" \
|
|
-D=1 -sim_length=60e6
|
|
|
|
wait_for_background_jobs
|
|
|
|
Execute "./${test_exe}" \
|
|
-v=${verbosity_level} -s="${simulation_id}_2" -d=0 -testid=dut2 \
|
|
-flash="${simulation_id}.log.bin" -flash_rm
|
|
|
|
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s="${simulation_id}_2" \
|
|
-D=1 -sim_length=60e6
|
|
|
|
wait_for_background_jobs
|