@@ -15,27 +15,27 @@ into an existing Matter network and can be controlled by this network.
15
15
16
16
<hr >
17
17
18
- - [ Matter K32W1 Lighting Example Application] ( #matter-k32w1-lighting-example-application )
19
- - [ Introduction] ( #introduction )
20
- - [ Bluetooth LE Advertising] ( #bluetooth-le-advertising )
21
- - [ Bluetooth LE Rendezvous] ( #bluetooth-le-rendezvous )
22
- - [ Thread Provisioning] ( #thread-provisioning )
23
- - [ Device UI] ( #device-ui )
24
- - [ Building] ( #building )
25
- - [ ` SMU2 ` Memory] ( #smu2-memory )
26
- - [ LED PWM] ( #led-pwm )
27
- - [ Manufacturing data] ( #manufacturing-data )
28
- - [ Flashing] ( #flashing )
29
- - [ Flashing the ` NBU ` image] ( #flashing-the-nbu-image )
30
- - [ Flashing the host image] ( #flashing-the-host-image )
31
- - [ Debugging] ( #debugging )
32
- - [ OTA] ( #ota )
33
- - [ Convert ` srec ` into ` sb3 ` file] ( #convert-srec-into-sb3-file )
34
- - [ Convert ` sb3 ` into ` ota ` file] ( #convert-sb3-into-ota-file )
35
- - [ OTA factory data] ( #ota-factory-data )
36
- - [ Running OTA] ( #running-ota )
37
- - [ Known issues] ( #known-issues )
38
- - [ Running RPC console] ( #running-rpc-console )
18
+ - [ Matter K32W1 Lighting Example Application] ( #matter-k32w1-lighting-example-application )
19
+ - [ Introduction] ( #introduction )
20
+ - [ Bluetooth LE Advertising] ( #bluetooth-le-advertising )
21
+ - [ Bluetooth LE Rendezvous] ( #bluetooth-le-rendezvous )
22
+ - [ Thread Provisioning] ( #thread-provisioning )
23
+ - [ Device UI] ( #device-ui )
24
+ - [ Building] ( #building )
25
+ - [ ` SMU2 ` Memory] ( #smu2-memory )
26
+ - [ LED PWM] ( #led-pwm )
27
+ - [ Manufacturing data] ( #manufacturing-data )
28
+ - [ Flashing] ( #flashing )
29
+ - [ Flashing the ` NBU ` image] ( #flashing-the-nbu-image )
30
+ - [ Flashing the host image] ( #flashing-the-host-image )
31
+ - [ Debugging] ( #debugging )
32
+ - [ OTA] ( #ota )
33
+ - [ Convert ` srec ` into ` sb3 ` file] ( #convert-srec-into-sb3-file )
34
+ - [ Convert ` sb3 ` into ` ota ` file] ( #convert-sb3-into-ota-file )
35
+ - [ OTA factory data] ( #ota-factory-data )
36
+ - [ Running OTA] ( #running-ota )
37
+ - [ Known issues] ( #known-issues )
38
+ - [ Running RPC console] ( #running-rpc-console )
39
39
40
40
</hr >
41
41
@@ -122,21 +122,26 @@ does a clean soft reset that takes into account Matter shutdown procedure.
122
122
## Building
123
123
124
124
In order to build the Project CHIP example, we recommend using a Linux
125
- distribution (supported Operating Systems are listed in [ BUILDING.md] ( ../../../../../docs/guides/BUILDING.md ) ).
125
+ distribution (supported Operating Systems are listed in
126
+ [ BUILDING.md] ( ../../../../../docs/guides/BUILDING.md ) ).
127
+
128
+ - Make sure that below prerequisites are correctly installed (as described in
129
+ [ BUILDING.md] ( ../../../../../docs/guides/BUILDING.md ) ))
126
130
127
- - Make sure that below prerequisites are correctly installed (as described in [ BUILDING.md] ( ../../../../../docs/guides/BUILDING.md ) ))
128
131
```
129
132
sudo apt-get install git gcc g++ pkg-config libssl-dev libdbus-1-dev \
130
133
libglib2.0-dev libavahi-client-dev ninja-build python3-venv python3-dev \
131
134
python3-pip unzip libgirepository1.0-dev libcairo2-dev libreadline-dev
132
135
```
133
136
134
137
- Step 1: checkout NXP specific submodules only
138
+
135
139
```
136
140
user@ubuntu:~/Desktop/git/connectedhomeip$ scripts/checkout_submodules.py --shallow --platform nxp --recursive
137
141
```
138
142
139
- - Step 2: activate local environment
143
+ - Step 2: activate local environment
144
+
140
145
```
141
146
user@ubuntu:~/Desktop/git/connectedhomeip$ source scripts/activate.sh
142
147
```
@@ -153,7 +158,9 @@ user@ubuntu:~/Desktop/git/connectedhomeip$ source scripts/bootstrap.sh
153
158
```
154
159
user@ubuntu:~/Desktop/git/connectedhomeip$ scripts/setup/nxp/update_nxp_sdk.py --platform common_sdk
155
160
```
156
- Note: By default setup/nxp/update_nxp_sdk.py will try to initialize all NXP SDKs. Arg "-- help" could be used to view all available options.
161
+
162
+ Note: By default setup/nxp/update_nxp_sdk.py will try to initialize all NXP
163
+ SDKs. Arg "-- help" could be used to view all available options.
157
164
158
165
- Start building the application.
159
166
@@ -184,8 +191,8 @@ memory:
184
191
These instances and global variables are placed in ` SMU2 ` memory through name
185
192
matching in the application linker script. They should not be changed or, if
186
193
changed, the names must be updated in ` k32w1_app.ld ` . See
187
- [ k32w1_app.ld] ( ../../../platform/nxp/k32w1/app/ldscripts/k32w1_app.ld )
188
- for names and ` SMU2 ` memory range size.
194
+ [ k32w1_app.ld] ( ../../../platform/nxp/k32w1/app/ldscripts/k32w1_app.ld ) for names
195
+ and ` SMU2 ` memory range size.
189
196
190
197
The OpenThread buffers can be allocated from a 13KB ` SMU2 ` range after a
191
198
successful commissioning process until a factory reset is initiated. This way,
@@ -381,7 +388,6 @@ The OTA image used must be updated to include the new factory data.
381
388
382
389
[ OTA image tool guide] ( ../../../../scripts/tools/nxp/ota/README.md ) .
383
390
384
-
385
391
### Running OTA
386
392
387
393
The OTA topology used for OTA testing is illustrated in the figure below.
@@ -507,11 +513,11 @@ the `chip-console`, a user can send specific commands to the device.
507
513
For button commands, please run ` rpcs.chip.rpc.Button.Event(index) ` based on the
508
514
table below:
509
515
510
- | index | action |
511
- | ----- | ------ |
512
- | 0 | Start/stop BLE advertising |
513
- | 1 | Factory reset the device |
514
- | 2 | Application specific action (e.g. toggle LED) |
515
- | 3 | Soft reset the device |
516
+ | index | action |
517
+ | ----- | --------------------------------------------- |
518
+ | 0 | Start/stop BLE advertising |
519
+ | 1 | Factory reset the device |
520
+ | 2 | Application specific action (e.g. toggle LED) |
521
+ | 3 | Soft reset the device |
516
522
517
523
To reboot the device, please run ` rpcs.chip.rpc.Device.Reboot() ` .
0 commit comments