2023-10-26 22:28:25 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Copyright 2018 Oticon A/S
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# Compile all bluetooth applications needed for the split stack tests
|
|
|
|
|
|
|
|
#set -x #uncomment this line for debugging
|
|
|
|
set -ue
|
2024-03-21 22:12:13 +08:00
|
|
|
: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}"
|
2023-10-26 22:28:25 +08:00
|
|
|
|
2024-03-20 21:40:33 +08:00
|
|
|
export BOARD="${BOARD:-nrf5340bsim/nrf5340/cpuapp}"
|
2023-10-26 22:28:25 +08:00
|
|
|
|
|
|
|
source ${ZEPHYR_BASE}/tests/bsim/compile.source
|
|
|
|
|
|
|
|
app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_privacy.conf sysbuild=1 compile
|
|
|
|
app=tests/bsim/bluetooth/ll/bis sysbuild=1 compile
|
2023-11-24 19:02:14 +08:00
|
|
|
app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group.conf sysbuild=1 compile
|
2023-10-26 22:28:25 +08:00
|
|
|
|
2024-03-15 21:05:11 +08:00
|
|
|
run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/samples/compile.sh
|
2023-10-30 23:01:24 +08:00
|
|
|
run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/audio_samples/compile.sh
|
|
|
|
|
2023-10-26 22:28:25 +08:00
|
|
|
wait_for_background_jobs
|