1#!/usr/bin/env bash
2# Copyright 2023 Nordic Semiconductor ASA
3# SPDX-License-Identifier: Apache-2.0
4
5# Compile all the applications needed by the bsim tests in these subfolders
6
7#set -x #uncomment this line for debugging
8set -ue
9: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}"
10
11source ${ZEPHYR_BASE}/tests/bsim/compile.source
12
13${ZEPHYR_BASE}/tests/bsim/bluetooth/ll/cis/compile.sh
14
15app=tests/bsim/bluetooth/ll/advx compile
16app=tests/bsim/bluetooth/ll/advx \
17  conf_overlay=overlay-ticker_expire_info.conf compile
18app=tests/bsim/bluetooth/ll/advx conf_overlay=overlay-scan_aux_use_chains.conf compile
19
20app=tests/bsim/bluetooth/ll/conn conf_file=prj_split.conf compile
21app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_1ms.conf compile
22app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_tx_defer.conf compile
23app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_privacy.conf compile
24app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_low_lat.conf compile
25app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_single_timer.conf compile
26
27app=tests/bsim/bluetooth/ll/bis compile
28app=tests/bsim/bluetooth/ll/bis conf_overlay=overlay-ll_interface.conf compile
29app=tests/bsim/bluetooth/ll/bis conf_overlay=overlay-ticker_expire_info.conf compile
30app=tests/bsim/bluetooth/ll/bis conf_overlay=overlay-scan_aux_use_chains.conf compile
31app=tests/bsim/bluetooth/ll/bis conf_file=prj_vs_dp.conf compile
32app=tests/bsim/bluetooth/ll/bis conf_file=prj_past.conf compile
33
34app=tests/bsim/bluetooth/ll/edtt/hci_test_app \
35  conf_file=prj_dut_llcp.conf compile
36app=tests/bsim/bluetooth/ll/edtt/hci_test_app \
37  conf_file=prj_tst_llcp.conf compile
38app=tests/bsim/bluetooth/ll/edtt/gatt_test_app \
39  conf_file=prj_llcp.conf compile
40
41app=tests/bsim/bluetooth/ll/multiple_id compile
42app=tests/bsim/bluetooth/ll/throughput compile
43
44wait_for_background_jobs
45