2017-03-04 01:10:20 +01:00
2017-02-19 17:06:18 +01:00
2017-02-19 17:02:30 +01:00
2016-12-13 14:50:14 +01:00
2016-02-24 18:52:38 +01:00
2016-12-12 00:24:12 +01:00
2016-02-10 21:04:15 +01:00
2017-02-19 16:55:38 +01:00

Ultimate Hacking Keyboard firmware

This repository hosts the firmware of the Ultimate Hacking Keyboard.

Cloning the repository

Please make sure to clone this repo with:

git clone --recursive git@github.com:UltimateHackingKeyboard/firmware.git

This will download the dependent submodules, which are required to build the firmware.

Importing the firmware

Install Kinetis Design Studio (KDS), import the project by invoking File -> Import -> General -> Existing Projects into Workspace, select the left or right directory depending on the desired firmware, then click on the Finish button.

Bootloader dependency

Before flashing the firmware of the right keyboard half, the bootloader must be flashed, otherwise the firmware will not be started. The reason is that the bootloader gets executed first, then it jumps to the firmware, which is offsetted.

Building and flashing the firmware

Please make sure to substitute vX with the actual version of your prototype (v6, v7, etc.) below.

In KDS, click on Run -> Debug Configurations, then you have two choices:

  1. Select GDB SEGGER J-Link Debugging -> uhk-right vX release jlink to flash the firmware via a SEGGER J-Link USB debug probe. In this case, the target device (left or right keyboard half, or add-on module) must be powered, and it must be connected to the debug probe.

  2. Alternatively, select C/C++ Application -> uhk-right vX release kboot to flash the firmware via the bootloader. This method will be the default one, but right now it's experimental, and not very robust.

Lastly, click on the Debug button to build and flash the firmware.

Contributing

Want to contribute? Let us show you how.

Description
No description provided
Readme 2.2 MiB
Languages
C 90.8%
C++ 3.6%
Linker Script 3.3%
Makefile 1.9%
JavaScript 0.4%