From c273d3f9ce7cad9242316ca696bb454f0266dc9d Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 26 Jul 2017 23:22:10 -0700 Subject: Add a first pass README --- README.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c07d719 --- /dev/null +++ b/README.md @@ -0,0 +1,61 @@ +# Kaleidoscope + +Flexible firmware for Arduino-powered keyboards + +# Getting Started + +Pick a directory to work in, you'll need to clone multiple repositories. We'll assume you picked `$HOME/kaleidoscope`, if you chose another adapt the commands below accordingly. + +## Setup the Arduino IDE + +Setup the Arduino IDE on your system. Make sure you install at least version 1.6, since older version may not support all required features. + +* On Linux, follow the instructions [on the wiki](https://github.com/keyboardio/Kaleidoscope/wiki/Arduino-Setup-Linux). +* On macOS, install using [homebrew](http://brew.sh/) [cask](https://caskroom.github.io/) with `brew cask install arduino` or download the application from [the official website](https://www.arduino.cc/en/Main/Software) and move it to your `/Applications` folder. + +## Install the Kaleidoscope Hardware Definitions + +```sh +# you'll need to know your arduino sketchbook directory + +# on macOS the default is +SKETCHBOOK_DIR=$HOME/Documents/Arduino +# on Linux the default is +SKETCHBOOK_DIR=$HOME/Arduino + +# make a directory for kaleidoscope, the Model 01 firmware +mkdir $HOME/kaleidoscope + +# go to your kaleidoscope directory +cd $HOME/kaleidoscope + +# then clone the hardware definitions +git clone --recursive https://github.com/keyboardio/Arduino-Boards.git + +# and make them available to the arduino environment +mkdir -p $SKETCHBOOK_DIR/hardware/keyboardio +ln -s $HOME/kaleidoscope/Arduino-Boards $SKETCHBOOK_DIR/hardware/keyboardio/avr +``` + +## Clone and Build the Kaleidoscope Firmware for the Model 01 + +```sh +# go to your keyboardio directory +cd $HOME/kaleidoscope + +# then clone the firmware repository +git clone https://github.com/keyboardio/Model01-Firmware.git + +# and build your firmware! +cd Model01-Firmware + +make flash + +# When the builder tells you to hit return to continue, hold down "prog" on your keyboard and hit return. + +``` + +<3 jesse + +[![Build +Status](https://travis-ci.org/keyboardio/Model01-Firmwaresvg?branch=master)](https://travis-ci.org/keyboardio/Model01-Firmware) -- cgit v1.2.3