Go to file
EMSR f8d2aed791
Fix SPI DMA issue (#55)
* [dma]icm check delete

* remove timer ,save irqs

移除usb 传输定时器,采用直接发送方式

Co-Authored-By: kikoqiu <5524046+kikoqiu@users.noreply.github.com>

* 取消禁止中断设计

Co-Authored-By: kikoqiu <5524046+kikoqiu@users.noreply.github.com>

* 取消 IS_CCM 检查

at32 无CCM 内存,DMA整体可用
同步bf 的修改回来, 清理代码

Co-Authored-By: Steve Evans <SteveCEvans@users.noreply.github.com>
Co-Authored-By: Gaogao <91398548+vangao-gg@users.noreply.github.com>

* 修正缩进

* add  new line

---------

Co-authored-by: gaofeng <1024355591@qq.com>
Co-authored-by: kikoqiu <5524046+kikoqiu@users.noreply.github.com>
Co-authored-by: Steve Evans <SteveCEvans@users.noreply.github.com>
Co-authored-by: Gaogao <91398548+vangao-gg@users.noreply.github.com>
2023-05-11 18:13:23 +08:00
.github [CI Update]: Add EMSRPROTO4 to build CI (#44) 2023-04-03 15:16:21 +00:00
docs at32f403a usb 48mhz fixed 2022-10-01 22:26:22 +08:00
lib change default USBD product string (#39) 2023-03-09 20:49:21 +08:00
make optimize bmi270 driver (#37) 2023-03-09 20:46:45 +08:00
src Fix SPI DMA issue (#55) 2023-05-11 18:13:23 +08:00
unified_targets/configs Interrupt/DMA driven SX1280 interaction for ELRS 2022-02-28 19:50:36 +00:00
.gitattributes Added unified '.gitattributes' file. 2019-10-02 01:05:29 +13:00
.gitignore Add support/ozone to .gitignore 2019-07-10 19:18:47 +02:00
CODE_OF_CONDUCT.md Update Code of Conduct 2022-02-19 02:18:55 +01:00
CONTRIBUTING.md Updated more documentation to match the template. 2020-03-09 13:00:35 +13:00
LICENSE Updated more documentation to match the template. 2020-03-09 13:00:35 +13:00
Makefile compile pass 2022-10-01 22:57:31 +08:00
README.md Update README.md 2023-01-18 12:11:11 +08:00
Vagrantfile Update Vagrant env with libblocksruntime-dev required by unittest. 2017-09-27 18:19:41 +02:00
azure-pipelines.yml Fix Azure pipelines 2021-10-22 18:32:33 +02:00
build_docs.sh at32f403a usb 48mhz fixed 2022-10-01 22:26:22 +08:00

README.md

Betaflight

Latest version Build Status Build Status License: GPL v3

Betaflight is flight controller software (firmware) used to fly multi-rotor craft and fixed wing craft.

This fork differs from Baseflight and Cleanflight in that it focuses on flight performance, leading-edge feature additions, and wide target support.

Events

Date Event

News

Requirements for the submission of new and updated targets

  • 新增 AT32F435VGT7(LQFP 64) AT32F435/7 VMT7(LQFP100) /CGU7 (QFN48) 支持
  • Add support for AT32F435VGT7(LQFP 64) AT32F435/7 VMT7(LQFP100) /CGU7 (QFN48)
  • 调整bmi270 性能
  • modify bmi270 drivers

##Caution & 注意事项

  • betaflight-configutor 需要选中选项-显示所有串口 才能链接
  • set betaflight-configutor Options -show all serial port ,and connect

Features

Betaflight has the following features:

  • Multi-color RGB LED strip support (each LED can be a different color using variable length WS2811 Addressable RGB strips - use for Orientation Indicators, Low Battery Warning, Flight Mode Status, Initialization Troubleshooting, etc)
  • DShot (150, 300 and 600), Multishot, Oneshot (125 and 42) and Proshot1000 motor protocol support
  • Blackbox flight recorder logging (to onboard flash or external microSD card where equipped)
  • Support for targets that use the STM32 F4, G4, F7 and H7 processors
  • PWM, PPM, SPI, and Serial (SBus, SumH, SumD, Spektrum 1024/2048, XBus, etc) RX connection with failsafe detection
  • Multiple telemetry protocols (CRSF, FrSky, HoTT smart-port, MSP, etc)
  • RSSI via ADC - Uses ADC to read PWM RSSI signals, tested with FrSky D4R-II, X8R, X4R-SB, & XSR
  • OSD support & configuration without needing third-party OSD software/firmware/comm devices
  • OLED Displays - Display information on: Battery voltage/current/mAh, profile, rate profile, mode, version, sensors, etc
  • In-flight manual PID tuning and rate adjustment
  • PID and filter tuning using sliders
  • Rate profiles and in-flight selection of them
  • Configurable serial ports for Serial RX, Telemetry, ESC telemetry, MSP, GPS, OSD, Sonar, etc - Use most devices on any port, softserial included
  • VTX support for Unify Pro and IRC Tramp
  • and MUCH, MUCH more.

Installation & Documentation

See: https://github.com/betaflight/betaflight/wiki

Support and Developers Channel

There's a dedicated Slack chat channel here:

https://slack.betaflight.com/

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/

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.

Configuration Tool

To configure Betaflight you should use the Betaflight-configurator GUI tool (Windows/OSX/Linux) which can be found here:

https://github.com/betaflight/betaflight-configurator/releases/latest

Contributing

Contributions are welcome and encouraged. You can contribute in many ways:

  • implement a new feature in the firmware or in configurator (see below);
  • documentation updates and corrections;
  • How-To guides - received help? Help others!
  • bug reporting & fixes;
  • new feature ideas & suggestions;
  • provide a new translation for configurator, or help us maintain the existing ones (see below).

The best place to start is the Betaflight Slack (registration here). Next place is the github issue tracker:

https://github.com/betaflight/betaflight/issues https://github.com/betaflight/betaflight-configurator/issues

Before creating new issues please check to see if there is an existing one, search first otherwise you waste people's time when they could be coding instead!

If you want to contribute to our efforts financially, please consider making a donation to us through PayPal.

If you want to contribute financially on an ongoing basis, you should consider becoming a patron for us on Patreon.

Developers

Contribution of bugfixes and new features is encouraged. Please be aware that we have a thorough review process for pull requests, and be prepared to explain what you want to achieve with your pull request. Before starting to write code, please read our development guidelines and coding style definition.

Azure Pipelines are used to run automatic builds

https://dev.azure.com/Betaflight/Betaflight%20Nightlies/_build

Translators

We want to make Betaflight accessible for pilots who are not fluent in English, and for this reason we are currently maintaining translations into 18 languages for Betaflight Configurator: Català, Deutsch, Español, Euskera, Français, Galego, Hrvatski, Bahasa Indonesia, Italiano, 日本語, 한국어, Latviešu, Português, Português Brasileiro, polski, Русский язык, Svenska, 简体中文. We have got a team of volunteer translators who do this work, but additional translators are always welcome to share the workload, and we are keen to add additional languages. If you would like to help us with translations, you have got the following options:

  • if you help by suggesting some updates or improvements to translations in a language you are familiar with, head to crowdin and add your suggested translations there;
  • if you would like to start working on the translation for a new language, or take on responsibility for proof-reading the translation for a language you are very familiar with, please head to the Betaflight Slack (registration here), and join the '#team_translation' channel - the people in there can help you to get a new language added, or set you up as a proof reader.

Hardware Issues

Betaflight does not manufacture or distribute their own hardware. While we are collaborating with and supported by a number of manufacturers, we do not do any kind of hardware support. If you encounter any hardware issues with your flight controller or another component, please contact the manufacturer or supplier of your hardware, or check RCGroups https://rcgroups.com/forums/showthread.php?t=2464844 to see if others with the same problem have found a solution.

Betaflight Releases

https://github.com/betaflight/betaflight/releases

Open Source / Contributors

Betaflight is software that is open source and is available free of charge without warranty to all users.

Betaflight is forked from Cleanflight, so thanks goes to all those whom have contributed to Cleanflight and its origins.

Origins for this fork (Thanks!):

  • Alexinparis (for MultiWii),
  • timecop (for Baseflight),
  • Dominic Clifton (for Cleanflight),
  • borisbstyle (for Betaflight), and
  • Sambas (for the original STM32F4 port).

The Betaflight Configurator is forked from Cleanflight Configurator and its origins.

Origins for Betaflight Configurator:

  • Dominic Clifton (for Cleanflight configurator), and
  • ctn (for the original Configurator).

Big thanks to current and past contributors:

  • Budden, Martin (martinbudden)
  • Bardwell, Joshua (joshuabardwell)
  • Blackman, Jason (blckmn)
  • ctzsnooze
  • Höglund, Anders (andershoglund)
  • Ledvina, Petr (ledvinap) - IO code awesomeness!
  • kc10kevin
  • Keeble, Gary (MadmanK)
  • Keller, Michael (mikeller) - Configurator brilliance
  • Kravcov, Albert (skaman82) - Configurator brilliance
  • MJ666
  • Nathan (nathantsoi)
  • ravnav
  • sambas - bringing us the F4
  • savaga
  • Stålheim, Anton (KiteAnton)

And many many others who haven't been mentioned....