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: doc/nrf/gs_programming.rst
+6-12Lines changed: 6 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,26 +74,20 @@ You can download it from the following links:
74
74
Put the **SW5** switch (marked debug/prog) in the **NRF91** position to program the main controller, or in the **NRF52** position to program the board controller.
75
75
See the `Device programming section in the nRF9160 DK User Guide`_ for more information.
76
76
77
-
To build and flash a single application:
77
+
To build and flash an application:
78
78
79
79
a. Select your project in the Project Explorer.
80
-
#. From the menu, select **Build -> Build zephyr/zephyr.elf**.
81
-
#. When the build completes, you can flash the sample to a connected board.
82
-
To do this, select **Target -> Download zephyr/zephyr.elf**.
80
+
#. From the menu, select **Build -> Build Solution**.
81
+
#. When the build completes, you can flash the sample to a connected board:
82
+
83
+
* For a single-image application, select **Target -> Download zephyr/zephyr.elf**.
84
+
* For a multi-image application, select **Target -> Download zephyr/merged.hex**.
83
85
84
86
.. note::
85
87
Alternatively, choose the **Build and Debug** option.
86
88
**Build and Debug** will build the application and flash it when
87
89
the build completes.
88
90
89
-
To build and flash a multi-image project:
90
-
91
-
a. Select your project in the Project Explorer.
92
-
#. From the menu, select **Build -> Build Solution**.
93
-
#. When the multi-image build completes, you can flash the sample to a connected board.
94
-
To do this, select **Target -> Download File -> Download Intel Hex File**.
95
-
Navigate to the ``zephyr`` folder in your build directory and choose ``merged.hex``.
96
-
97
91
7. To inspect the details of the flashed code and the memory usage, click **Debug -> Go**.
0 commit comments