Hi Simon, I have submitted a PR which hopefully fixes this issue. If you want to try it out, it is here: https://github.com/apache/mynewt-newt/pull/193
Chris On Fri, Jul 13, 2018 at 12:30:12AM -0700, Simon Ratner wrote: > Hi devs, > > At some point between 1.3.0 and 1.4.1, the `newt` tool switched from using > a relative path for the built image when passing it to `openocd`, to using > an absolute path. > > This can be a problem for anyone running a mixed Linux/Windows environment > like cygwin or WSL; relative paths are perfectly transferable between > systems (for example, Linux-native `newt` -> Windows-native `openocd`), > whereas absolute paths are not, because the root mount point is different > (C:/... vs. /mnt/c/...) > > Any pointers to when this change may have happened, and whether it was > intentional or accidental? I remember making a change to newt tool to use > relative paths for this exact reason some time ago ;-) > > Cheers, > simon
