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_ins_windows.rst
+82-1Lines changed: 82 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,54 @@ To install those, open a |bash| in the ``ncs`` folder and enter the following co
265
265
266
266
.. add_deps_end
267
267
268
+
.. _installing_ses_win:
269
+
270
+
.. installing_ses_start
271
+
272
+
Installing |SES|
273
+
****************
274
+
275
+
You must install a special version of |SES| (SES) to be able to open and compile projects in the |NCS|.
276
+
277
+
|SES| is free of charge for use with Nordic Semiconductor devices.
278
+
279
+
To install |SES|, complete the following steps:
280
+
281
+
1. Download the package for your operating system from the following links:
282
+
283
+
* `SEGGER Embedded Studio (Nordic Edition) - Windows x86`_
284
+
* `SEGGER Embedded Studio (Nordic Edition) - Windows x64`_
285
+
* `SEGGER Embedded Studio (Nordic Edition) - Mac OS x64`_
286
+
* `SEGGER Embedded Studio (Nordic Edition) - Linux x86`_
287
+
* `SEGGER Embedded Studio (Nordic Edition) - Linux x64`_
288
+
289
+
#. Extract the downloaded package in the directory of your choice.
290
+
#. Register and activate a free license.
291
+
|SES| is free of charge for use with Nordic Semiconductor devices, but you still need to request and activate a license.
292
+
Complete the following steps:
293
+
294
+
a. Run the file :file:`bin/emStudio`.
295
+
|SES| will open the Dashboard window and inform you about the missing license.
296
+
297
+
.. figure:: images/ses_license.PNG
298
+
:alt:SEGGER Embedded Studio Dashboard notification about missing license
299
+
300
+
No commercial-use license detected SES prompt
301
+
302
+
#. Click :guilabel:`Activate Your Free License`.
303
+
A request form appears.
304
+
305
+
#. Fill in your information and click :guilabel:`Request License`.
306
+
The license is sent to you in an email.
307
+
308
+
#. After you receive your license key, click :guilabel:`Enter Activation Key` to activate the license.
309
+
310
+
#. Copy-paste the license key and click :guilabel:`Install License`.
311
+
The license activation window will close and SES will open the Project Explorer window.
312
+
313
+
314
+
315
+
.. installing_ses_end
268
316
269
317
.. _build_environment_win:
270
318
@@ -273,8 +321,41 @@ To install those, open a |bash| in the ``ncs`` folder and enter the following co
273
321
Setting up the build environment
274
322
********************************
275
323
324
+
Before you start :ref:`building and programming a sample application <gs_programming>`, you must set up your build environment.
325
+
326
+
Setting up the SES environment
327
+
==============================
328
+
329
+
If you plan to :ref:`build with SEGGER Embedded Studio <gs_programming_ses>`, the first time you import an |NCS| project, SES will prompt you to set the paths to the Zephyr Base directory and the GNU ARM Embedded Toolchain.
330
+
This must be done only once per project.
331
+
332
+
Complete the following steps to set up the |SES| environment:
#. Set the Zephyr Base directory to the full path to ``ncs\zephyr``.
344
+
The GNU ARM Embedded Toolchain directory is the directory where you installed the toolchain (for example, ``c:\gnuarmemb``).
345
+
346
+
.. figure:: images/ses_notset.png
347
+
:alt:Zephyr Base Not Set prompt
348
+
349
+
Zephyr Base Not Set prompt
350
+
351
+
352
+
If you want to change these settings later, click :guilabel:`Tools` -> :guilabel:`Options` and select the :guilabel:`nRF Connect` tab (see :ref:`ses_options_figure`).
353
+
354
+
355
+
Setting up the command line build environment
356
+
=============================================
357
+
276
358
If you want to build and program your applications from the command line, you must set up your build environment by defining the required environment variables every time you open a new |bash|.
277
-
If you plan to :ref:`build with SEGGER Embedded Studio <gs_programming>`, you can skip this step.
278
359
279
360
To define the environment variables, navigate to the ``ncs`` folder and enter the following command: |envfile|
Copy file name to clipboardExpand all lines: doc/nrf/gs_programming.rst
+4-24Lines changed: 4 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,28 +6,19 @@ Building and programming a sample application
6
6
The recommended way of building and programming an |NCS| sample is to use
7
7
the Nordic Edition of the SEGGER Embedded Studio (SES) IDE.
8
8
9
-
SEGGER Embedded Studio is free of charge for use with Nordic Semiconductor
10
-
devices. After downloading it, you can register and activate a free license.
11
-
12
9
13
10
.. note::
14
11
If you prefer to build your applications from the command line,
15
12
see :ref:`zephyr:getting_started_run_sample`.
16
13
14
+
.. _gs_programming_ses:
15
+
17
16
Building with SES
18
17
*****************
19
18
20
-
You must install a special version of SEGGER Embedded Studio to be able to open
21
-
and compile the projects in the |NCS|.
22
-
You can download it from the following links:
19
+
Complete the following steps to build |NCS| projects with SES after :ref:`installing SEGGER Embedded Studio <installing_ses_win>` and :ref:`completing the first time setup <build_environment_win>`:
23
20
24
-
* `SEGGER Embedded Studio (Nordic Edition) - Windows x86`_
25
-
* `SEGGER Embedded Studio (Nordic Edition) - Windows x64`_
26
-
* `SEGGER Embedded Studio (Nordic Edition) - Mac OS x64`_
27
-
* `SEGGER Embedded Studio (Nordic Edition) - Linux x86`_
28
-
* `SEGGER Embedded Studio (Nordic Edition) - Linux x64`_
29
-
30
-
1. Extract the downloaded package and run the file :file:`bin/emStudio`.
21
+
1. Run the file :file:`bin/emStudio`.
31
22
32
23
#. Select **File -> Open nRF Connect SDK Project**.
33
24
@@ -36,17 +27,6 @@ You can download it from the following links:
36
27
37
28
Open nRF Connect SDK Project menu
38
29
39
-
#. The first time you import an |NCS| project, SES will prompt you to set the paths to the Zephyr Base directory and the GNU ARM Embedded Toolchain.
40
-
Set the Zephyr Base directory to the full path to ``ncs\zephyr``.
41
-
The GNU ARM Embedded Toolchain directory is the directory where you installed the toolchain (for example, ``c:\gnuarmemb``).
42
-
43
-
.. figure:: images/ses_notset.png
44
-
:alt:Zephyr Base Not Set prompt
45
-
46
-
Zephyr Base Not Set prompt
47
-
48
-
If you want to change these settings later, click **Tools -> Options** and select the **nRF Connect** tab (see :ref:`ses_options_figure`).
49
-
50
30
#. To import a project into SES, you must specify the following information:
51
31
52
32
- **CMakeLists.txt** - the location of the :file:`CMakeLists.txt` project file of the sample that you want to work with
0 commit comments