2018-10-18 14:23:12 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Copyright 2018 Oticon A/S
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# Compile all the applications needed by the bsim_bt tests
|
|
|
|
|
|
|
|
#set -x #uncomment this line for debugging
|
|
|
|
set -ue
|
|
|
|
|
|
|
|
: "${BSIM_OUT_PATH:?BSIM_OUT_PATH must be defined}"
|
|
|
|
: "${BSIM_COMPONENTS_PATH:?BSIM_COMPONENTS_PATH must be defined}"
|
|
|
|
: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root\
|
|
|
|
directory}"
|
|
|
|
|
|
|
|
WORK_DIR="${WORK_DIR:-${ZEPHYR_BASE}/bsim_bt_out}"
|
|
|
|
BOARD="${BOARD:-nrf52_bsim}"
|
|
|
|
BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
|
|
|
|
|
|
|
|
mkdir -p ${WORK_DIR}
|
|
|
|
|
2021-11-15 09:41:12 +01:00
|
|
|
source ${ZEPHYR_BASE}/tests/bluetooth/bsim_bt/compile.source
|
2018-10-18 14:23:12 +02:00
|
|
|
|
2022-03-22 14:50:57 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_notify compile
|
2022-02-21 14:09:33 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_gatt_caching compile
|
2022-02-22 16:38:20 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_eatt conf_file=prj_encryption.conf compile
|
2022-01-26 17:03:48 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_eatt conf_file=prj_collision.conf compile
|
2022-01-26 17:03:48 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_eatt conf_file=prj_multiple_conn.conf compile
|
2022-02-25 11:29:05 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_eatt conf_file=prj_autoconnect.conf compile
|
2019-11-22 20:45:45 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_app conf_file=prj_split.conf \
|
2019-01-30 12:57:42 +01:00
|
|
|
compile
|
2020-02-05 10:51:19 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_app conf_file=prj_split_privacy.conf \
|
|
|
|
compile
|
2021-05-10 06:23:00 +05:30
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_app conf_file=prj_split_low_lat.conf \
|
|
|
|
compile
|
2020-12-15 18:52:49 +05:30
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_multiple compile
|
2020-05-14 11:48:17 +05:30
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_advx compile
|
2022-01-05 15:38:04 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_gatt compile
|
2022-02-24 13:18:40 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_l2cap compile
|
2020-11-06 13:57:07 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_iso compile
|
2021-04-20 11:01:19 +02:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_audio compile
|
2021-11-15 09:41:12 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/edtt_ble_test_app/hci_test_app \
|
|
|
|
conf_file=prj_dut_llcp.conf compile
|
|
|
|
app=tests/bluetooth/bsim_bt/edtt_ble_test_app/hci_test_app \
|
|
|
|
conf_file=prj_tst_llcp.conf compile
|
2021-09-23 10:57:13 +05:30
|
|
|
app=tests/bluetooth/bsim_bt/edtt_ble_test_app/hci_test_app \
|
|
|
|
conf_file=prj_dut.conf compile
|
|
|
|
app=tests/bluetooth/bsim_bt/edtt_ble_test_app/hci_test_app \
|
|
|
|
conf_file=prj_tst.conf compile
|
2021-11-19 14:54:20 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/edtt_ble_test_app/gatt_test_app \
|
|
|
|
conf_file=prj.conf compile
|
|
|
|
app=tests/bluetooth/bsim_bt/edtt_ble_test_app/gatt_test_app \
|
|
|
|
conf_file=prj_llcp.conf compile
|
2021-02-11 18:52:53 +01:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_mesh compile
|
2021-05-10 06:23:00 +05:30
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_mesh conf_file=prj_low_lat.conf compile
|
2021-07-01 14:33:53 +02:00
|
|
|
app=tests/bluetooth/bsim_bt/bsim_test_mesh conf_file=prj_pst.conf compile
|