You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/cellular/modem_shell/README.rst
+34-7Lines changed: 34 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1279,19 +1279,46 @@ BT shell support
1279
1279
To build the MoSh sample with Zephyr BT shell command support, use the :file:`-DDTC_OVERLAY_FILE=bt.overlay` and :file:`-DEXTRA_CONF_FILE=overlay-bt.conf` options.
1280
1280
When running this configuration, you can perform BT scanning and advertising using the ``bt`` command.
1281
1281
1282
-
Compile as follows:
1282
+
You must program the *board controller* with the :ref:`bluetooth-hci-lpuart-sample` sample first, before programming the main controller with the :ref:`modem_shell_application` sample.
1283
+
Program the board controller as follows:
1283
1284
1284
-
.. code-block:: console
1285
+
1. Set the **SW10** switch, marked as *debug/prog*, in the **NRF52** position.
1286
+
On nRF9160 DK board version 0.9.0 and earlier versions, the switch was called **SW5**.
1287
+
#. Build the :ref:`bluetooth-hci-lpuart-sample` sample for the ``nrf9160dk/nrf52840`` board target and program the board controller with it.
1285
1288
1286
-
west build -p -b nrf9160dk/nrf9160/ns -- -DDTC_OVERLAY_FILE="bt.overlay" -DEXTRA_CONF_FILE="overlay-bt.conf"
1289
+
.. note::
1290
+
To build the sample successfully, you must specify the board version along with the board target.
1291
+
The board version is printed on the label of your DK, just below the PCA number.
1292
+
For example, for board version 1.1.0, build the sample as follows:
1287
1293
1288
-
Additionally, you need to program the nRF52840 side of the nRF9160 DK as instructed in :ref:`lte_sensor_gateway`.
1294
+
.. parsed-literal::
1295
+
:class: highlight
1289
1296
1290
-
Compile the :ref:`bluetooth-hci-lpuart-sample` sample as follows:
0 commit comments