~ / blog / Compiling Firmware for the Moonlander Keyboard with QMK

               

  1 minute(s)

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
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
make moonlander:kdheepak:flash

The keymaps are located here:

ls keyboards/moonlander/keymaps/kdheepak
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.