2023-02-22 23:50:33 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Copyright 2023 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-04-19 18:32:56 +08:00
|
|
|
# Compile all the applications needed by the bsim tests in these subfolders
|
2023-02-22 23:50:33 +08:00
|
|
|
|
|
|
|
#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-02-22 23:50:33 +08:00
|
|
|
|
2023-03-20 18:08:34 +08:00
|
|
|
source ${ZEPHYR_BASE}/tests/bsim/compile.source
|
2023-03-17 22:29:24 +08:00
|
|
|
|
|
|
|
app=tests/bsim/bluetooth/mesh compile
|
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay=overlay_pst.conf compile
|
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay=overlay_gatt.conf compile
|
2023-11-29 20:28:08 +08:00
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay=overlay_low_lat.conf compile
|
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay=overlay_psa.conf compile
|
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_pst.conf;overlay_psa.conf" compile
|
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_gatt.conf;overlay_psa.conf" compile
|
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_low_lat.conf;overlay_psa.conf" compile
|
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_gatt.conf;overlay_low_lat.conf" compile
|
2024-01-22 20:56:04 +08:00
|
|
|
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_pst.conf;overlay_gatt.conf" compile
|
|
|
|
app=tests/bsim/bluetooth/mesh \
|
|
|
|
conf_overlay="overlay_pst.conf;overlay_gatt.conf;overlay_psa.conf" compile
|
2023-02-22 23:50:33 +08:00
|
|
|
|
2023-03-09 20:23:56 +08:00
|
|
|
wait_for_background_jobs
|