Compiling firmware for the Moonlander keyboard with QMK
Keywords
moonlander, qmk, keyboard, compile, firmware
First, clone the qmk_firmware
GitHub repo, and make a fork to maintain your custom keyboard firmware. This is what my remotes look like:
cd qmk_firmware
git remote -v
origin git@github.com:kdheepak/qmk_firmware.git (fetch)
origin git@github.com:kdheepak/qmk_firmware.git (push)
qmk git@github.com:qmk/qmk_firmware.git (fetch)
qmk git@github.com:qmk/qmk_firmware.git (push)
Then, compile the firmware using the following from the root of the repository:
make moonlander:kdheepak:flash
The keymaps are located here:
ls keyboards/moonlander/keymaps/kdheepak
Permissions Size Date Modified Git Name
.rw-r--r-- 250 21 Mar 03:54 -- config.h
.rw-r--r-- 5.7k 21 Mar 03:54 -- keymap.c
.rw-r--r-- 292 21 Mar 03:54 -- rules.mk
Modify keymap.c
based on your preferences.
Reuse
Citation
BibTeX citation:
@online{krishnamurthy2022,
author = {Krishnamurthy, Dheepak},
title = {Compiling Firmware for the {Moonlander} Keyboard with {QMK}},
date = {2022-03-20},
url = {https://kdheepak.com/blog/compiling-firmware-for-the-moonlander-keyboard-with-qmk/},
langid = {en}
}
For attribution, please cite this work as:
D.
Krishnamurthy, “Compiling firmware for the Moonlander keyboard
with QMK,” Mar. 20, 2022. https://kdheepak.com/blog/compiling-firmware-for-the-moonlander-keyboard-with-qmk/.