From 2947bae4eacbede2023e9a1a488df86bac58bc03 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Sat, 8 Jan 2022 03:09:53 +0100 Subject: [PATCH] Update documentation for building in Ubuntu Update documentation for building in Ubuntu last change --- docs/development/Building in Ubuntu.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/development/Building in Ubuntu.md b/docs/development/Building in Ubuntu.md index 0a9a32b48..3bc2657cf 100644 --- a/docs/development/Building in Ubuntu.md +++ b/docs/development/Building in Ubuntu.md @@ -1,13 +1,12 @@ # Building in Ubuntu Building for Ubuntu platform is remarkably easy. -This document is tested and based on the latest Ubuntu 20.04 LTS release and can also be used for WSL. +This document is tested and based on the latest Ubuntu 20.04.03 LTS release and can also be used for WSL(2). ### Clone betaflight repository and install toolchain - $ sudo apt update - $ sudo apt upgrade - $ sudo apt install build-essential + $ sudo apt update && apt upgrade + $ sudo apt install build-essential libblocksruntime-dev git curl clang $ git clone https://github.com/betaflight/betaflight.git $ cd betaflight $ make arm_sdk_install @@ -29,6 +28,13 @@ Make sure to remove `obj/` and `make clean`, before building again. ### Building Betaflight Configurator + $ sudo apt update && apt upgrade + $ sudo apt install libatomic1 npm + $ sudo npm install -g gulp-cli yarn + $ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh + $ source ~/.bashrc + $ nvm install v14.18.2 (for exact version please check link below) + See [Betaflight Configurator Development](https://github.com/betaflight/betaflight-configurator#development) for how to build the Betaflight Configurator. ### Flashing a target with Betaflight Configurator on Ubuntu 20.04