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

bootutil: Disable MCUBOOT_BOOT_MAX_ALIGN assert for non-swap modes #1831

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

butok
Copy link
Contributor

@butok butok commented Oct 4, 2023

  • Assert should be checked only for SWAP update modes.
  • Allow platforms with page size >32 Bytes (e.g. LPC) to use MCUBoot, at least for non-SWAP update modes.

Copy link
Collaborator

@nordicjm nordicjm left a comment

Choose a reason for hiding this comment

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

These are not MCUboot defines

@butok butok force-pushed the disable_assert_non_swap branch from 83eedc9 to fdc6159 Compare October 4, 2023 10:21
@butok
Copy link
Contributor Author

butok commented Oct 4, 2023

These are not MCUboot defines

You are right, Zephyr-specific.
Fixed to MCUBoot-specific.

- Assert should be checked only for SWAP update modes.
- Allow platforms with page size >32 Bytes (e.g. LPC) to use
  MCUBoot, at least for non-SWAP update modes.

Signed-off-by: Andrej Butok <[email protected]>
@butok butok force-pushed the disable_assert_non_swap branch from fdc6159 to 9016b73 Compare October 4, 2023 12:06
@nordicjm nordicjm requested review from de-nordic and d3zd3z October 4, 2023 12:07
@nordicjm nordicjm merged commit 13767d0 into mcu-tools:main Oct 5, 2023
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.

3 participants