2024-01-17 09:51:37 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Copyright 2023 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# Compile all the applications needed by the bsim tests in these subfolders
|
|
|
|
|
|
|
|
#set -x #uncomment this line for debugging
|
|
|
|
set -ue
|
2024-03-21 15:12:13 +01:00
|
|
|
: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}"
|
2024-01-17 09:51:37 +01:00
|
|
|
|
|
|
|
source ${ZEPHYR_BASE}/tests/bsim/compile.source
|
|
|
|
|
|
|
|
app=tests/bsim/bluetooth/host/adv/chain compile
|
|
|
|
app=tests/bsim/bluetooth/host/adv/extended conf_file=prj_advertiser.conf compile
|
|
|
|
app=tests/bsim/bluetooth/host/adv/extended conf_file=prj_scanner.conf compile
|
|
|
|
app=tests/bsim/bluetooth/host/adv/periodic compile
|
|
|
|
app=tests/bsim/bluetooth/host/adv/periodic conf_file=prj_long_data.conf compile
|
2024-04-29 15:26:53 +02:00
|
|
|
app=tests/bsim/bluetooth/host/adv/periodic conf_file=prj_coded.conf compile
|
2024-08-12 12:53:40 +02:00
|
|
|
run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/compile.sh
|
2024-01-17 09:51:37 +01:00
|
|
|
app=tests/bsim/bluetooth/host/adv/encrypted/ead_sample compile
|
2024-08-12 12:53:40 +02:00
|
|
|
run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/adv/long_ad/compile.sh
|
2024-01-17 09:51:37 +01:00
|
|
|
|
|
|
|
wait_for_background_jobs
|