Instructions to build your own version of the firmware

This page covers how to compile the firmware. These instructions are based on the new 3.2 unified firmware.

Preparation of software

  1. Download and install VSCode.
  2. Open VSCode and open the extension tab (this can be done by using the shortcut Ctrl+Shift+X) and search for windows-arm-none-eabi. Install the version by metalcode-eu.
  3. Download and install git.
  4. Then download and install make. Use the “complete package except sources” version. Once installed you will need to add the location of the bin folder that is installed in to your windows path environment setting. Make sure you add them to the system variables and not the user varaibles. While there also add the location of mkdir.exe, which will have been installed with git. It can be found in the usr/bin folder where git is installed. Once thats done, close VSCode and then reopen it.
  5. Close VSCode
  6. Download and install latest GNU Arm Embedded Toolchain. Tick the box at the end to install it to your PATH.

Preparation of firmware code - RRF3.2

Download the following github repositories. The preferred method for doing so is by using a git client (terminal or GUI). This allows for changes made to be tracked. My client of choice (jay_s_uk) is gitkracken.

Clone all of the repositories into the RRFBuild folder.
The resulting structure should look like this.
image

Preparation of firmware code - RRF3.3

Download the following github repositories. The preferred method for doing so is by using a git client (terminal or GUI). This allows for changes made to be tracked. My client of choice (jay_s_uk) is gitkracken.

Clone all of the repositories into the RRFBuild folder.
The resulting structure should look like this.
image

Building the firmware

Open VSCode.
Go file -> open folder and browse to the RRFBuild folder.
Once opened, the firmware can be built using terminal -> run build task and picking the type of build you want to make.

Tags: