zephyr/scripts/support
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
..
runner scripts: runner: add infrastructure for DT-based flashing 2017-12-15 09:57:30 -05:00
quartus-flash.py nios2: add flashing/debug scripts 2016-06-10 15:22:40 +00:00
zephyr_flash_debug.py scripts: runner: use arguments, not environment vars 2017-12-15 09:57:30 -05:00