1. Genereate ssh key
ssh-keygen
2. Read ssh key
cat .ssh/id_rsa.pub
4. Clone vial qmk
git clone git@github.com:vial-kb/vial-qmk.git
cd vial-qmk/ && make git-submodule && cd ..
qmk setup -H ./vial-qmk/
qmk compile -kb PS17 -km via
8. Generate vial uid
9. Compile via and vial keymap
python3 util/vial_generate_keyboard_uid.py
9. Compile via and vial keymap
qmk compile -kb PS17 -km via
From VIA to VIAL (Torn as example)
1.
keymaps/via/rules.mk
VIAL_ENABLE = yes
VIAL_INSECURE = yes
VIAL_ENCODERS_ENABLE = yes
VIAL_INSECURE = yes
VIAL_ENCODERS_ENABLE = yes
2. via.json change to vial.json, store in keymaps/via/
3. vial-qmk run
python3 util/vial_generate_keyboard_uid.py
4. copy the id add to define under config.h
#define VIAL_KEYBOARD_UID
//problem occured when trying o get VIAL_KEYBOARD_UID
credit to @CheahAlec
Some notes here which shows setup home at
setup.home=C:/Users/chino/qmk_firmware/vial-qm
qmk config -a
Check on pwd to show the default location
/c/Users/chino
pwd
Cd here to allow path from here
cd qmk_firmware/vial-qmk
Or all from here
cd vial_qmk
Successfully run
python3 util/vial_generate_keyboard_uid.py
#define VIAL_KEYBOARD_UID {0x4C, 0x7A, 0x2C, 0x5F, 0x76, 0x33, 0x06, 0x74}
All fine, build hex file located at
c:\users\chino\vial-qmk