Skip to content

cyril-L/keybi_firmware

This branch is 30 commits ahead of, 84 commits behind Nitrokey/nitrokey-pro-firmware:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e20066d · Jul 15, 2020
Jul 14, 2020
Aug 13, 2019
Feb 9, 2018
Jul 15, 2020
Mar 22, 2015
Apr 23, 2015
Aug 24, 2016
Mar 21, 2015
Apr 21, 2020
Feb 26, 2020

Repository files navigation

[WIP] Keybi, keyboard and security key firmware

A minimal keyboard and mouse interface added to the original Nitrokey Pro firmware.

WIP keyboard firmware

Overview

The STM32F103 microcontroller is used by popular smart card related open-source projects like Nitrokey Pro and Gnuk. Using the USB and smart card interfaces leaves about 40 IOs that could be used for our keyboard matrix wiring needs.

Development is currently made on a Nucleo-F103RB development board, wired to a USB connector and a smart card jack (to be fitted with an OpenPGP Card 2.1). The wiring is described in the hardware design of the Nitrokey Pro device. Alternatively, get any other development board equipped with a STM32F103TB and 128KB flash, or design your own keyboard PCB!

Building and Flashing

make [VID=0x20a0] [PID=0x4108] firmware

Parameters:

  • VID: Define Vendor ID
  • PID: Define Product ID

Flashing will depend on your board design. You don't need dedicated hardware for the Nucleo-F103RB, it integrates the ST-LINK debugger/programmer. For custom boards, you will need to use a programmer supporting SWD, like the Black Magic Probe.

The firmware is currently built to be located at address 0x08002000, you will need to flash the first 0x2000 bytes with the dapboot bootloader.

Find more information on the Nitrokey Pro repository.

Releases

No releases published

Packages

No packages published

Languages

  • C 93.2%
  • Assembly 4.4%
  • C++ 1.4%
  • Other 1.0%