vlaci / Kaleidoscope

Firmware for the Keyboardio Model 01 and other keyboards with AVR or ARM MCUs.

Home Page:http://keyboard.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kaleidoscope

Flexible firmware for Arduino-powered keyboards.

This package contains the "core" of Kaleidoscope and a number of example firmware "Sketches".

Getting Started

If you want to use Kaleidoscope to customize or compile a "sketch" to power a supported keyboard, the fastest way to get started is to use the Arduino IDE. You can find setup instructions on kaleidoscope.readthedocs.io

If you prefer to work from the command line or intend to work on Kaleidscope itself, please follow the instructions below. It's important to note that the Arduino IDE needs the source code laid out in a slightly different arrangement than you'll find in this repository. If you want to use the Arduino IDE, you should follow these instructions instead. Even if you're using the command line, you may want to refer to the docs for troubleshooting steps.

Use git to check out a copy of Kaleidoscope

  1. Open a commandline shell and navigate to where you want to check out Kaleidoscope.

For the purposes of this tutorial, we'll assume your checkout is in a directory called kaleidoscope inside a directory called git in your home directory.

$ mkdir ${HOME}/git
$ cd ${HOME}/git
  1. Download the latest version of Kaleidoscope
$ git clone https://github.com/keyboardio/Kaleidoscope
  1. Ask Kaleidoscope to install the compiler toolchain, arduino-cli and platform support
$ cd ${HOME}/git/Kaleidoscope
$ make setup
  1. Tell your shell where to find your Kaleidoscope installation. This example is for bash. If you're using another shell, consult the shell's documentation for instructions about how to set an environment variable
$ export KALEIDOSCOPE_DIR=${HOME}/git/Kaleidoscope

$ echo "export KALEIDOSCOPE_DIR=${HOME}/git/Kaleidoscope" >> ${HOME}/.bash_profile
  1. Build the Kaleidoscope Firmware for your keyboard

(This part assumes you're building firmware for the Keyboardio Atreus)

$ cd examples/Devices/Keyboardio/Atreus

$ make compile
  1. Install your firmware
$ make flash

<3 jesse

About

Firmware for the Keyboardio Model 01 and other keyboards with AVR or ARM MCUs.

http://keyboard.io

License:GNU General Public License v3.0


Languages

Language:C++ 84.0%Language:Python 8.3%Language:C 5.1%Language:CMake 0.7%Language:Perl 0.5%Language:Makefile 0.5%Language:Starlark 0.5%Language:Shell 0.3%Language:Dockerfile 0.0%