zephyr/scripts/west_commands/runners
Martí Bolívar 1eef1e3c12 scripts: runners: fix openocd on Windows
Commit 3124c02 ("cmake: flash/debug: refactor runner configuration")
changed the way the hex_file and elf_file inputs in the RunnerConfig
object are created. In particular, they are now host-style paths.

This breaks flashing with openocd on Windows, which doesn't handle that
properly. Fix that by "casting" the internal hex_file and elf_file
attributes to POSIX paths.

Fixes: #28138
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-09-09 10:51:29 +02:00
..
__init__.py scripts: runners: trivial comment and docstring fixes 2020-09-03 16:49:09 -05:00
blackmagicprobe.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
bossac.py scripts: bossac: automatically pull the flash offset from the config 2020-07-02 08:23:03 -04:00
canopen_program.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
core.py scripts: runners: switch RunnerConfig to NamedTuple 2020-09-03 16:49:09 -05:00
dediprog.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
dfu.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
esp32.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
hifive1.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
intel_s1000.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
jlink.py west: runners: jlink: add support for -nogui 1 command line parameter 2020-08-20 13:04:37 -05:00
mdb.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
misc.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
nios2.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
nrfjprog.py scripts: west_commands: handle EOFError in nrfjprog.py 2020-08-31 12:56:20 +02:00
nsim.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
openocd.py scripts: runners: fix openocd on Windows 2020-09-09 10:51:29 +02:00
pyocd.py runners: Implement --erase option in pyocd runner 2020-07-23 10:30:47 +02:00
qemu.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
stm32flash.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00
xtensa.py runners: enforce RunnerCaps via create() indirection 2020-06-25 12:14:25 +02:00