WIP. keyboard firmware for Nordic Semiconductor nRF52840 MCU, specifically the nice!nano board.
- Download the Nordic SDK from here. Version requirements are currently unknown, but 17.0.2 is known to work
- Extract the downloaded SDK to
sdk/
, and modifySDK_PATH
in theMakefile
accordingly - Install the
arm-none-eabi
toolchain (including binutils and gcc), from here - Ensure that the downloaded toolchain is either (a) in your
$PATH
(eg. asarm-none-eabi-gcc
), or modify the variables in theMakefile
accordingly - Download
adafruit-nrfutil
from here (or install viapip
The final folder structure should look something like this:
zkb/
|- kernel/
|- sdk/
|- nrf-sdk-17.0.2/
|- components
|- config
|- ...
Just make
will build a hex file, as well as a DFU .zip
package for flashing in build/
- Place the board into DFU mode (double-tap reset)
- Figure out the path to the device (should be somewhere under
/dev/
) - Run
make flash DEVICE_PATH=/dev/path-to-device