zephyr/scripts/west_commands
Andrzej Głąbek fb3e8138a2 west_commands: nrfjprog: Add handling of data targeting the XIP region
When a hex file contains some data that needs to be programmed using
the QSPI peripheral (because it targets the XIP region), nrfjprog
needs to be provided with an option that specifies the QSPI erase
method to be used (otherwise, reprogramming will fail).
This commit adds the "--qspisectorerase" option when needed and it
also fixes the programming routine for nRF53, so that data for the
XIP region is not incorrectly interpreted as intended for the network
core.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-06-24 20:29:00 +02:00
..
completion
runners west_commands: nrfjprog: Add handling of data targeting the XIP region 2022-06-24 20:29:00 +02:00
tests west: remove intel_s1000_crb runners 2022-06-13 16:19:51 -04:00
zspdx scripts: zspdx: fix writing custom license IDs 2022-05-23 10:18:06 +02:00
boards.py scripts: west: boards: support listing out-of-tree boards 2021-07-16 07:17:35 -04:00
build_helpers.py
build.py scripts: add board revision help text for west build 2022-02-24 13:44:01 -08:00
completion.py
debug.py
export.py
flash.py
mypy.ini
README.txt
run_common.py west: Fix --openocd-search argument 2022-06-20 10:26:23 +02:00
run_tests.py
sign.py scripts: ensure intended path for edtlib imports 2022-05-13 10:09:45 -07:00
spdx.py
zcmake.py
zephyr_ext_common.py

This directory contains implementations for west commands which are
tightly coupled to the zephyr tree. This includes the build, flash,
and debug commands.

Before adding more here, consider whether you might want to put new
extensions in upstream west. For example, any commands which operate
on the multi-repo need to be in upstream west, not here. Try to limit
what goes in here to Zephyr-specific features.

When extending this code, please keep the unit tests (in tests/) up to
date. The mypy static type checker is also run on the runners package.

To run these tests locally on Windows, run:

   py -3 run_tests.py

On macOS and Linux:

   ./run_tests.py

Note that these tests are run as part of Zephyr's CI when submitting
an upstream pull request, and pull requests which break the tests
cannot be merged.

Thanks!