1
- # Zephyr Example Application
1
+ # nRF Connect SDK example application
2
2
3
- <a href =" https://github.com/zephyrproject-rtos/ example-application/actions/workflows/build.yml?query=branch%3Amain " >
4
- <img src =" https://github.com/zephyrproject-rtos/ example-application/actions/workflows/build.yml/badge.svg?event=push " >
3
+ <a href =" https://github.com/nrfconnect/ncs- example-application/actions/workflows/build-using-docker .yml?query=branch%3Amain " >
4
+ <img src =" https://github.com/nrfconnect/ncs- example-application/actions/workflows/build-using-docker .yml/badge.svg?event=push " >
5
5
</a >
6
- <a href =" https://github.com/zephyrproject-rtos/ example-application/actions/workflows/docs.yml?query=branch%3Amain " >
7
- <img src =" https://github.com/zephyrproject-rtos/ example-application/actions/workflows/docs.yml/badge.svg?event=push " >
6
+ <a href =" https://github.com/nrfconnect/ncs- example-application/actions/workflows/docs.yml?query=branch%3Amain " >
7
+ <img src =" https://github.com/nrfconnect/ncs- example-application/actions/workflows/docs.yml/badge.svg?event=push " >
8
8
</a >
9
- <a href =" https://zephyrproject-rtos .github.io/example-application " >
9
+ <a href =" https://nrfconnect .github.io/ncs- example-application " >
10
10
<img alt =" Documentation " src =" https://img.shields.io/badge/documentation-3D578C?logo=sphinx&logoColor=white " >
11
11
</a >
12
- <a href =" https://zephyrproject-rtos .github.io/example-application/doxygen " >
12
+ <a href =" https://nrfconnect .github.io/ncs- example-application/doxygen " >
13
13
<img alt =" API Documentation " src =" https://img.shields.io/badge/API-documentation-3D578C?logo=c&logoColor=white " >
14
14
</a >
15
15
16
- This repository contains a Zephyr example application. The main purpose of this
17
- repository is to serve as a reference on how to structure Zephyr-based
18
- applications. Some of the features demonstrated in this example are:
16
+ This repository contains an nRF Connect SDK example application. The main
17
+ purpose of this repository is to serve as a reference on how to structure nRF Connect
18
+ SDK based applications. Some of the features demonstrated in this example are:
19
19
20
20
- Basic [ Zephyr application] [ app_dev ] skeleton
21
21
- [ Zephyr workspace applications] [ workspace_app ]
@@ -29,12 +29,12 @@ applications. Some of the features demonstrated in this example are:
29
29
- Custom [ west extension] [ west_ext ]
30
30
- Doxygen and Sphinx documentation boilerplate
31
31
32
- This repository is versioned together with the [ Zephyr main tree] [ zephyr ] . This
33
- means that every time that Zephyr is tagged, this repository is tagged as well
32
+ This repository is versioned together with the [ nRF Connect SDK main tree] [ sdk-nrf ] . This
33
+ means that every time that nRF Connect SDK is tagged, this repository is tagged as well
34
34
with the same version number, and the [ manifest] ( west.yml ) entry for ` zephyr `
35
- will point to the corresponding Zephyr tag. For example, the ` example-application `
36
- v2.6 .0 will point to Zephyr v2.6 .0. Note that the ` main ` branch always
37
- points to the development branch of Zephyr , also ` main ` .
35
+ will point to the corresponding nRF Connect SDK tag. For example, the ` ncs- example-application`
36
+ v2.5 .0 will point to nRF Connect SDK v2.5 .0. Note that the ` main ` branch always
37
+ points to the development branch of nRF Connect SDK , also ` main ` .
38
38
39
39
[ app_dev ] : https://docs.zephyrproject.org/latest/develop/application/index.html
40
40
[ workspace_app ] : https://docs.zephyrproject.org/latest/develop/application/index.html#zephyr-workspace-app
@@ -43,25 +43,25 @@ points to the development branch of Zephyr, also `main`.
43
43
[ board_porting ] : https://docs.zephyrproject.org/latest/guides/porting/board_porting.html
44
44
[ bindings ] : https://docs.zephyrproject.org/latest/guides/dts/bindings.html
45
45
[ drivers ] : https://docs.zephyrproject.org/latest/reference/drivers/index.html
46
- [ zephyr ] : https://github.com/zephyrproject-rtos/zephyr
46
+ [ sdk-nrf ] : https://github.com/nrfconnect/sdk-nrf
47
47
[ west_ext ] : https://docs.zephyrproject.org/latest/develop/west/extensions.html
48
48
49
- ## Getting Started
49
+ ## Getting started
50
50
51
- Before getting started, make sure you have a proper Zephyr development
52
- environment. Follow the official
53
- [ Zephyr Getting Started Guide ] ( https://docs.zephyrproject.org/ latest/getting_started/index .html ) .
51
+ Before getting started, make sure you have a proper nRF Connect SDK development environment.
52
+ Follow the official
53
+ [ Installation guide ] ( https://developer.nordicsemi.com/nRF_Connect_SDK/doc/ latest/nrf/installation/install_ncs .html ) .
54
54
55
55
### Initialization
56
56
57
57
The first step is to initialize the workspace folder (`` my-workspace `` ) where
58
- the `` example-application `` and all Zephyr modules will be cloned. Run the following
58
+ the `` ncs- example-application`` and all nRF Connect SDK modules will be cloned. Run the following
59
59
command:
60
60
61
61
``` shell
62
- # initialize my-workspace for the example-application (main branch)
63
- west init -m https://github.com/zephyrproject-rtos/ example-application --mr main my-workspace
64
- # update Zephyr modules
62
+ # initialize my-workspace for the ncs- example-application (main branch)
63
+ west init -m https://github.com/nrfconnect/ncs- example-application --mr main my-workspace
64
+ # update nRF Connect SDK modules
65
65
cd my-workspace
66
66
west update
67
67
```
@@ -77,9 +77,8 @@ west build -b $BOARD app
77
77
78
78
where ` $BOARD ` is the target board.
79
79
80
- You can use the ` custom_plank ` board found in this
81
- repository. Note that Zephyr sample boards may be used if an
82
- appropriate overlay is provided (see ` app/boards ` ).
80
+ You can use the ` custom_plank ` board found in this repository. Note that you can use
81
+ Zephyr and nRF Connect SDK sample boards if an appropriate overlay is provided (see ` app/boards ` ).
83
82
84
83
A sample debug configuration is also provided. To apply it, run the following
85
84
command:
0 commit comments