Skip to content

Commit

Permalink
samples: openthread: provide certification overlay file for nRF53
Browse files Browse the repository at this point in the history
Use a different overlay for Thread Certification of nRF53 devices,
without multiprotocol support.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
  • Loading branch information
edmont authored and rlubos committed Jan 26, 2021
1 parent 1e6599a commit bc6919a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/nrf/ug_thread_certification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,13 @@ Complete the following steps to run the certification tests:
west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG="harness/overlay-cert.conf"
.. note::
The overlay file selects the precompiled OpenThread libraries by default.
It also enables :ref:`multiprotocol support <ug_multiprotocol_support>` with Bluetooth LE advertising.
The overlay file selects the precompiled OpenThread libraries.

For nRF52 Series devices, use :file:`harness/overlay-cert.conf`.
This file also enables :ref:`multiprotocol support <ug_multiprotocol_support>` with Bluetooth LE advertising.

For nRF53 Series devices, use :file:`harness/overlay-cert-nrf53.conf`.
This file does not enable multiprotocol support, because there is no multiprotocol support for nRF53 Series devices yet.

#. Prepare Thread Test Harness.

Expand Down
23 changes: 23 additions & 0 deletions samples/openthread/cli/harness/overlay-cert-nrf53.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# Copyright (c) 2021 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#

# Disable logging
CONFIG_BOOT_BANNER=n
CONFIG_LOG=n
CONFIG_LOG_MINIMAL=n
CONFIG_NET_LOG=n
CONFIG_NET_STATISTICS=n
CONFIG_OPENTHREAD_DEBUG=n
CONFIG_OPENTHREAD_L2_DEBUG=n
CONFIG_ASSERT=n

# Shell configuration for harness
CONFIG_SHELL_PROMPT_UART=""
CONFIG_SHELL_VT100_COLORS=n
CONFIG_SHELL_DEFAULT_TERMINAL_WIDTH=416

# Use the precompiled OpenThread libraries
CONFIG_OPENTHREAD_LIBRARY_1_1=y

0 comments on commit bc6919a

Please sign in to comment.