Open king-wong opened 5 years ago
details:
(LX P=arty C=mor1kx) toucan@DESKTOP-5N3MAPO:~/litex-buildenv$ sudo cp -a build/conda/share/openocd/scripts/* /mnt/c/Program\ Files/OpenOCD/share/openocd/scripts/ cp: cannot create regular file '/mnt/c/Program Files/OpenOCD/share/openocd/scripts/bitsbytes.tcl': Permission denied​ cp: cannot create regular file '/mnt/c/Program Files/OpenOCD/share/openocd/scripts/board/redbee.cfg': Permission denied
WSL denies permission to /mnt/c/Program\ Files/OpenOCD
I propose a workaround of unzipping OpenOCD to c:OpenOCD instead of c:/Program files.
The bash script and Windows Environmental PATH needs to be changed as well.