-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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)
- Loading branch information
1 parent
89bad3f
commit 9ae8e79
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
tests/bluetooth/tester/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# CONFIG_TEST enforces minimal logging, which we don't want | ||
CONFIG_TEST=n | ||
|
||
CONFIG_ASSERT=y | ||
# Enable the option below to measure stack usage | ||
#CONFIG_INIT_STACKS=y | ||
CONFIG_THREAD_NAME=y | ||
CONFIG_HW_STACK_PROTECTION=y | ||
|
||
CONFIG_LOG=y | ||
CONFIG_LOG_BUFFER_SIZE=4096 | ||
CONFIG_RTT_CONSOLE=y | ||
CONFIG_LOG_BACKEND_RTT=y | ||
CONFIG_LOG_BACKEND_RTT_MODE_DROP=y | ||
CONFIG_USE_SEGGER_RTT=y | ||
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=4096 | ||
CONFIG_LOG_BACKEND_SHOW_COLOR=n | ||
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=1024 | ||
|
||
CONFIG_LOG_DEFAULT_LEVEL=3 | ||
CONFIG_BTTESTER_LOG_LEVEL_DBG=y | ||
|
||
CONFIG_UART_INTERRUPT_DRIVEN=y | ||
|
||
CONFIG_BT_TINYCRYPT_ECC=y |
14 changes: 14 additions & 0 deletions
14
tests/bluetooth/tester/boards/nrf5340_audio_dk_nrf5340_cpuapp.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
/ { | ||
chosen { | ||
zephyr,uart-pipe = &uart0; | ||
}; | ||
}; | ||
|
||
&uart0 { | ||
compatible = "nordic,nrf-uarte"; | ||
current-speed = <115200>; | ||
status = "okay"; | ||
hw-flow-control; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters