-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow slots with different alignment #326
Comments
We already use |
This is about what is checked by boot_slots_compatible(void), and how swap operation is performed. flash_area_align API allow to cut form hardcode alignment size implementation for zephyr. |
|
For documentation purposes, copying some snippets of public slack discussion here:
@nvlsianpu I think I might need this as well, so I'll try to allow the simulator to already have different sector size support for slots! |
Initial support added with #359 |
Objective is to handle the write/erase alignment being different between internal and external flash devices.
Looks like this shouldn't be not very complicated for combination of devices for which topical both alignment values are powers of 2. So it is possible to use last common multiples for both alignment values,
The text was updated successfully, but these errors were encountered: