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
doc: add workspace initialization into existing NCS workspace
Provide command line instructions on how to add add-on into
existing nRF Connect SDK workspace.
Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
Copy file name to clipboardExpand all lines: docs/setup.rst
+74-8Lines changed: 74 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,19 +34,85 @@ Follow the `Installing the nRF Connect SDK`_ instructions, with the following ex
34
34
35
35
.. group-tab:: |nRFVSC|
36
36
37
-
In the **Get the nRF Connect SDK code** part of the install instructions:
38
-
39
-
In Step 2, click on :guilabel:`Create a new application`, select :guilabel:`Browse nRF Connect SDK Add-on Index`, then select :guilabel:`Zigbee R23`, and select v\ |addon_version| of the |addon|, which also installs |NCS| v\ |ncs_version|.
37
+
In the `Get the nRF Connect SDK code <Installing the nRF Connect SDK_>`_ section, click :guilabel:`Create a new application`.
This step also installs nRF Connect SDK v\ |ncs_version|.
40
41
41
42
.. group-tab:: command line
42
43
43
-
In the **Get the nRF Connect SDK code** part of the install instructions:
44
+
You can initialize workspace in two alternative ways:
45
+
46
+
**Initialize a new workspace:**
47
+
48
+
1. In the `Get the nRF Connect SDK code <Installing the nRF Connect SDK_>`_, run the following command to initialize west with |addon| v\ |addon_version|, which also initializes nRF Connect SDK v\ |ncs_version|:
49
+
50
+
a. Initialize ``ncs`` for the add-on:
51
+
52
+
.. code-block:: console
53
+
54
+
west init -m "http://github.com/nrfconnect/ncs-zigbee" --mr v1.2.1
55
+
56
+
#. Update the nRF Connect SDK modules:
57
+
58
+
.. code-block:: console
59
+
60
+
west update
61
+
62
+
**Include add-on in the existing nRF Connect SDK workspace:**
63
+
64
+
1. Assuming you have an existing nRF Connect SDK workspace in the :file:`ncs` folder, run the following commands:
0 commit comments