Skip to content

Commit 5263433

Browse files
maciejbaczmanskianangl
authored andcommitted
doc: openthread: fix commands for updating prebuild libs
After sysbuild changes, custom build targets have been moved to `build/<app_name>`, so west commands need to be aligned Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
1 parent 9fa5936 commit 5263433

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

doc/nrf/protocols/thread/prebuilt_libs.rst

+12-10
Original file line numberDiff line numberDiff line change
@@ -268,17 +268,18 @@ Installing the libraries with debug symbols can be useful when debugging, but wi
268268
Updating the libraries without debug symbols
269269
============================================
270270

271-
There is a single command to update the libraries without debug symbols.
271+
There is a set of commands to update the libraries without debug symbols.
272272

273-
* When using the command line, run the command in the project folder.
274-
* When using the |nRFVSC|, open a terminal and choose :guilabel:`nRF Terminal`, then run the command there.
273+
* When using the command line, run the commands in the project folder.
274+
* When using the |nRFVSC|, open a terminal and choose :guilabel:`nRF Terminal`, then run the commands there.
275275

276-
Use the following command:
276+
Use the following commands:
277277

278278
.. parsed-literal::
279279
:class: highlight
280280
281-
west build -b nrf52840dk/nrf52840 -t install_openthread_libraries -- -DOPENTHREAD_BUILD_OUTPUT_STRIPPED=y
281+
west build -b nrf52840dk/nrf52840 -- -DOPENTHREAD_BUILD_OUTPUT_STRIPPED=y
282+
west build -d build/cli -t install_openthread_libraries
282283
283284
This command builds two versions of the libraries, with and without debug symbols, and installs only the version without debug symbols.
284285
|board_note_for_updating_libs|
@@ -287,17 +288,18 @@ The :kconfig:option:`CONFIG_OPENTHREAD_BUILD_OUTPUT_STRIPPED` Kconfig option wil
287288
Updating the libraries with debug symbols
288289
=========================================
289290

290-
There is a single command to update the libraries with debug symbols.
291+
There is a set of commands to update the libraries with debug symbols.
291292

292-
* When using the command line, run the command in the project folder.
293-
* When using the |nRFVSC|, open a terminal and choose :guilabel:`nRF Terminal`, then run the command there.
293+
* When using the command line, run the commands in the project folder.
294+
* When using the |nRFVSC|, open a terminal and choose :guilabel:`nRF Terminal`, then run the commands there.
294295

295-
Use the following command:
296+
Use the following commands:
296297

297298
.. parsed-literal::
298299
:class: highlight
299300
300-
west build -b nrf52840dk/nrf52840 -t install_openthread_libraries
301+
west build -b nrf52840dk/nrf52840
302+
west build -d build/cli -t install_openthread_libraries
301303
302304
|board_note_for_updating_libs|
303305

samples/openthread/cli/README.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@ Building and running
142142

143143
.. include:: /includes/build_and_run_ns.txt
144144

145-
To update the OpenThread libraries provided by ``nrfxlib``, invoke ``west build -b nrf52840dk_nrf52840 -t install_openthread_libraries``.
145+
To update the OpenThread libraries provided by ``nrfxlib``, use the following commands:
146+
147+
.. parsed-literal::
148+
:class: highlight
149+
150+
west build -b nrf52840dk/nrf52840
151+
west build -d build/cli -t install_openthread_libraries
146152
147153
.. _ot_cli_sample_testing:
148154

0 commit comments

Comments
 (0)