Skip to content
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

boot: mynewt: Respect minimum write size #1743

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Jul 11, 2023

For MCUs with restriction on minimum write size (STM32H7) unaligned writes resulted in flash write errors preventing any sort of update.

Now MCUBOOT_BOOT_MAX_ALIGN can be set accordingly to value that flash driver uses.
For alignment <= 8 default value provided by mcuboot config is still used.

For MCUs with restriction on minimum write size (STM32H7)
unaligned writes resulted in flash write errors preventing
any sort of update.

Now MCUBOOT_BOOT_MAX_ALIGN can be set accordingly to value
that flash driver uses.
For alignment <= 8 default value provided by mcuboot config
is still used.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
Copy link
Member

@utzig utzig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@utzig utzig merged commit 8581168 into mcu-tools:main Jul 17, 2023
54 checks passed
@kasjer kasjer deleted the kasjer/mynewt-write-align-fix branch July 18, 2023 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants