]> granicus.if.org Git - esp-idf/commit
OTA: Fix issues with encrypted OTA
authorAngus Gratton <angus@espressif.com>
Thu, 26 Jan 2017 07:30:32 +0000 (18:30 +1100)
committerAngus Gratton <angus@espressif.com>
Thu, 26 Jan 2017 07:52:35 +0000 (18:52 +1100)
commiteea2788f5a9ea3eb8717145734f6ad6991fc66d3
tree6d414f03f6e49d8a05bde15aeae8281270265e9b
parentd8aae55eebc8c47703593d8c9222dd339d7f5b82
OTA: Fix issues with encrypted OTA

- OTA source can write non-16-byte multiples of data
- Assumption that empty ota_data is 0xFFFFFFFF untrue when encrypted
components/app_update/esp_ota_ops.c
components/bootloader_support/src/bootloader_flash.c
components/spi_flash/partition.c
examples/system/ota/main/ota.c