File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,9 +56,13 @@ Follow the official
5656
5757### Initialization
5858
59+ This section represents alternative approaches for initializing the workspace.
60+
61+ #### Initialize workspace from scratch
62+
5963The first step is to initialize the workspace folder (`` my-workspace `` ) where
60- the `` ncs-example-application `` and all nRF Connect SDK modules will be cloned. Run the following
61- command :
64+ the `` ncs-example-application `` and all nRF Connect SDK modules will be cloned.
65+ Run the following commands :
6266
6367``` shell
6468# initialize my-workspace for the ncs-example-application (main branch)
@@ -68,6 +72,20 @@ cd my-workspace
6872west update
6973```
7074
75+ #### Add application into existing nRF Connect SDK workspace
76+
77+ Assume you have an existing nRF Connect SDK workspace in the :file:` my-workspace ` folder. Run the following commands:
78+
79+ ``` shell
80+ # Navigate to the workspace folder
81+ cd my-workspace
82+ # Clone application repository
83+ git clone https://github.com/nrfconnect/ncs-example-application
84+ # Set manifest path to the application directory
85+ west config manifest.path ncs-example-application
86+ west update
87+ ```
88+
7189### Building and running
7290
7391To build the application, run the following command:
You can’t perform that action at this time.
0 commit comments