zephyr/boards/xtensa/xt-sim
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
..
doc doc: boards: xtensa: convert make to cmake 2017-11-10 18:35:50 -05:00
Kconfig kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
Kconfig.board boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00
Kconfig.defconfig boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00
board.cmake scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
board.h
xt-sim.yaml board: xt-sim: add as a default test platform 2017-08-16 13:05:54 -04:00
xt-sim_D_108mini.yaml boards: xt-sim: add definition for supported configurations 2017-08-16 13:05:54 -04:00
xt-sim_D_108mini_defconfig boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00
xt-sim_D_212GP.yaml boards: xt-sim: add definition for supported configurations 2017-08-16 13:05:54 -04:00
xt-sim_D_212GP_defconfig boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00
xt-sim_D_233L.yaml boards: xt-sim: add definition for supported configurations 2017-08-16 13:05:54 -04:00
xt-sim_D_233L_defconfig boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00
xt-sim_XRC_FUSION_AON_ALL_LM.yaml boards: xt-sim: add definition for supported configurations 2017-08-16 13:05:54 -04:00
xt-sim_XRC_FUSION_AON_ALL_LM_defconfig boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00
xt-sim_defconfig boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00
xt-sim_hifi2_std.yaml boards: xt-sim: add definition for supported configurations 2017-08-16 13:05:54 -04:00
xt-sim_hifi2_std_defconfig boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00
xt-sim_hifi3_bd5.yaml boards: xt-sim: add definition for supported configurations 2017-08-16 13:05:54 -04:00
xt-sim_hifi3_bd5_defconfig boards: xt-sim: make board depend on SIMULATOR_XTENSA 2017-09-11 16:29:55 -04:00