Skip to content

Commit b953c0b

Browse files
authored
Update Tizen README for lighting-app example (project-chip#24275)
1 parent 49333d0 commit b953c0b

File tree

1 file changed

+33
-29
lines changed

1 file changed

+33
-29
lines changed

examples/lighting-app/tizen/README.md

+33-29
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,17 @@ Building tizen-arm-light
2525
ninja -C $PW_PROJECT_ROOT/out/tizen-arm-light
2626
```
2727

28-
## Preparing Tizen SDK certificate
28+
## Preparing Tizen SDK certificate (optional)
2929

30-
For packaging the Tizen APP, there is a need to generate an author certificate
31-
and security profile using the commands described below. Change password and
32-
author data as needed.
30+
When building Matter example application, this step is optional. In case when
31+
author certificate and security profile are not found, they will be created
32+
automatically. Automatically generated dummy certificate will have the following
33+
options: name="Matter Example" email="matter@tizen.org" password="0123456789"
34+
35+
In order to create and use custom author certificate, one can use the commands
36+
described below. Change the certificate password and author data as needed. The
37+
security profile alias should not be changed, as the "CHIP" name is used in the
38+
Matter example build system.
3339

3440
```sh
3541
$TIZEN_SDK_ROOT/tools/ide/bin/tizen certificate \
@@ -59,11 +65,9 @@ rm -r \
5965
After that, normally call scripts to generate the author certificate and
6066
security profile mentioned previously.
6167

62-
### Important
63-
64-
Regenerating the author certificate and security profile makes it necessary to
65-
remove the previously installed Tizen app. You can't reinstall an application on
66-
the Tizen device with a different certificate.
68+
Please note, that regenerating the author certificate and security profile makes
69+
it necessary to remove the previously installed Tizen app. You can't reinstall
70+
an application on the Tizen device with a different certificate.
6771

6872
```sh
6973
pkgcmd -u -n org.tizen.matter.example.lighting
@@ -108,37 +112,37 @@ installed.
108112

109113
1. Build app:
110114

111-
```
112-
open the Command Palette (Ctrl+Shift+P) ->
113-
Tasks: Run Task ->
114-
Build LightingApp (Tizen)
115-
```
115+
```text
116+
open the Command Palette (Ctrl+Shift+P) ->
117+
Tasks: Run Task ->
118+
Build LightingApp (Tizen)
119+
```
116120
117121
2. SDB connect to device: required to run Tizen commands below if device is
118122
debugged over network
119123
120-
```
121-
open the Command Palette (Ctrl+Shift+P) ->
122-
Tasks: Run Task -> Connect to device (Tizen) ->
123-
insert IP address and port
124-
```
124+
```text
125+
open the Command Palette (Ctrl+Shift+P) ->
126+
Tasks: Run Task -> Connect to device (Tizen) ->
127+
insert IP address and port
128+
```
125129
126130
3. Install app: it is separated from build app step.
127131
128-
```
129-
open the Command Palette (Ctrl+Shift+P) ->
130-
Tasks: Run Task ->
131-
Install LightingApp (Tizen)
132-
```
132+
```text
133+
open the Command Palette (Ctrl+Shift+P) ->
134+
Tasks: Run Task ->
135+
Install LightingApp (Tizen)
136+
```
133137
134138
4. Launch LightingApp with gdbserver attached: require to install app
135139
previously.
136140
137-
```
138-
open the Command Palette (Ctrl+Shift+P) ->
139-
Tasks: Run Task ->
140-
Launch LightingApp with gdbserver attached (Tizen)
141-
```
141+
```text
142+
open the Command Palette (Ctrl+Shift+P) ->
143+
Tasks: Run Task ->
144+
Launch LightingApp with gdbserver attached (Tizen)
145+
```
142146
143147
### Debug
144148

0 commit comments

Comments
 (0)