Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: betaflight/betaflight-configurator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 180d141b7ff970f2ffa1c92358393c984c4d7de5
Choose a base ref
..
head repository: betaflight/betaflight-configurator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c6d2aaa7029a8af440383b472910e2201948a92a
Choose a head ref
Showing with 8,589 additions and 7,337 deletions.
  1. +8 −7 .github/workflows/app-build.yml
  2. +0 −17 .github/workflows/app-nightly.yml
  3. +0 −17 .github/workflows/app-weekly.yml
  4. +6 −6 .github/workflows/build-release.yml
  5. +9 −9 .github/workflows/ci.yml
  6. +1 −1 .github/workflows/nightly.yml
  7. +3 −3 .github/workflows/release.yml
  8. +1 −1 .github/workflows/stale.yaml
  9. +2 −2 .github/workflows/translations-pr.yml
  10. +1 −1 .github/workflows/translations-upload.yml
  11. +22 −3 README.md
  12. +378 −369 locales/ca/messages.json
  13. +394 −385 locales/da/messages.json
  14. +342 −394 locales/de/messages.json
  15. +28 −19 locales/en/messages.json
  16. +374 −365 locales/es/messages.json
  17. +204 −228 locales/eu/messages.json
  18. +329 −353 locales/fr/messages.json
  19. +399 −371 locales/gl/messages.json
  20. +388 −376 locales/it/messages.json
  21. +378 −369 locales/ja/messages.json
  22. +379 −370 locales/ko/messages.json
  23. +225 −249 locales/nl/messages.json
  24. +390 −384 locales/pl/messages.json
  25. +377 −368 locales/pt/messages.json
  26. +768 −360 locales/pt_BR/messages.json
  27. +925 −261 locales/ru/messages.json
  28. +377 −386 locales/uk/messages.json
  29. +300 −324 locales/zh_CN/messages.json
  30. +199 −220 locales/zh_TW/messages.json
  31. +3 −0 netlify.toml
  32. +1 −1 package.json
  33. +767 −759 src/css/dark-theme.less
  34. +2 −4 src/css/main.less
  35. +3 −0 src/css/tabs/osd.less
  36. +0 −1 src/css/tabs/pid_tuning.less
  37. +21 −2 src/css/tabs/setup.less
  38. +7 −1 src/js/BuildApi.js
  39. +3 −3 src/js/DarkTheme.js
  40. +19 −5 src/js/Sponsor.js
  41. +1 −0 src/js/VirtualFC.js
  42. +4 −0 src/js/debug.js
  43. +11 −2 src/js/fc.js
  44. +1 −1 src/js/main.js
  45. +5 −4 src/js/model.js
  46. +4 −1 src/js/msp/MSPHelper.js
  47. +2 −1 src/js/port_handler.js
  48. +164 −141 src/js/protocols/stm32usbdfu.js
  49. +15 −4 src/js/serial_backend.js
  50. +10 −6 src/js/tabs/auxiliary.js
  51. +16 −12 src/js/tabs/firmware_flasher.js
  52. +72 −53 src/js/tabs/gps.js
  53. +1 −1 src/js/tabs/onboard_logging.js
  54. +13 −11 src/js/tabs/osd.js
  55. +78 −28 src/js/tabs/pid_tuning.js
  56. +12 −5 src/js/tabs/receiver.js
  57. +67 −24 src/js/tabs/setup.js
  58. +5 −0 src/js/tabs/vtx.js
  59. +2 −0 src/js/utils/checkForConfiguratorUpdates.js
  60. +2 −2 src/main.html
  61. +3 −3 src/tabs/failsafe.html
  62. +1 −1 src/tabs/firmware_flasher.html
  63. +5 −0 src/tabs/gps.html
  64. +3 −1 src/tabs/pid_tuning.html
  65. +14 −8 src/tabs/setup.html
  66. +45 −34 yarn.lock
15 changes: 8 additions & 7 deletions .github/workflows/app-build.yml
Original file line number Diff line number Diff line change
@@ -24,16 +24,16 @@ jobs:
name: Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules/
key: node_modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

@@ -47,22 +47,22 @@ jobs:
needs: test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache Vite
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: cache/
key: vite-${{ inputs.path }}-${{ hashFiles('vite.config.js') }}

- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules/
key: node_modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

@@ -71,6 +71,7 @@ jobs:
- run: yarn build

- name: Push to AWS
if: github.repository_owner == 'betaflight'
uses: jakejarvis/s3-sync-action@master
with:
args: --delete
17 changes: 0 additions & 17 deletions .github/workflows/app-nightly.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/app-weekly.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## This is triggered by the publishing of a release, and will build the assets and attach them.

name: On Release
name: On Release

on:
release:
types: [published]

jobs:
ci:
name: CI
@@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Code Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Fetch build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: List assets
run: ls -al Betaflight-*/*
@@ -32,10 +32,10 @@ jobs:
set -x
ASSETS=()
for asset in Betaflight-*/*; do
ASSETS+=("-a" "$asset")
ASSETS+=("$asset")
echo "$asset"
done
TAG_NAME="${GITHUB_REF##*/}"
gh release edit "${ASSETS[@]}" "${TAG_NAME}"
gh release upload "${TAG_NAME}" "${ASSETS[@]}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -18,16 +18,16 @@ jobs:
name: Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules/
key: node_modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

@@ -59,22 +59,22 @@ jobs:
os: windows-2022
releaseArgs: --win64
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache NW.js
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: cache/
key: nwjs-${{ inputs.debug_build && 'debug' || 'release' }}-${{ runner.os }}-${{ hashFiles('gulpfile.js') }}

- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules/
key: node_modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

@@ -86,7 +86,7 @@ jobs:
if: ${{ matrix.name == 'macOs' }}

