@@ -10,18 +10,18 @@ commissioning and different cluster control.
10
10
11
11
<hr >
12
12
13
- - [ Introduction] ( #intro )
13
+ - [ Introduction] ( #introduction )
14
14
- [ Building] ( #building )
15
- - [ Flashing and debugging] ( #flashdebug )
16
- - [ Factory data] ( #factorydata )
17
- - [ Manufacturing data] ( #manufacturing )
15
+ - [ Flashing and debugging] ( #flashing-and-debugging )
16
+ - [ Factory data] ( #factory-data )
17
+ - [ Manufacturing data] ( #generate-factory-data )
18
18
- [ OTA Software Update] ( #ota-software-update )
19
19
- [ Testing the example] ( #testing-the-example )
20
- - [ Using Matter CLI in NXP Zephyr examples] ( #matter-cli )
20
+ - [ Using Matter CLI in NXP Zephyr examples] ( #using- matter-cli-in-nxp-zephyr-examples )
21
21
22
22
<hr >
23
23
24
- <a name =" intro " ></a >
24
+ <a name =" introduction " ></a >
25
25
26
26
## Introduction
27
27
@@ -57,12 +57,12 @@ Prerequisites:
57
57
$ west init zephyrproject -m https://github.com/nxp-zephyr-ear/zephyr.git --mr zephyr_rw61x_v3.6_RFP
58
58
```
59
59
60
- > ** Note** : Currently, supported NXP platforms in Zephyr targetting Matter are
60
+ > ** Note** : Currently, supported NXP platforms in Zephyr targeting Matter are
61
61
> not available in the official Zephyr repo, you'll have to use the NXP fork
62
62
> ` https://github.com/nxp-zephyr-ear/zephyr ` github repo. Reach to your NXP
63
63
> contact for more details.
64
64
65
- Steps to build the example, targetting ` rd_rw612_bga ` board:
65
+ Steps to build the example, targeting ` rd_rw612_bga ` board:
66
66
67
67
1 . Activate your Matter env:
68
68
@@ -89,7 +89,7 @@ command from. The binaries will be created in `build/zephyr` with the name
89
89
You can get more details on ` west build ` with
90
90
[ Zephyr's building guide] ( https://docs.zephyrproject.org/latest/develop/west/build-flash-debug.html#building-west-build )
91
91
92
- <a name =" flashdebug " ></a >
92
+ <a name =" flashing-and-debugging " ></a >
93
93
94
94
## Flashing and debugging
95
95
@@ -118,7 +118,7 @@ To debug a Matter with Zephyr application, you could use several methods:
118
118
> ** Note** : As the build provides an elf file, any compatible debugging tool can
119
119
> be used.
120
120
121
- <a name =" factorydata " ></a >
121
+ <a name =" factory-data " ></a >
122
122
123
123
## Factory data
124
124
@@ -128,8 +128,8 @@ the the section below to build with factory data.
128
128
You may refer to ` src/platform/nxp/zephyr/boards/<board>/<board>.overlay ` file
129
129
to obtain the memory region used by this partition.
130
130
131
- For example, the factory data partition on rd_rw612_bga is reserved in the last
132
- sector of the flexspi flash of RD BGA board, at ` 0x1BFFF000 ` .
131
+ For example, the factory data partition on ` rd_rw612_bga ` is reserved in the
132
+ last sector of the ` flexspi ` flash of ` RD BGA ` board, at ` 0x1BFFF000 ` .
133
133
134
134
```
135
135
&flexspi {
@@ -164,13 +164,15 @@ west build -b rd_rw612_bga -p <path to example folder> -- -DFILE_SUFFIX=fdata
164
164
` prj_fdata.conf ` configuration file will enable ` CONFIG_CHIP_FACTORY_DATA `
165
165
Kconfig so the application will load the factory data at boot.
166
166
167
+ <a name =" generate-factory-data " ></a >
168
+
167
169
### Generate factory data
168
170
169
171
#### Automatically (recommended)
170
172
171
173
The factory data can be generated automatically during the build of the
172
- application. To do so, you can uncomment the ` CONFIG_CHIP_FACTORY_DATA_BUILD=y `
173
- in ` prj_fdata.conf ` .
174
+ application. To do so, you can use the configuration
175
+ ` CONFIG_CHIP_FACTORY_DATA_BUILD=y ` in ` prj_fdata.conf ` .
174
176
175
177
You will have to specify the source of the certificates to be used for the
176
178
factory data. Please refer to ` CHIP_FACTORY_DATA_CERT_SOURCE ` Kconfig for more
208
210
To know how to commission a device over BLE, follow the instructions from
209
211
[ chip-tool's README.md 'Commission a device over BLE'] ( ../../../chip-tool/README.md#commission-a-device-over-ble ) .
210
212
211
- <a name =" matter-cli " ></a >
213
+ <a name =" using- matter-cli-in-nxp-zephyr-examples " ></a >
212
214
213
215
## Using Matter CLI in NXP Zephyr examples
214
216
@@ -228,7 +230,7 @@ As an example, the Matter CLI on `rd_rw612_bga` is configured to be output on
228
230
` flexcomm3 ` with a baudrate of ` 115200 ` . The logs are configured to be output on
229
231
` flexcomm0 ` with a baudrate of ` 115200 ` .
230
232
231
- > ** Note** : ` flexcomm3 ` is wired to the USB FTDI port of the RD BGA board by
233
+ > ** Note** : ` flexcomm3 ` is wired to the USB ` FTDI ` port of the ` RD BGA ` board by
232
234
> default. ` flexcomm0 ` is wired to ` GPIO2 ` (RX) and ` GPIO3 ` (TX). Those pins are
233
235
> accessible on ` HD2 ` pin header.
234
236
0 commit comments