Note: These instructions are for the Liatris micro controller. Skip/alter the -e CONVERT_TO=liatris
if you are using a ProMicro or Elite-C micro controller.
- Installl qmk, or run it in a nix shell:
nix-shell -p qmk
- Go to the qmk_firmware directory, and compile the firmware:
qmk compile -kb ferris/sweep -km default -e CONVERT_TO=liatris
. This will generate the firmware in form of a.u2f
file inside the qmk_firmware directory. - Hold the "Boot button" on the micro contoller, while attaching the keyboard/controller. If done correctly, it will show up as a USB storage device.
- Mount the storage device.
- Copy the U2F file to the storage device.
- Unmount the storage device.
- Done
I tried to do this in Gentoo, but were unable to get qmk to work properly. After a few days I "gave up" and installed nix package manager (on Gentoo), and it worked perfectely at the first attempt!