This repository hosts the firmware of the Ultimate Hacking Keyboard.
Please make sure to clone this repo with:
git clone --recursive [email protected]:UltimateHackingKeyboard/firmware.git
This will download the dependent submodules, which are required to build 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.
Please substitute vX with v6 or v7 below according to the actual version of your prototype.
For the left keyboard half, make sure to power it via the right keyboard half (which must be powered via USB). Also connect the left keyboard half to your SEGGER J-Link USB debug probe (which must also be connected via USB). Then in KDS, click on Run -> Run Configurations, select GDB SEGGER J-Link Debugging -> uhk-left vX release jlink, and click on the Debug button.
For the right keyboard half, flash the bootloader first. Then in KDS, click on Run -> Run Configurations, select C/C++ Application -> uhk-right vX release kboot, and click on the Debug button. Please note that this update method only works on Linux out of the box. On other operating systems, you have to execute the relevant commands of the blhost-unix.sh script.
Want to contribute? Let us show you how.