To run QMK under Windows using the Windows Subsystem for Linux with Fish-Shell, follow these steps:
- do a
sudo apt install git python3 python3-pip - add to path via
set -Ua fish_user_paths $HOME/.local/bin - install qmk:
python3 -m pip install --user qmk - clone repository from windows and to windows filesystem:
git clone https://github.com/0x4a/qmk_firmware.git - there will be some packages missing, so do:
sudo apt install gcc-avr avrdude gcc-arm-none-eabi dfu-util - the
dfu-programmerwon't work because USB support is missing in WSL, so I just symlinked dfu-util to dfu-programmer withsudo ln -s /usr/bin/dfu-util /usr/bin/dfu-programmer. Yes, that will not work how it is intended, but it satisfies qmk's check for dfu-programmer. As we will never use it, and flash via mdloader instead, that should not be a problem. Just remember to not use dfu-programmer or try to flash the board from WSL. As an