zephyr/cmake
Marti Bolivar 5317f76dec scripts: west: introduce common runner configuration
Continue better integration of the runner subpackage into west by
moving the common runner configuration options into the command
core. This allows commands like "west flash -h" to display help for
common overrides like --kernel-hex.

Adjustments needed to make this happen are:

- Change the build system to separate common configuration values from
  runner-specific options and arguments

- Prepare the runner core by defining a new RunnerConfig class that
  represents the common configuration, and accepting that from a new
  create() method, which replaces create_from_args().

- Convert all concrete runner classes to use the new style of
  argument parsing and initialization.

- Group the command options appropriately for help output readability

There's still a bit of tool-specific stuff in the common
configuration (gdb and openocd configuration in particular); a more
generic way to deal with that will be necessary to better support
things like non-GDB debuggers, but that's out of scope of this patch.

All the runner-specific options are still in the runner packge, which
currently prevents them from being included in "west flash -h" etc.
Fixing that is also out of scope of this patch.

This has the ancillary benefit of getting rid of the legacy 'debug'
argument to ZephyrBinaryRunner, which is no longer appropriate since
verbose debug logging is handled by log.py in west.

Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com>
2018-05-19 07:01:39 +03:00
..
app build: fix git describe call on older Git versions 2018-05-01 16:33:21 -04:00
compiler xtensa: provide XCC compiler support for Xtensa 2018-05-01 16:46:41 -04:00
emu sample: net: RPL mesh sample over QEMU 2018-02-20 14:47:14 +02:00
flash scripts: west: introduce common runner configuration 2018-05-19 07:01:39 +03:00
reports scripts: fix ram_reports and generate bin file if missing 2018-01-29 05:16:52 +05:30
toolchain xtensa: provide XCC compiler support for Xtensa 2018-05-01 16:46:41 -04:00
usage kconfig: Remove targets specific to the C implementation 2018-05-07 21:53:37 +02:00
ccache.cmake
dts.cmake scripts/dts: Make extract_dts_includes generating both files by itself 2018-03-26 14:48:49 -04:00
extensions.cmake scripts: make runner a west subpackage 2018-05-19 07:01:39 +03:00
extra_flags.cmake cmake: Fix EXTRA_LDFLAGS feature 2017-12-05 08:39:43 -05:00
fpu-for-gcc-m-cpu.cmake cmake: indicate single precision floating-point for Cortex-M33 2018-02-23 21:42:22 -06:00
gcc-m-cpu.cmake arch: arc: refactor the soc part of em_starterkit 2018-05-15 09:48:11 +02:00
hex.cmake cmake: fixed version handling 2017-11-08 20:00:22 -05:00
host-tools-zephyr.cmake cmake: fix set_ifndef() usage patterns 2018-03-23 05:32:44 -04:00
host-tools.cmake kconfig: Remove the C Kconfig implementation 2018-05-07 21:53:37 +02:00
kconfig.cmake kconfig: Remove targets specific to the C implementation 2018-05-07 21:53:37 +02:00
kobj.cmake userspace: generate list of kernel object sizes 2018-05-16 17:32:59 -07:00
pristine.cmake
toolchain.cmake cmake: toolchain: Checksum the toolchain to uniquely identify it 2018-04-27 12:06:02 +02:00
version.cmake cmake: Use path-corrected version of ZEPHYR_BASE 2018-01-11 14:59:03 -05:00