zephyr/boards/arm/v2m_beetle
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: v2m_beetle: fix conversion to cmake 2017-12-06 16:58:49 -06:00
support
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
Kconfig.board
Kconfig.defconfig
board.cmake scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
board.h
dts.fixup dts: Move fixup files into board dirs 2017-11-09 14:23:41 -06:00
pinmux.c boards: move pinmux driver to board/soc dir 2017-10-31 12:32:34 -04:00
v2m_beetle.dts dts: Move dts files into board dirs 2017-11-09 14:23:41 -06:00
v2m_beetle.yaml update: board names 2017-06-21 20:56:53 -04:00
v2m_beetle_defconfig devicetree: Generate CONFIG_UART_CONSOLE_ON_DEV_NAME from dt 2017-07-11 12:09:10 -05:00