Skip to content

Commit 9c3562a

Browse files
Merge pull request betaflight#11245 from haslinghuis/fix_building_in_ubuntu
Update documentation for building in Ubuntu
2 parents 72c70a2 + 2947bae commit 9c3562a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/development/Building in Ubuntu.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Building in Ubuntu
22

33
Building for Ubuntu platform is remarkably easy.
4-
This document is tested and based on the latest Ubuntu 20.04 LTS release and can also be used for WSL.
4+
This document is tested and based on the latest Ubuntu 20.04.03 LTS release and can also be used for WSL(2).
55

66
### Clone betaflight repository and install toolchain
77

8-
$ sudo apt update
9-
$ sudo apt upgrade
10-
$ sudo apt install build-essential
8+
$ sudo apt update && apt upgrade
9+
$ sudo apt install build-essential libblocksruntime-dev git curl clang
1110
$ git clone https://github.com/betaflight/betaflight.git
1211
$ cd betaflight
1312
$ make arm_sdk_install
@@ -29,6 +28,13 @@ Make sure to remove `obj/` and `make clean`, before building again.
2928

3029
### Building Betaflight Configurator
3130

31+
$ sudo apt update && apt upgrade
32+
$ sudo apt install libatomic1 npm
33+
$ sudo npm install -g gulp-cli yarn
34+
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh
35+
$ source ~/.bashrc
36+
$ nvm install v14.18.2 (for exact version please check link below)
37+
3238
See [Betaflight Configurator Development](https://github.com/betaflight/betaflight-configurator#development) for how to build the Betaflight Configurator.
3339

3440
### Flashing a target with Betaflight Configurator on Ubuntu 20.04

0 commit comments

Comments
 (0)