tests/bsim: build scripts: Use hwmv2 board names

Use the hwmv2 board names instead of the hwmv1 ones.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-03-20 14:40:33 +01:00 committed by Alberto Escolar
commit 13206221b0
3 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,7 @@ mkdir -p ${WORK_DIR}
source ${ZEPHYR_BASE}/tests/bsim/compile.source
if [ "${BOARD}" == "nrf5340bsim_nrf5340_cpuapp" ]; then
if [ "${BOARD_TS}" == "nrf5340bsim_nrf5340_cpuapp" ]; then
app=samples/bluetooth/unicast_audio_server sysbuild=1 compile
app=samples/bluetooth/broadcast_audio_source sysbuild=1 compile
app=tests/bsim/bluetooth/audio_samples/unicast_audio_client sysbuild=1 compile

View file

@ -13,7 +13,7 @@ set -ue
WORK_DIR="${WORK_DIR:-${ZEPHYR_BASE}/bsim_out}"
BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
BOARD="${BOARD:-nrf5340bsim_nrf5340_cpuapp}"
export BOARD="${BOARD:-nrf5340bsim/nrf5340/cpuapp}"
mkdir -p ${WORK_DIR}

View file

@ -13,6 +13,7 @@ set -ue
WORK_DIR="${WORK_DIR:-${ZEPHYR_BASE}/bsim_out}"
BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
export BOARD="${BOARD:-nrf5340bsim/nrf5340/cpunet}"
mkdir -p ${WORK_DIR}