- name: Install Java JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
if: ${{ matrix.name == 'Android' }}
with:
distribution: temurin
@@ -104,7 +104,7 @@ jobs:
if: ${{ inputs.debug_build || matrix.name == 'Android' }}

- name: Publish build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Betaflight-Configurator${{ inputs.debug_build == 'true' && '-Debug' || '' }}-${{ matrix.name }}
path: release/
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Fetch build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: release-assets/

6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -34,12 +34,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Fetch build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: release-assets/

- name: Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ github.event.inputs.title }}
@@ -49,4 +49,4 @@ jobs:
files: release-assets/Betaflight-Configurator-*/**
draft: true
prerelease: false
fail_on_unmatched_files: true
fail_on_unmatched_files: true
2 changes: 1 addition & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
This issue has been automatically marked as stale because it
has not had recent activity. It will be closed if no further activity occurs
within a week.
close-issue-message: 'Issue closed automatically as inactive.'
close-issue-message: 'Issue closed automatically as inactive.'
exempt-issue-labels: 'BUG,Feature Request,Pinned'
stale-issue-label: 'Inactive'
stale-pr-message: >
4 changes: 2 additions & 2 deletions .github/workflows/translations-pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Translations download and PR

on:
on:
workflow_dispatch:
schedule:
- cron: '00 3 * * 1'
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download Crowdin translations and create PR
uses: crowdin/github-action@v1
2 changes: 1 addition & 1 deletion .github/workflows/translations-upload.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Upload messages file
uses: crowdin/github-action@1.5.1
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

![Betaflight](http://static.rcgroups.net/forums/attachments/6/1/0/3/7/6/a9088900-228-bf_logo.jpg)

[![Latest version](https://img.shields.io/github/v/release/betaflight/betaflight-configurator)](https://github.com/betaflight/betaflight-configurator/releases) [![Build](https://img.shields.io/github/actions/workflow/status/betaflight/betaflight-configurator/nightly.yml?branch=master)](https://github.com/betaflight/betaflight-configurator/actions/workflows/nightly.yml) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/betaflight-configurator/localized.svg)](https://crowdin.com/project/betaflight-configurator) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=betaflight_betaflight-configurator&metric=alert_status)](https://sonarcloud.io/dashboard?id=betaflight_betaflight-configurator) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Latest version](https://img.shields.io/github/v/release/betaflight/betaflight-configurator)](https://github.com/betaflight/betaflight-configurator/releases) [![Build](https://img.shields.io/github/actions/workflow/status/betaflight/betaflight-configurator/nightly.yml?branch=master)](https://github.com/betaflight/betaflight-configurator/actions/workflows/nightly.yml) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/betaflight-configurator/localized.svg)](https://crowdin.com/project/betaflight-configurator) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=betaflight_betaflight-configurator&metric=alert_status)](https://sonarcloud.io/dashboard?id=betaflight_betaflight-configurator) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Join us on Discord!](https://img.shields.io/discord/868013470023548938)](https://discord.gg/n4E6ak4u3c)


Betaflight Configurator is a crossplatform configuration tool for the Betaflight flight control system.
@@ -57,6 +57,15 @@ The `libatomic` library must also be installed before installing Betaflight Conf
sudo apt install libatomic1
```

On Ubuntu 23.10 please follow these alternative steps for installation:

```
sudo echo "deb http://archive.ubuntu.com/ubuntu/ lunar universe" > /etc/apt/sources.list.d/lunar-repos-old.list
sudo apt update
sudo dpkg -i betaflight-configurator_10.10.0_amd64.deb
sudo apt-get -f install
```

#### Graphics Issues

If you experience graphics display problems or smudged/dithered fonts display issues in Betaflight Configurator, try invoking the `betaflight-configurator` executable file with the `--disable-gpu` command line switch. This will switch off hardware graphics acceleration. Likewise, setting your graphics card antialiasing option to OFF (e.g. FXAA parameter on NVidia graphics cards) might be a remedy as well.
@@ -65,6 +74,8 @@ If you experience graphics display problems or smudged/dithered fonts display is

Unstable testing versions of the latest builds of the configurator for most platforms can be downloaded from [here](https://github.com/betaflight/betaflight-configurator-nightlies/releases/).

The future of the Configurator is moving to a PWA (Progressive Web Application). In this way it will be easier to maintain specially to support different devices like phones, tablets. etc. Is a work in progress but you can have access to the latest snapshot in PWA way without installing anything [here](https://configurator.betaflight.com/) (take into account that some things don't work and are in development).

**Be aware that these versions are intended for testing / feedback only, and may be buggy or broken, and can cause flight controller settings to be corrupted. Caution is advised when using these versions.**

## Languages
@@ -148,9 +159,17 @@ You can also use multiple platforms e.g. `yarn gulp <taskname> --osx64 --linux64

You can use the GitHub `Actions` tab in your fork to build binaries as well. Select `Actions`>`Manual Build`>`Run Workflow`. Choose your custom branch and click `Run workflow`. The workflow will dispatch in a few moments and upon completion, the build "Artifacts" will be available for download from within the workflow run.

## Support
## Support and Developers Channel

There's a dedicated Discord server here:

https://discord.gg/n4E6ak4u3c

We also have a Facebook Group. Join us to get a place to talk about Betaflight, ask configuration questions, or just hang out with fellow pilots.

https://www.facebook.com/groups/betaflightgroup/

If you need help please reach out on the [betaflightgroup](https://betaflightgroup.slack.com) slack channel before raising issues on github. Register and [request slack access here](https://slack.betaflight.com).
Etiquette: Don't ask to ask and please wait around long enough for a reply - sometimes people are out flying, asleep or at work and can't answer immediately.

### Issue trackers

Loading