Doing ‘make compile’ takes an obscene amount of time. I didn’t time it, but over an hour I would guess. Resolving libraries especially took a long time.
Well, ok, some code just takes a long time compiling… but then I ran ‘make flash’ not sure it would work with the usb/serial under WSL, but only one way to find out. It starts with the whole resolving libraries again!!! I must be doing something wrong. I shouldn’t have to wait more than an hour every time I want to compile or flash.
If you want to speed up the compile time you need to clone the repo into the WSL home folder e.g.
cd ~
git clone xxxx
and then compile the firmware
If you also wants to flash the keyboard from WSL you need to look into usb passthrough for WSL, here is a link to an MS guide Connect USB devices | Microsoft Learn
Just be aware that if you are running Windows 10 it can be a bit of a hassle, supposedly it should be better under Windows 11.
If you want to compile and flash from a Windows terminal, I suggest you look into using the arduino-cli for Windows, last time I used it for compiling and flashing my keyboard, it was quite easy getting to work.