File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -120,17 +120,19 @@ Please follow the steps below to generate an application image for OTA upgrades:
120
120
also demonstrated in the `examples/lighting-app/esp32/main/CMakeLists.txt`
121
121
file.
122
122
123
- ```
124
- create_esp_enc_img(${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.bin
125
- ${project_dir}/esp_image_encryption_public_key.pem
126
- ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}-encrypted.bin
127
- app)
128
- ```
123
+ ```
124
+ create_esp_enc_img(${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.bin
125
+ ${project_dir}/esp_image_encryption_public_key.pem
126
+ ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}-encrypted.bin
127
+ app)
128
+ ```
129
129
130
130
3. Append the Matter OTA header
131
131
132
132
```
133
- src/app/ota_image_tool.py create --vendor-id 0xFFF1 --product-id 0x8000 --version 2 --version-str "v2.0" -da sha256 lighting-app-encrypted.bin lighting-app-encrypted-ota.bin
133
+ src/app/ota_image_tool.py create --vendor-id 0xFFF1 --product-id 0x8000 \
134
+ --version 2 --version-str "v2.0" -da sha256 \
135
+ lighting-app-encrypted.bin lighting-app-encrypted-ota.bin
134
136
```
135
137
136
138
4. Use the `lighting-app-encrypted-ota.bin` file with the OTA Provider app.
You can’t perform that action at this time.
0 commit comments