mcuboot/boot/mbed
Artur Tynecki a3cf3f8041 mbed: Fix calling to BlockDevice::size before initialization
These changes fixes a bug that can cause an uninitialized BlockDevice
to be queried for its size. In some cases, this can return unexpected
results (eg: 0). Move setting block device size after its
initialization.
Co-created: @AGlass0fMilk - George Beckstein

Signed-off-by: Artur Tynecki <artur.tynecki@mobica.com>
Signed-off-by: George Beckstein <george.beckstein@gmail.com>
2022-03-08 09:50:01 -07:00
..
include mbed: Add enable MCUboot logging parameter and fix logging configuration 2022-03-08 09:50:01 -07:00
src mbed: Fix calling to BlockDevice::size before initialization 2022-03-08 09:50:01 -07:00
CMakeLists.txt mbed: Add CMake support and fix files paths 2022-03-08 09:50:01 -07:00
app_enc_keys.c Enable no signature verification configuration for Mbed-OS. 2021-05-12 13:30:06 -06:00
mbed_lib.json mbed: Add the size of the MCU boot header area 2022-03-08 09:50:01 -07:00
mcuboot_main.cpp mbed: Add enable MCUboot logging parameter and fix logging configuration 2022-03-08 09:50:01 -07:00