Skip to content

lmilojevicc/zmk-wireless-corne

Repository files navigation

Corne ZMK Configuration

This keyboard is not the same as foostan's Corne. It will not work with standard corne firmware.

Setup Instructions

  1. Fork this repository
  2. Enable GitHub Actions in your forked repository
  3. Navigate to Actions tab and enable workflows
  4. Edit files manually and commit them or use keymap editor

Keymap Diagram

Diagram of config/corne.keymap

Building Firmware Locally

Set-up local enviroment

  1. Create a new virtual environment:
python3 -m venv .venv
  1. Activate the virtual environment:
source .venv/bin/activate
  1. Install west:
pip install west
  1. Initialize the application and update to fetch modules, including Zephyr:
west init -l config
west update
  1. Export a Zephyr CMake package. This allows CMake to automatically load boilerplate code required for building Zephyr applications.
west zephyr-export
  1. Install the additional dependencies found in Zephyr's requirements-base.txt:
pip install -r zephyr/scripts/requirements-base.txt
  1. Install Zephyr SDK.

Build Left

west build -s zmk/app -d build/left -b "corne_left" -- -DSHIELD="nice_view" -DZMK_EXTRA_MODULES="<absolute-path>/zmk-wireless-corne/zephyr" -DZMK_CONFIG="<absolute-path>/zmk-wireless-corne/config"

Build Right

west build -s zmk/app -d build/right -b "corne_right" -- -DSHIELD="nice_view" -DZMK_EXTRA_MODULES="<absolute-path>/zmk-wireless-corne/zephyr" -DZMK_CONFIG="<absolute-path>/zmk-wireless-corne/config"

Move Compiled firmware to build folder

mv build/left/zephyr/zmk.uf2 build/nice_left
mv build/right/zephyr/zmk.uf2 build/nice_right

Troubleshooting Common Issues

Missing elftools Package

If you encounter an error related to missing elftools, follow these steps:

  1. Install the required package (it might say it is already installed but proceed with next step):

    pip install pyelftools
  2. Activate your Python virtual environment again (for some reason this fixes it):

    source .venv/bin/activate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages