zephyr/scripts
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
..
checkpatch checkpatch: add NANO_ESF as a typedef to avoid spacing errors 2017-11-03 10:29:41 -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_dts_includes: fix potential undefined read 2017-12-15 09:57:30 -05:00
footprint size_report: Use the CMake-discovered toolchain instead of ENV vars 2017-12-12 11:42:05 -05:00
gitlint ci: do not treat message parts as xml 2017-10-28 09:00:50 -04:00
kconfig kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
sanity_chk sanitycheck: allow placing parsetab.py in a custom dir 2017-12-11 14:47:08 -05:00
support scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
.gitignore
check_link_map.py check_link_map: fix check for app memory 2017-06-29 07:46:58 -04:00
checkpatch.pl scripts: Update checkpatch to latest from the linux kernel 2017-10-02 18:48:56 -04:00
checkstack.pl
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
file2hex.py build: Add rules in Makefile.gen to generate a hex file 2017-09-18 14:56:16 -04:00
filter-known-issues.py doc: filter-known-issues.py and empty files 2017-09-21 16:58:17 -04:00
gcc-version.sh
gen_gdt.py gen_gdt: add debug statements and simplify logic 2017-11-07 09:31:49 -08:00
gen_idt.py scripts: add version check for pyelftools 2017-07-25 13:41:16 -04:00
gen_kobject_list.py userspace: assign thread IDs at build time 2017-11-03 11:29:23 -07:00
gen_mmu_x86.py gen_mmu_x86.py: decrease verbosity 2017-11-07 09:31:49 -08:00
gen_offset_header.py scripts: fix offset.h header guard 2017-08-01 15:05:13 -04:00
gen_syscall_header.py gen_syscall_header: create dummy handler refs 2017-11-29 14:18:20 -08:00
gen_syscalls.py cmake: Re-organize syscall generation wrt. the build system 2017-12-04 10:51:07 -08:00
headerdep.pl
make-ll
mksysmap
parse_syscalls.py cmake: Re-organize syscall generation wrt. the build system 2017-12-04 10:51:07 -08:00
process_gperf.py kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
qemu-machine-hack.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
requirements.txt scripts: require python module wheel 2017-10-31 12:32:34 -04:00
sanitycheck sanitycheck: remove usage of qemu for generic handlers 2017-12-11 14:47:08 -05:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh
timestamp
uncrustify.cfg
vercomp
waitpid