@@ -25,11 +25,17 @@ Building tizen-arm-light
25
25
ninja -C $PW_PROJECT_ROOT /out/tizen-arm-light
26
26
```
27
27
28
- ## Preparing Tizen SDK certificate
28
+ ## Preparing Tizen SDK certificate (optional)
29
29
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.
33
39
34
40
``` sh
35
41
$TIZEN_SDK_ROOT /tools/ide/bin/tizen certificate \
@@ -59,11 +65,9 @@ rm -r \
59
65
After that, normally call scripts to generate the author certificate and
60
66
security profile mentioned previously.
61
67
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.
67
71
68
72
``` sh
69
73
pkgcmd -u -n org.tizen.matter.example.lighting
@@ -108,37 +112,37 @@ installed.
108
112
109
113
1 . Build app:
110
114
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
+ ```
116
120
117
121
2. SDB connect to device: required to run Tizen commands below if device is
118
122
debugged over network
119
123
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
+ ```
125
129
126
130
3. Install app: it is separated from build app step.
127
131
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
+ ```
133
137
134
138
4. Launch LightingApp with gdbserver attached: require to install app
135
139
previously.
136
140
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
+ ```
142
146
143
147
### Debug
144
148
0 commit comments