zephyr/scripts
Carles Cufi f20168fe89 scripts: runners: nrf: Honor the --erase flag for external memory
Both backends supported as runners for nRF ICs, nrfjprog and nrfutil,
support erasing external memory as part of the programming operation.
Before this patch, and when the firmware was detected to be partially or
fully placed in external flash by inspecting the .hex address range, the
runner would instruct the backend tool to fully erase the external
flash (but the nrfjprog runner would ignore that, always erasing only
the sectors required). Instead, correctly default to erasing only the
sectors that are required to program the new firmware image in both tools,
and erase it completely only when the --erase flag is provided by the user.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-02-05 21:01:57 +01:00
..
build scripts: build: Optimize hex character list generation in file2hex.py 2025-01-28 09:49:01 +01:00
checkpatch arch: remove z_arch_esf_t 2025-01-23 16:32:36 +01:00
ci scripts: ci: check_compliance: Add check for disallowed Kconfigs 2025-02-05 17:49:27 +01:00
coccinelle
coredump scripts: coredump: Fix loading coredumps when thread info is enabled. 2024-12-09 22:06:23 +00:00
dts edtlib: amend Node.props API documentation 2025-01-30 18:29:28 +01:00
footprint
generate_usb_vif python: Format and sort imports 2024-11-25 10:07:13 +01:00
gitlint
kconfig kconfig: Add dt_compat_any_not_has_prop function 2024-12-16 13:09:14 +01:00
logging/dictionary scripts: logging: dictionary: fix parsing of DWARF v5 2024-12-20 12:36:46 +01:00
native_simulator
net
profiling
pylib twister: runner: Log trace on general exception 2025-02-05 14:59:00 +01:00
pylint/checkers
release
ruff scripts: Add helper scripts for ruff baseline excludes 2024-11-19 18:36:54 -05:00
schemas Revert "scripts: support list of images in build info" 2025-01-29 09:27:31 +01:00
support
tests twister: coverage: Data collection and reporting per-test instance 2025-01-30 18:29:08 +01:00
tracing
utils python: Format and sort imports 2024-11-25 10:07:13 +01:00
west_commands scripts: runners: nrf: Honor the --erase flag for external memory 2025-02-05 21:01:57 +01:00
.gitignore
check_maintainers.py python: Format and sort imports 2024-11-25 10:07:13 +01:00
checkpatch.pl scripts: checkpatch: add special consideration for DIR 2025-01-08 01:29:06 +01:00
checkstack.pl
coccicheck
dump_bugs_pickle.py
gen_gcov_files.py
get_maintainer.py
github_helpers.py
list_boards.py scripts: Undo Board.{dir -> directories[0]} renames 2024-10-26 17:14:06 +02:00
list_hardware.py scripts: list_hardware: Do not check qualifiers for run once config 2024-10-26 17:14:06 +02:00
list_shields.py
make_bugs_pickle.py
requirements-base.txt scripts: west_commands: sdk: Display a download progress bar. 2025-01-31 09:38:09 +01:00
requirements-build-test.txt scripts: twister: Add CTest harness 2025-01-10 04:12:42 +01:00
requirements-compliance.txt scripts: Update and lock ruff 2024-12-03 23:30:00 +00:00
requirements-extras.txt scripts: requirements: Remove MCUboot imgtool requirement 2025-01-30 14:16:50 +01:00
requirements-run-test.txt
requirements.txt
series-push-hook.sh
set_assignees.py
snippets.py sysbuild: Add support for snippets 2024-12-27 07:18:13 +01:00
spelling.txt
tags.sh
twister scripts: twister: Python Version Guard 2024-11-04 17:24:24 -05:00
valgrind.supp
west-commands.yml scripts: west-commands: add an entry for the patch command 2024-12-24 11:15:38 +01:00
zephyr_module.py scripts: west_commands: Support out-of-tree runners 2025-01-08 17:02:06 +01:00