External keyboard definitions for QMK/Via and/or QMK/Vial.
Keyboard-specific notes and validation details live with the keyboard definition:
keyboards/<brand>/<product>/<layout>/readme.md
This tree is targeted at these upstream firmware revisions:
| Firmware tree | Repository | Commit |
|---|---|---|
| Original NuPhy fork | https://github.com/nuphy-src/qmk_firmware.git branch nuphy-keyboards |
f1856912d603800eaca227ae2e1c5c8548fdf261 |
| QMK current upstream | https://github.com/qmk/qmk_firmware.git |
cf93bbb78fe0bbf994663555de41372c4b5e59fe |
| Vial QMK | https://github.com/vial-kb/vial-qmk.git |
00fc4627cd038ac9b7e9b8bf2b40b50e9e88aecb |
The QMK commit is the current upstream qmk/qmk_firmware master revision this
tree is targeted at. The Vial commit is the vial-kb/vial-qmk revision used for
Vial builds.
The included Justfile prepares local firmware trees and symlinks this keyboard
definition into them. It does not copy the keyboard files.
The Justfile has defaults for the Air60 V2. To target a different keyboard,
copy .env.example to .env and override KEYBOARD there:
cp .env.example .envKEYBOARD=nuphy/air60_v2/ansiKEYBOARD is the QMK build target in brand/keyboard/layout form. The
Justfile derives the symlink path from it automatically, so
nuphy/air60_v2/ansi is linked as keyboards/nuphy/air60_v2/ansi inside the
generated QMK/Vial trees. .env is ignored by git.
Prepare both trees:
just prepareBuild VIA firmware:
just build-viaBuild Vial firmware:
just build-vialFlash VIA firmware:
just flash-viaFlash Vial firmware:
just flash-vialThe generated working directories are ignored by git:
qmk_firmware/
qmk_vial/
For VIA, clone QMK at the target commit and symlink the keyboard directory:
git clone https://github.com/qmk/qmk_firmware.git qmk_firmware
cd qmk_firmware
git checkout cf93bbb78fe0bbf994663555de41372c4b5e59fe
git submodule update --init --recursive
mkdir -p keyboards/nuphy
ln -s ../../../keyboards/nuphy/air60_v2 keyboards/nuphy/air60_v2
make nuphy/air60_v2/ansi:viaFor Vial, clone vial-qmk at the target commit and use the same symlink
layout:
git clone https://github.com/vial-kb/vial-qmk.git qmk_vial
cd qmk_vial
git checkout 00fc4627cd038ac9b7e9b8bf2b40b50e9e88aecb
git submodule update --init --recursive
mkdir -p keyboards/nuphy
ln -s ../../../keyboards/nuphy/air60_v2 keyboards/nuphy/air60_v2
make nuphy/air60_v2/ansi:vialUse :via in the QMK tree and :vial in the Vial QMK tree. The Vial QMK tree
is expected to build this keyboard as nuphy/air60_v2/ansi:vial.