Skip to content

Commit b45df99

Browse files
committed
fix(esp_delta_ota): Fixed the esp_delta_ota_patch_gen script
Unable to get the validation hash due to breaking change in esptool Closes #605
1 parent 9dffeba commit b45df99

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

esp_delta_ota/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.1.3
2+
3+
### Bugfixes:
4+
- Fixed `esp_delta_ota_patch_gen.py` patch generation, by ignoring the case in regex which is used to get validation hash of binary through esptool command, caused due to breaking change in esptool.
5+
16
## 1.1.2
27

38
### Bugfixes:

esp_delta_ota/examples/https_delta_ota/tools/esp_delta_ota_patch_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def create_patch(chip: str, base_binary: str, new_binary: str, patch_file_name:
5454
sys.stdout.close()
5555
sys.stdout = output
5656

57-
x = re.search(r"Validation Hash: ([A-Za-z0-9]+) \(valid\)", content)
57+
x = re.search(r"Validation Hash: ([A-Za-z0-9]+) \(valid\)", content, re.IGNORECASE)
5858

5959
if x is None:
6060
print("Failed to find validation hash in base binary.")

esp_delta_ota/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.1.2"
1+
version: "1.1.3"
22
description: "ESP Delta OTA Library"
33
url: https://github.com/espressif/idf-extra-components/tree/master/esp_delta_ota
44
dependencies:

0 commit comments

Comments
 (0)