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 network bsim tests
6
7#set -x #uncomment this line for debugging
8set -ue
9
10: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}"
11
12source ${ZEPHYR_BASE}/tests/bsim/compile.source
13
14app=samples/net/sockets/echo_server conf_overlay=overlay-802154.conf compile
15app=tests/bsim/net/sockets/echo_test conf_overlay=overlay-802154.conf compile
16
17app=samples/net/sockets/echo_server conf_overlay=overlay-ot.conf compile
18app=tests/bsim/net/sockets/echo_test conf_overlay=overlay-ot.conf compile
19
20wait_for_background_jobs
21