zephyr/cmake
Martí Bolívar e4479e2fec cmake: flash: three runners.yaml fixes
There are two problems with the way runners.yaml is being created:

1. The dictionary which contains the arguments for each runner is
   using the runner's name converted to a C identifier instead of the
   runner's name itself. That causes west flash to fail when the two
   are different, e.g. for 'misc-flasher' (runner name), which is
   different than 'misc_flasher' (runner name as C identifier)

2. We need to make sure that the dictionary key maps to an empty list
   if there are no arguments, which normally doesn't happen since the
   runner usually at least takes the path of the file to flash or debug.
   It does happen in the case of misc-flasher, though, since the whole
   point of that runner is that it's an escape hatch for people with
   out of tree scripts that nevertheless want 'west flash' integration
   for things like sanitycheck device testing.

3. A copy/paste error is setting the debug runner to the flash runner.

Fix them all.

Fixes: #23004
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-02-24 14:00:29 +02:00
..
app cmake: allow boards to have extra cmake parametes 2020-02-05 13:04:44 -06:00
backports cmake: Fixed a bug where python 3.8 was not detected on Windows 2019-11-04 14:32:41 +01:00
bintools cmake: Toolchain abstraction: Abstraction of binary tool, strip. 2019-08-02 13:05:59 +02:00
compiler arch: arm64: Support aarch64-gcc compiler 2020-02-01 08:08:43 -05:00
emu x86: intel64: Split 'locore' and 'main' kernel images for QEMU 2020-01-08 07:49:24 -06:00
flash cmake: flash: three runners.yaml fixes 2020-02-24 14:00:29 +02:00
ide
linker/ld cmake: ld: use linker prefix for undefined symbols 2020-01-07 17:09:38 +01:00
makefile_exports cmake: Add option for exporting build metadata to Make 2020-01-23 15:09:12 -05:00
reports cmake: allow appending dependencies to report targets 2020-01-20 18:35:01 -05:00
toolchain cmake: Fix zephyr-sdk's with a single toolchain 2020-02-11 17:48:56 +02:00
usage
util
boards.cmake
ccache.cmake
cfb.cmake generated/cfb_font_dice.h: don't leak absolute paths in comment 2019-06-19 08:40:59 -04:00
dts.cmake cmake: pass extra dtc flags to python scripts 2020-02-05 13:04:44 -06:00
extensions.cmake extensions.cmake: Replace TEXT_START with ROM_START 2020-01-23 03:22:59 -08:00
extra_flags.cmake cmake: extra_flags: fix EXTRA_CPPFLAGS being applied as macros 2019-12-13 13:23:40 -05:00
gcc-m-cpu.cmake arch: arm64: Support aarch64-gcc compiler 2020-02-01 08:08:43 -05:00
generic_toolchain.cmake cmake: Introduce optional Kconfig for toolchains 2020-01-29 12:22:31 -06:00
git.cmake
hex.cmake
host-tools.cmake cmake: Invoke west topdir only with version >= 0.7.1 2020-02-10 22:52:34 +01:00
kconfig.cmake cmake: Introduce optional Kconfig for toolchains 2020-01-29 12:22:31 -06:00
kobj.cmake cmake: Fix missing dependency 2019-05-16 07:47:18 -05:00
pristine.cmake
python.cmake cmake: require python 3.6 or later 2019-12-18 10:15:45 +01:00
target_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
version.cmake cmake: report extra version (rcX) 2020-02-17 14:34:39 -05:00
zephyr_module.cmake