commit | 1eef1e3c1295278b7045b26719e882a03515db86 | [log] [tgz] |
---|---|---|
author | Martí Bolívar <marti.bolivar@nordicsemi.no> | Tue Sep 08 12:29:26 2020 -0700 |
committer | Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no> | Wed Sep 09 10:51:29 2020 +0200 |
tree | dfe1a96028574cb602de59edd8d5fff90243b393 | |
parent | d6fa062a7d3fe322dd50d4e4371f49b6283a0185 [diff] |
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>