Skip to content

Commit ea1c55e

Browse files
wiba-nordicrlubos
authored andcommitted
doc: add VSC instructions for Thread Test Harness integration
Added instructions for using VSC as an alternative to command line when building the CLI sample for Thread certification using the Thread Test Harness. Signed-off-by: Wille Backman <[email protected]>
1 parent 9e62cf8 commit ea1c55e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

doc/nrf/ug_thread_certification.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,17 @@ Complete the following steps to prepare for the certification tests:
6666

6767
The :ref:`ot_cli_sample` sample is used as a base, modified with the :file:`harness/overlay-cert.conf` overlay file.
6868

69-
.. code-block::
69+
* If building on the command line, use the following command:
7070

71-
cd ncs/nrf/samples/openthread/cli/
72-
west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG=harness/overlay-cert.conf -DCONFIG_OPENTHREAD_LIBRARY_1_1=y
71+
.. code-block::
72+
73+
cd ncs/nrf/samples/openthread/cli/
74+
west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG=harness/overlay-cert.conf -DCONFIG_OPENTHREAD_LIBRARY_1_1=y
75+
76+
* If building using Visual Studio Code, you must first `create the application <Creating an application_>`_ using the CLI sample, and then `build the application <Building an application_>`_.
77+
Select the :file:`harness/overlay-cert.conf` overlay file in the :guilabel:`Kconfig fragment` drop-down menu and add ``CONFIG_OPENTHREAD_LIBRARY_1_1=y`` to the :guilabel:`Additional CMake arguments` text field.
78+
79+
If the overlay file is not visible in the drop-down menu, navigate to :file:`ncs/nrf/samples/openthread/cli/harness/` and copy the :file:`overlay-cert.conf` file to :file:`ncs/nrf/samples/openthread/cli/` and try again.
7380

7481
.. note::
7582
The configuration option selects the precompiled OpenThread libraries.

0 commit comments

Comments
 (0)