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

assemble: Assemble without image-1 partition #1974

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

toshbi4
Copy link

@toshbi4 toshbi4 commented May 30, 2024

Motivation

It is impossible to use assemble script with SINGLE_APPLICATION_SLOT application configuration.

https://github.com/mcu-tools/mcuboot/blob/main/boot/zephyr/Kconfig#L62

Testing

Tested on zephyr application with CONFIG_SINGLE_APPLICATION_SLOT enabled and mcuboot + image-0 partition in .dts provided.

Changes

Now image-1 absence exception is triggered only if secondary firmware path was provided with -s argument to the script.

@toshbi4 toshbi4 changed the title assemble: add an opportunity to assemble without image-1 partition assemble: Assemble without image-1 partition Jun 6, 2024
@toshbi4 toshbi4 marked this pull request as ready for review June 6, 2024 09:28
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.

1 participant