> I remember making a change to newt tool to use relative paths Apologies, it was Chris who fixed the relative paths, my fix was for the slashes. But still... ;-) https://github.com/apache/mynewt-newt/commit/c1dfedcd1595882ddd20f042a16fc2ed89260b46#commitcomment-20649609
On Fri, Jul 13, 2018 at 12:30 AM Simon Ratner <[email protected]> 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 >
