Building your own OpenSK Firmware¶
Introduction¶
This guide demonstrates how to build your own OpenSK firmware using GitHub Codespaces.
For instructions to build OpenSK on your local machine, please refer to OpenSK's installation guide.
Requirements¶
Before you start, check that you have the required hardware and software:
- 1x nRF52840 MDK USB Dongle(or w/Case option)
- A GitHub account to use Codespaces
- Latest version of Google Chrome, Mozilla Firefox, Microsoft Edge or Apple Safari
Building OpenSK¶
- Go to GitHub Codespaces and click New codespace to start.
- On the Create a new codespace page, select google/OpenSK repository and the develop branch, then click Create codespace.
- After setting up your codespace, you will see the workspace for OpenSK.
-
In the TERMINAL tab, run the following command to install Rust toolchain:
-
Install Python dependencies:
-
Install
uuid-runtime
if you are missing theuuidgen
command: -
Run the setup script:
-
Run the following command to build the firmware for nRF52840 MDK USB Dongle:
After running this command, the firmware can be found in
target
folder with the namenrf52840_mdk_dfu_merged.hex
. -
Generate the OpenSK firmware in UF2:
The output file
opensk.uf2
is the OpenSK firmware you expect. -
Download the firmware and follow the Getting Started Guide to test your own firmware.