zephyr/scripts/west_commands
Kuba Sanak c0e31e7d71 flashing: don't give bossac offset parameter unless explicitly provided
This fixes a problem which appeared after bossac version was downgraded
to 1.7 which no longer accepts the -o/--offset parameter. Now the offset
is fed to bossac executable only if it's explicitly provided and not by
default.

Signed-off-by: Kuba Sanak <contact@kuba.fyi>
2020-01-28 12:53:13 -06:00
..
completion
runners flashing: don't give bossac offset parameter unless explicitly provided 2020-01-28 12:53:13 -06:00
tests flashing: don't give bossac offset parameter unless explicitly provided 2020-01-28 12:53:13 -06:00
boards.py
build_helpers.py
build.py scripts: west build: slight --help tweak 2019-12-19 11:29:39 +01:00
completion.py
debug.py
flash.py
README.txt
run_common.py scripts: runners: improve error handling CLI 2020-01-16 10:20:39 -05:00
sign.py scripts: west sign: use edtlib for flash configuration 2019-11-15 07:53:25 -06:00
zcmake.py
zephyr_ext_common.py

This directory contains implementations for west commands which are
tightly coupled to the zephyr tree. Currently, those are 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 just those files that change along with Zephyr
itself.

When extending this code, please keep the unit tests (in tests/) up to
date. You can run the tests with this command from this directory:

$ PYTHONPATH=$PWD py.test

Windows users will need to find the path to .west/west/src in their
Zephyr installation, then run something like this:

> cmd /C "set PYTHONPATH=path\to\zephyr\scripts\west_commands && py.test"

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!