1#!/usr/bin/env bash
2# Copyright 2024 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
13app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_hci_uart.conf \
14    cmake_extra_args=-DEXTRA_DTC_OVERLAY_FILE=hci-uart.overlay compile
15app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_hci_uart.conf conf_overlay=psa_overlay.conf \
16    cmake_extra_args=-DEXTRA_DTC_OVERLAY_FILE=hci-uart.overlay compile
17app=samples/bluetooth/hci_uart compile
18app=samples/bluetooth/hci_uart_async compile
19
20wait_for_background_jobs
21