From 77dfb3e9e0c1b5e5d57e2381ea9c914543c28654 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Wed, 15 Nov 2023 21:57:03 +0100 Subject: [PATCH] Update clang version in Ubuntu documentation --- docs/development/Building-in-Ubuntu.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/development/Building-in-Ubuntu.md b/docs/development/Building-in-Ubuntu.md index a0e2af8e6c..21873970d6 100644 --- a/docs/development/Building-in-Ubuntu.md +++ b/docs/development/Building-in-Ubuntu.md @@ -6,7 +6,7 @@ This document is tested and based on the latest Ubuntu 22.04 LTS release and can ### Clone Betaflight Repository and Install Toolchain $ sudo apt update && sudo apt upgrade - $ sudo apt install build-essential libblocksruntime-dev libtool git curl clang + $ sudo apt install build-essential libblocksruntime-dev libtool git curl clang-12 $ git clone https://github.com/betaflight/betaflight.git $ cd betaflight $ make arm_sdk_install @@ -37,7 +37,7 @@ Make sure to remove `obj/` and `make clean`, before building again. 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 22.04 +### Flashing a Target with Betaflight Configurator In most Linux distributions the user won't have access to serial interfaces by default. Flashing a target requires configuration of usb for dfu mode. To add this access right type the following command in a terminal: