Skip to content

Commit ab3125e

Browse files
committed
some markdown fixes
1 parent fbe9043 commit ab3125e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/platforms/esp32/ota.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,19 @@ Please follow the steps below to generate an application image for OTA upgrades:
120120
also demonstrated in the `examples/lighting-app/esp32/main/CMakeLists.txt`
121121
file.
122122
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+
```
129129
130130
3. Append the Matter OTA header
131131
132132
```
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
134136
```
135137
136138
4. Use the `lighting-app-encrypted-ota.bin` file with the OTA Provider app.

0 commit comments

Comments
 (0)