TERES/SOFTWARE/A64-TERES/TERES-KBD-RELEASE/README.md

1.4 KiB

TERES-KBD-RELEASE

How to compile the keyboard and touchpad firmware for TERES-I:

  1. Make sure that you are performing these steps on the TERES-I itself.

  2. Go to this directory

cd SOFTWARE/A64-TERES/TERES-KBD-RELEASE/
  1. Download Dean Camera's LUFA USB stack from http://www.fourwalledcubicle.com/. Extract the archive inside TERES-KBD-RELEASE/ to directory lufa-LUFA-170418
unzip lufa-LUFA-170418.zip
  1. The Olimex keyboard + touchpad code is located in TERES-KBD-RELEASE/TERES-HID/. Navigate there to edit the build dependencies:
cd TERES-HID/
  1. Edit the makefile inside TERES-KBD-RELEASE/TERES-HID/:
nano makefile

search for LUFA_PATH and make sure it point to the LUFA library:

LUFA_PATH    = ../lufa-LUFA-170418/LUFA

Save the file and exit the text editor.

  1. Compile:
make
  1. Update the firmware of the TERES-I's keyboard and touchpad firmware:
sudo ./update

You will be prompted to press "fn+Tux+ESC" (function + penguin + escape) keys simultanously at some point. Make sure to do so!

  1. Voila! Update successful!

Note 1: If you wish to play with the behavior yourself edit the sources in TERES-KBD-RELEASE/TERES-HID/.

Note 2: If you have problems with the touchpad and it seems dead, make sure that you haven't disabled it with fn+F3.