]> granicus.if.org Git - esp-idf/commit
Enable checks for encrypted flash in OTA
authorDeomid Ryabkov <rojer@cesanta.com>
Fri, 24 Mar 2017 16:17:15 +0000 (16:17 +0000)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 11 Apr 2017 11:10:26 +0000 (19:10 +0800)
commit516c708fc7bd6d4b77e946d757d538025c007fe1
treeda006bed22207b5646be58248511b4552dd8c896
parentd3703ba80f19929a6cfd753f326cb62ef8524340
Enable checks for encrypted flash in OTA

Even if firmware is compiled without CONFIG_FLASH_ENCRYPTION_ENABLED
Rayionale: CONFIG_FLASH_ENCRYPTION_ENABLED controls whether boot loader
generates keys for encryption or not, but flash encryption can be
configured externally. With this change, it's possible to have boot
loader not generate keys but still have encryption working.

Also fix use of it->part
components/app_update/esp_ota_ops.c