You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current flash_area API came from the flash interface used in mynewt. We should instead have an API tailored to the information we need within mcuboot. Some things to improve:
Fixed sector size. Require drivers to present fixed sized sectors. Although as far as we can tell, nobody has ever used mcuboot with varying sector sizes within an area, there is a complex query API to find this out. Reduce this to a simple erase and write size query.
No erase assumption. Remove the erase assumption from the code. Specifically, mcuboot should never assume that erased data returns any particular value.
Better naming. Choose naming more appropriate for our use.
The text was updated successfully, but these errors were encountered:
The current
flash_area
API came from the flash interface used in mynewt. We should instead have an API tailored to the information we need within mcuboot. Some things to improve:The text was updated successfully, but these errors were encountered: