zephyr/scripts/support/runner
Marti Bolivar 3830bc51f2 scripts: runner: add infrastructure for DT-based flashing
Add the necessary infrastructure to the runner core to support
computing flash addresses based on the devicetree. Specifically, add:

- a new RunnerCaps capability, flash_addr, which lets runners declare
  when they support flashing to an arbitrary address

- a common --dt-flash option to all runner command line parsers which
  support this capability, which lets users request flash addresses to
  be computed from device tree

- a ZephyrBinaryRunner helper method, get_flash_address(), which is
  the common code needed to compute a flash address from device
  tree (or return a default value if non-DT based flashing is
  requested). This relies on the BuildConfiguration parser introduced
  in an earlier patch.

Subsequent patches will use this functionality in individual runners.

Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com>
2017-12-15 09:57:30 -05:00
..
__init__.py scripts: runner: add qemu.py, a stand-in for QEMU 2017-10-28 13:31:22 -04:00
arc.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
bossac.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
core.py scripts: runner: add infrastructure for DT-based flashing 2017-12-15 09:57:30 -05:00
dfu.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
esp32.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
jlink.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
nios2.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
nrfjprog.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
openocd.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
pyocd.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
qemu.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00
xtensa.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00