Skip to content

Commit 42125b9

Browse files
committed
some more mardown restyling
1 parent ab3125e commit 42125b9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/platforms/esp32/ota.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -109,23 +109,23 @@ Please follow the steps below to generate an application image for OTA upgrades:
109109
[esp_enc_img_gen.py](https://github.com/espressif/idf-extra-components/blob/master/esp_encrypted_img/tools/esp_enc_img_gen.py)
110110
script.
111111
112-
- Use the following command to encrypt the OTA image with the public key:
112+
Use the following command to encrypt the OTA image with the public key:
113113
114-
```
115-
python3 esp_enc_img_gen.py encrypt lighting-app.bin esp_image_encryption_public_key.pem lighting-app-encrypted.bin
116-
```
114+
```
115+
python3 esp_enc_img_gen.py encrypt lighting-app.bin esp_image_encryption_public_key.pem lighting-app-encrypted.bin
116+
```
117117
118118
Optionally, you can use the cmake function `create_esp_enc_img()` to encrypt
119119
the OTA image during the build process. Please find the usage below. This is
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

0 commit comments

Comments
 (0)