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

mynewt: Add support for MCUBOOT_SINGLE_APPLICATION_SLOT #1933

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Apr 5, 2024

So far mynewt code required definition of second slot in bsp. Even in cases when overwrite only option was used bsp had to have secondary slot with 0 length or pointing to some unreachable flash or flash area.

Now when BOOTUTIL_SINGLE_APPLICATION_SLOT is set to 1 there is not need for fake flash areas when mcuboot provides way for upgrade like boot serial or other supported ways (USB DFU or USB MSC)

So far mynewt code required definition of second slot in bsp.
Even in cases when overwrite only option was used bsp had to
have secondary slot with 0 length or pointing to some
unreachable flash or flash area.

Now when BOOTUTIL_SINGLE_APPLICATION_SLOT is set to 1
there is not need for fake flash areas when mcuboot
provides way for upgrade like boot serial or other
supported ways (USB DFU or USB MSC)

Signed-off-by: Jerzy Kasenberg <[email protected]>
@kasjer kasjer force-pushed the kasjer/mynewt-single-application-slot branch from a16f093 to 7a00355 Compare April 5, 2024 06:49
@nordicjm nordicjm requested review from d3zd3z and utzig April 8, 2024 08:19
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 39757d6 into mcu-tools:main Apr 8, 2024
55 checks passed
@kasjer kasjer deleted the kasjer/mynewt-single-application-slot branch April 9, 2024 08:06
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