mcuboot/sim/mcuboot-sys
Christopher Collins 2adef70e33 Use same format for scratch and slot trailer
Prior to this change, the scratch image trailer had a different format
from a slot image trailer.  Specifically:

1. The scratch trailer only contained a single set of status entries
   (three bytes); the slot trailer contained `BOOT_STATUS_MAX_ENTRIES`
   sets of status entries.

2. The scratch trailer did not contain the `copy_done` field.

This inconsistency required some extra conditional logic in the trailer
handling code.  It is simpler to just use the same trailer format
everywhere.

This commit removes this inconsistency.  Now, the scratch trailer
structure is identical to that of the slot trailer.

Signed-off-by: Christopher Collins <ccollins@apache.org>
2019-05-31 10:15:08 -07:00
..
csupport Add simulator support for RSA-3072 sigs 2019-05-16 14:01:19 -03:00
mbedtls@60fbd5bdf0 Update Mbed-TLS submodule to 2.14.1 2019-01-03 11:22:05 -02:00
src Use same format for scratch and slot trailer 2019-05-31 10:15:08 -07:00
.gitignore sim: Naive move of binding into mcuboot-sys 2017-07-12 15:00:57 -06:00
Cargo.toml Add simulator support for RSA-3072 sigs 2019-05-16 14:01:19 -03:00
build.rs Add simulator support for RSA-3072 sigs 2019-05-16 14:01:19 -03:00