zephyr/scripts
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
..
checkpatch scripts: cleanup scripts directory 2018-04-03 09:28:09 -04:00
ci ci: verify author identity 2017-11-24 10:21:53 -05:00
cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
cross_compiler toolchains: fix xtools configurations 2017-10-12 16:27:12 -05:00
dts scripts: extract_includes_dts: Remove usage of cell_string yaml attribute 2018-05-10 10:38:23 -05:00
footprint size_report: Don't assume all paths start with ZEPHYR_BASE 2018-01-29 23:59:16 +05:30
gitlint gitlint: fix check for line_count 2018-01-11 10:48:03 -05:00
kconfig menuconfig: Add .config loading dialog 2018-05-18 20:17:52 +03:00
meta/west scripts: west: introduce common runner configuration 2018-05-19 07:01:39 +03:00
sanity_chk sanitycheck: support skipped tests, enhance device handler 2018-05-08 07:56:18 -04:00
support scripts: make runner a west subpackage 2018-05-19 07:01:39 +03:00
.gitignore
check_host_is_ok.py cmake: Give descriptive error to user when cloned with core.autocrlf 2018-01-10 22:12:27 -05:00
check_link_map.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
checkpatch.pl checkpatch: downgrade COMPLEX_MACRO to a warning 2018-05-08 08:56:12 -07:00
checkstack.pl
dir_is_writeable.py cmake: Add function for checking if a directory is write-able 2018-04-27 12:06:02 +02:00
elf_helper.py userspace: fix kobj detection declared extern 2018-05-16 17:00:27 -07:00
file2hex.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
filter-known-issues.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
gen_alignment_script.py arm: Add app data section alignment constraints 2018-02-06 15:31:16 -08:00
gen_gdt.py cmake: Fix "make VERBOSE=1" 2018-01-10 22:14:53 -05:00
gen_idt.py cmake: Fix "make VERBOSE=1" 2018-01-10 22:14:53 -05:00
gen_kobject_list.py k_poll: expose to user mode 2018-05-17 23:34:03 +03:00
gen_mmu_x86.py cmake: Fix "make VERBOSE=1" 2018-01-10 22:14:53 -05:00
gen_offset_header.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
gen_priv_stacks.py scripts: Covert scripts to use elf_helper.py 2018-02-06 15:31:16 -08:00
gen_syscall_header.py gen_syscall_header.py: fix include issue 2018-03-28 20:52:08 -04:00
gen_syscalls.py gen_syscalls.py: fix include issue 2018-03-28 20:52:08 -04:00
parse_syscalls.py scripts: parse_syscalls: Multiplatform separators 2018-01-11 10:48:56 -05:00
process_gperf.py arm: Generate privileged stacks 2018-02-06 15:31:16 -08:00
py2-requirements.txt doc: install pyocd using pip2 2018-02-06 19:40:42 -05:00
qemu-machine-hack.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
requirements.txt sanitycheck: we need pyserial for sanitycheck 2018-05-08 07:56:18 -04:00
sanitycheck sanitycheck: support skipped tests, enhance device handler 2018-05-08 07:56:18 -04:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh scripts: fix tags.sh to current source tree 2018-01-15 18:30:28 -05:00
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00
west scripts: create meta-tool package, "west" 2018-05-19 07:01:39 +03:00
west-win.py scripts: create meta-tool package, "west" 2018-05-19 07:01:39 +03:00