Skip to content
Commit 1eef1e3c authored by Martí Bolívar's avatar Martí Bolívar Committed by Ioannis Glaropoulos
Browse files

scripts: runners: fix openocd on Windows



Commit 3124c029 ("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: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent d6fa062a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment