-
Notifications
You must be signed in to change notification settings - Fork 893
Closed
Labels
Description
This is not a critical issue but i believe there is a problem with the test which checks whether the sector distribution is optimal or not.
This test can be found here:
mcuboot/boot/bootutil/src/swap_move.c
Line 286 in 59e9f03
| if (num_usable_sectors_pri != (num_sectors_sec + 1)) { |
On my STM32F429 MCU, I have seven 128KB sectors for slot 0, six 128KB sectors for slot 1 and mcuboot complains about non optimal distribution of sectors while everything seems to work.
If i put five sectors in slot1, mcuboot does not complain anymore but the maximum size of an update is reduced by 128KB.
Why a 7/6 distribution would be less optimal than a 7/5 distribution ?
Reactions are currently unavailable