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

scripts: runners: nrf: Extend the erase options #88551

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

carlescufi
Copy link
Member

See commit messages.

@github-actions github-actions bot added Release Notes To be mentioned in the release notes area: Samples Samples area: West West utility labels Apr 12, 2025
@carlescufi carlescufi assigned carlescufi and unassigned pdgendt Apr 12, 2025
@pdgendt
Copy link
Collaborator

pdgendt commented Apr 13, 2025

The first commit touches a sample, it this intended? Also the commit has no body text.

The correct string is `ERASE_NONE`.

Signed-off-by: Carles Cufi <[email protected]>
@carlescufi
Copy link
Member Author

The first commit touches a sample, it this intended? Also the commit has no body text.

Indeed, a rebase mistake. Thanks for noticing, fixed!

nordicjm
nordicjm previously approved these changes Apr 14, 2025
Instead of providing an `--erase-pages` command, generalize it to a new
`--erase-mode` one that can be set to `none`, `ranges`, or `all`. This
gives the user full control over the erase mode that will be passed on
to nrfutil.

Signed-off-by: Carles Cufi <[email protected]>
The erase mode for any external memory that is mapped to the address
space of the MCU is derived from the internal non-volatile memory erase
mode. In order to allow users to override the default value, add a new
--ext-erase-mode command-line option that takes an erase mode just like
--erase-mode does.

Signed-off-by: Carles Cufi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Samples Samples area: West West utility Release Notes To be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants