Skip to content

Commit 9ae8e79

Browse files
ThalleyAyturkDuzen
authored andcommitted
[nrf fromtree] tests: Bluetooth: tester: Add nRF5340 ADK as platform
Add support for building and running the BT tester on the nrf5340_audio_dk. This is copying the configuration used for the nRF5340 DK. Signed-off-by: Emil Gydesen <[email protected]> (cherry picked from commit afb7d96)
1 parent 89bad3f commit 9ae8e79

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# CONFIG_TEST enforces minimal logging, which we don't want
2+
CONFIG_TEST=n
3+
4+
CONFIG_ASSERT=y
5+
# Enable the option below to measure stack usage
6+
#CONFIG_INIT_STACKS=y
7+
CONFIG_THREAD_NAME=y
8+
CONFIG_HW_STACK_PROTECTION=y
9+
10+
CONFIG_LOG=y
11+
CONFIG_LOG_BUFFER_SIZE=4096
12+
CONFIG_RTT_CONSOLE=y
13+
CONFIG_LOG_BACKEND_RTT=y
14+
CONFIG_LOG_BACKEND_RTT_MODE_DROP=y
15+
CONFIG_USE_SEGGER_RTT=y
16+
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=4096
17+
CONFIG_LOG_BACKEND_SHOW_COLOR=n
18+
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=1024
19+
20+
CONFIG_LOG_DEFAULT_LEVEL=3
21+
CONFIG_BTTESTER_LOG_LEVEL_DBG=y
22+
23+
CONFIG_UART_INTERRUPT_DRIVEN=y
24+
25+
CONFIG_BT_TINYCRYPT_ECC=y
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
/ {
4+
chosen {
5+
zephyr,uart-pipe = &uart0;
6+
};
7+
};
8+
9+
&uart0 {
10+
compatible = "nordic,nrf-uarte";
11+
current-speed = <115200>;
12+
status = "okay";
13+
hw-flow-control;
14+
};

tests/bluetooth/tester/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ tests:
2424
- native_posix
2525
- native_sim
2626
- nrf5340dk/nrf5340/cpuapp
27+
- nrf5340_audio_dk/nrf5340/cpuapp
2728
extra_args: OVERLAY_CONFIG="overlay-le-audio.conf"
2829
tags: bluetooth
2930
harness: bluetooth

0 commit comments

Comments
 (0)