mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Update documentation for building in Ubuntu
Update documentation for building in Ubuntu last change
This commit is contained in:
parent
4f8579afc0
commit
2947bae4ea
1 changed files with 10 additions and 4 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Building in Ubuntu
|
# Building in Ubuntu
|
||||||
|
|
||||||
Building for Ubuntu platform is remarkably easy.
|
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
|
### Clone betaflight repository and install toolchain
|
||||||
|
|
||||||
$ sudo apt update
|
$ sudo apt update && apt upgrade
|
||||||
$ sudo apt upgrade
|
$ sudo apt install build-essential libblocksruntime-dev git curl clang
|
||||||
$ sudo apt install build-essential
|
|
||||||
$ git clone https://github.com/betaflight/betaflight.git
|
$ git clone https://github.com/betaflight/betaflight.git
|
||||||
$ cd betaflight
|
$ cd betaflight
|
||||||
$ make arm_sdk_install
|
$ make arm_sdk_install
|
||||||
|
@ -29,6 +28,13 @@ Make sure to remove `obj/` and `make clean`, before building again.
|
||||||
|
|
||||||
### Building Betaflight Configurator
|
### 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.
|
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
|
### Flashing a target with Betaflight Configurator on Ubuntu 20.04
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue