1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00
Open Source Flight Controller Firmware
Find a file
Dominic Clifton 1925df26ca Add RSSI PWM on CH2 input.
Also support FrSky 1khz RSSI.  See documentation also added in this
commit.

This commit also cleans up the PWM mapping code.  'mask' didn't need to
be a mask and it wasn't possible to add another 'type' since there were
only 4 possible values when it was a mask and they were already defined.  
Combined with switching to using 16 bits instead of 8 for the mapping
configurations, it's now possible to have 256 types instead of 4 at the
expense of a few bytes of flash.

Moved the RSSI calculation into rx_common.c, previously it was in the
main loop.
2014-05-24 00:01:59 +01:00
docs Add RSSI PWM on CH2 input. 2014-05-24 00:01:59 +01:00
lib Adding the first unit test to verify battery voltage calculations based 2014-05-05 15:29:23 +01:00
obj Latest binaries 2014-05-23 15:42:26 +01:00
src Add RSSI PWM on CH2 input. 2014-05-24 00:01:59 +01:00
support Enable automatic reset after (re)flashing, closes issue #19 2013-11-01 22:47:25 +00:00
targets Updating Olimexino board documentation to cover new HoTT telemetry port. 2014-05-23 13:08:18 +01:00
test fix include file order on flight imu unit test 2014-05-13 16:22:55 +01:00
.gitignore Updating git ignore list to ignore some common files. 2014-04-08 01:20:44 +01:00
baseflight.uvproj adding rxmsp to uvision project 2014-05-01 12:37:20 +09:00
JLinkSettings.ini imported STM32 multiwii port into baseflight dir 2012-02-16 09:39:58 +00:00
Makefile Add RSSI PWM on CH2 input. 2014-05-24 00:01:59 +01:00
README.md Updating readme to point at documentation sources. 2014-05-12 13:32:13 +01:00
startup_stm32f30x_md_gcc.s First commit of port to STM32F3DISCOVERY board. 2014-04-25 01:09:19 +01:00
stm32_flash_f103.ld Merge remote-tracking branch 'multiwii/master' 2014-05-16 00:45:21 +01:00
stm32_flash_f303.ld BUGFIX - Linker script for F10x was not reserving the last 2kb which 2014-05-12 01:36:59 +01:00

Cleanflight

Clean-code version of baseflight flight-controller - flight controllers are used to fly multi-rotor craft and fixed wing craft.

This fork differs from baseflight in that it attempts to use modern software development practices which result in:

  1. greater reliability through code robustness.
  2. easier maintainance through code cleanliness.
  3. easier to develop new features.
  4. easier to re-use code though code de-coupling and modularisation.

The MultiWii software, from which baseflight originated, violates many good software development best-practices. Hopefully this fork will go some way to address them. If you see any bad code in this fork please immediately raise an issue so it can be fixed, or better yet submit a pull request.

Documentation

There is some documentation here: https://github.com/hydra/cleanflight/tree/master/docs If what you need is not covered then refer to the baseflight documentation. If you still can't find what you need then stop by #multiwii on the Freenode IRC network - irc://irc.freenode.net/#multiwii

Contributing

Before making any contributions, take a note of the https://github.com/multiwii/baseflight/wiki/CodingStyle

For this fork it is also advised to read about clean code, here are some useful links: