zephyr/boards/arc
Marti Bolivar e33ec242fd scripts: refactor flash/debug scripts to remove "shell"
The Python-based runners have replaced the old shell scripts. Refactor
the build system accordingly:

- FLASH_SCRIPT is now BOARD_FLASH_RUNNER
- DEBUG_SCRIPT is now BOARD_DEBUG_RUNNER

The values, rather than being the names of files, are now the names of
runners in scripts/support/runner. They are still short, descriptive
names like "openocd", "jlink", "em-starterkit", etc.

Adjust the zephyr_flash_debug.py call and runner internals
accordingly. Have each runner class report a name and the commands it
can handle. This lets us move some boilerplate from each do_run()
method into the common run() routine, and enables further improvements
in future patches.

The handles_command() method is temporary, and will be replaced by a
more general mechanism for describing runner capabilities in a
subsequent patch. The initial use case for extending this is to add
device tree awareness to the runners.

To try to avoid user confusion, abort the configuration if an
xxx_SCRIPT is defined.

Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com>
2017-12-15 09:57:30 -05:00
..
arduino_101_sss scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
em_starterkit scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
panther_ss boards: fix board yaml syntax 2017-12-11 14:47:08 -05:00
quark_se_c1000_ss_devboard dts: arc: Get flash address from dts file 2017-11-21 07:05:07 -05:00
index.rst doc: fix sidebar nav issues with board docs 2017-06-27 19:21:29 -04:00