This repository contains custom ZMK configuration for handwired Skeletyl build. The build log for the entire keyboard itself can be found here.
Do note that the keymap file under boards/shield/skeletyl/ is the default keymap, while the one under config/ is the one that will be compiled if it exists. It is heavily advised to leave the default keymap as it is and make your custom changes in the files under the config/ directory.
Create a zmk-workspace and setup a python venv and install west:
mkdir ~/zmk-workspace
cd ~/zmk-workspace
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install west
Setup the zephyr workspace:
west init -m https://github.com/perrin4869/zmk-config --mf config/west.yml
west update
west zephyr-export
pip install -r ~/zmk-workspace/zephyr/scripts/requirements-base.txt
Install the Zephyr SDK.
Build the firmware:
west build -p -d build/left -s zmk/app -b nice_nano_v2 -- -DSHIELD="skeletyl_left" -DZMK_CONFIG=$HOME/zmk-config/config -DZMK_EXTRA_MODULES=$HOME/zmk-config
west build -p -d build/right -s zmk/app -b nice_nano_v2 -- -DSHIELD="skeletyl_right" -DZMK_CONFIG=$HOME/zmk-config/config -DZMK_EXTRA_MODULES=$HOME/zmk-config
west build -p -d build/reset -s zmk/app -b nice_nano_v2 -- -DSHIELD="settings_reset" -DZMK_CONFIG=$HOME/zmk-config/config -DZMK_EXTRA_MODULES=$HOME/zmk-config
The firmware is generated in build/left/zephyr/zmk.uf2, build/right/zephyr/zmk.uf2 and build/reset/zephyr/zmk.uf2.
In order to enable usb logging, pass the flag -S zmk-usb-logging to the west command. Monitor zmk logs using tio /dev/ttyACM0.