1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
Commit graph

4188 commits

Author SHA1 Message Date
Sami Korhonen
4fd046470b Fix after rebase 2016-10-21 08:51:08 +03:00
Sami Korhonen
907762f2a7 Fix after rebase 2016-10-21 08:51:08 +03:00
Sami Korhonen
2566a0df3d Remove unused declaration 2016-10-21 08:51:08 +03:00
Sami Korhonen
632405cdb7 F7 pwm unify 2016-10-21 08:51:07 +03:00
Sami Korhonen
2a91c807c0 F7 VCP improvements 2016-10-21 08:51:07 +03:00
Sami Korhonen
d53b6584a0 F7 Remove portable.h 2016-10-21 08:51:06 +03:00
Sami Korhonen
24a481c1e8 F7 Enable ADC 2016-10-21 08:51:06 +03:00
Sami Korhonen
8fa8249a15 Enable 4WAY 2016-10-21 08:51:05 +03:00
Sami Korhonen
59d2afb2a2 Fix after rebase 2016-10-21 08:51:05 +03:00
Sami Korhonen
97f554e210 F7 First try on ledstrip 2016-10-21 08:51:04 +03:00
Sami Korhonen
f2e4f9874f F7 enable FPU 2016-10-21 08:51:04 +03:00
Sami Korhonen
fe96320bd0 F7 rework linker scripts 2016-10-21 08:51:04 +03:00
Sami Korhonen
a399c14bf9 F7 first try on DMA SDCARD 2016-10-21 08:51:03 +03:00
Sami Korhonen
6e51f2f9b2 F7 Cleanup 2016-10-21 08:51:03 +03:00
Sami Korhonen
e0fddb3902 Cleanup 2016-10-21 08:51:02 +03:00
Sami Korhonen
1f8805cdf0 squash betaflightF7
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00
Martin Budden
d8da70e3f6 Fixed jumbo frame handling 2016-10-20 16:44:58 +01:00
Martin Budden
92c3fb7d8d Tidied serializeDataflashReadReply 2016-10-20 13:27:49 +01:00
Martin Budden
613239b8c8 Split MSP_WP command into separate function 2016-10-20 13:27:49 +01:00
Martin Budden
60e80c23d7 Increased MSP inbuf size to 256 2016-10-20 13:27:49 +01:00
Martin Budden
1edb0fe33d Split out MSP_DATAFLASH_READ command into separate function 2016-10-20 13:27:49 +01:00
Martin Budden
e78b544139 Fixed unused src warning when not using flash 2016-10-20 13:27:49 +01:00
Martin Budden
b62afbefd8 First cut of MSP using streambuf 2016-10-20 13:27:49 +01:00
Martin Budden
420c73ebaf Fixed CJMCU build 2016-10-20 11:51:10 +01:00
borisbstyle
77fb81915e Merge pull request #1353 from atomiclama/refactor_unused
Refactor to remove duplicate define of UNUSED macro.
2016-10-20 11:29:24 +02:00
Martin Budden
8fee38808a Fixed build error caused by wrong #include 2016-10-20 08:53:13 +01:00
atomiclama
ce1c46ff84 Results from review.
Removed no longer required include build/build_config.h
2016-10-20 08:50:09 +01:00
borisbstyle
23e7ce92cb Merge pull request #1162 from neonbjb/master
Add Synthetic Spektrum RSSI from fade counter
2016-10-20 09:18:21 +02:00
borisbstyle
bfaa2dc029 Clean CJMCU target file for unused define 2016-10-20 09:11:32 +02:00
borisbstyle
706897c187 Convert mixer to float math 2016-10-20 09:05:52 +02:00
Martin Budden
e21e1f50aa Merge pull request #826 from digitalentity/betaflight-mavlink-telem
MAVLink telemetry support
2016-10-20 07:59:02 +01:00
borisbstyle
fd2a091b79 Add second notch default 2016-10-20 00:21:50 +02:00
atomiclama
4afab418fe Refactor to remove duplicate define of UNUSED macro. 2016-10-19 14:52:44 +01:00
Anders Hoglund
b064e7d99c COLIBRI_RACE build failed. Incomplete PR1341. 2016-10-19 10:09:37 +02:00
Martin Budden
9f4b477697 Merge pull request #1348 from martinbudden/bf_common_math_header
Added missing function declaration
2016-10-19 08:56:11 +01:00
Martin Budden
7fcfc47a55 Merge pull request #1342 from martinbudden/bf_rx_msp_refreshrate
Added missing rxRefreshRate to RX MSP
2016-10-19 08:41:47 +01:00
Martin Budden
c2a896c6f3 Added missing function declaration 2016-10-19 08:37:36 +01:00
borisbstyle
f698f99198 Merge pull request #1282 from blckmn/digital_motors
DSHOT600 & 150 -> digital one shot motor (ESC) protocol
2016-10-19 00:24:39 +02:00
Martin Budden
7c6a44b694 Added missing rxRefreshRate to RX MSP 2016-10-18 17:55:13 +01:00
borisbstyle
5e3c974d64 Remove Legacy Pid Controller 2016-10-18 16:49:16 +02:00
blckmn
927a842d8a FURYF3 fix and STM32F3DISCOVERY DSHOT 2016-10-18 23:01:11 +11:00
blckmn
9f742b017d OMNIBUS Support, and updates to filenames etc for cleanliness 2016-10-18 20:27:45 +11:00
kc10kevin
631408e90b FURYF3 and F4 support 2016-10-18 20:27:09 +11:00
blckmn
f2cb0d5dde Updated to utilise new CRC 2016-10-18 19:38:18 +11:00
blckmn
712985a7aa Cleaned up filenames to better reflect purpose
Fixed build issue following rebase
2016-10-18 19:38:18 +11:00
blckmn
4e529642d1 Initial implementation of DSHOT protocol (600 and 150) 2016-10-18 19:38:18 +11:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
borisbstyle
e0b7088767 3.0.1 Defaults // Improve setpoint transition 2016-10-18 09:45:34 +02:00
jflyper
8c03ee2b08 OMNIBUS timerHardware cleanup and I2C support
- I2C permanently enabled on PWM7 & 8 (J3 and J22)
- Enabled external compass on I2C
- Removed LED_STRIP and I2C from timerHardware array
2016-10-18 10:27:40 +09:00
James Betker
3cc398e23e Add Synthetic Spektrum RSSI from fade counter
The Spektrum satellites, when in "slave" or "external"
mode, continously output a counter of lost frames.
By keeping track of how quickly this counter is incrementing,
a pseudo-RSSI can be generated.

This patch:
- Adds a calculation method for generating an RSSI figure from
  the Spektrum fade counter.
- Adds a new configuration option, spektrum_rssi_enabled, which
  takes over rssi_channel and feeds the synthetic RSSI into it
  (on Spektrum RX's only)

Known Limitations:
- The fade counter only works with the satellite is in external mode,
   which is *not* the case when it is bound to the TX via the FC. You
   *must* bind the satellite the old-school way using another RX.
- Total signal loss freezes the RSSI figure (it will not indicate 0%)
- Spektrum RSSI is more "sensitive" than other RSSI figures due to
   the fact it is based on packet loss. What this means is that you will
   generally be flying at 100% signal, even near the boundaries of signal
   loss. Signal loss will occur quickly such that if you see anything below
   75% or so you should immediately turn back.

Testing Instructions:
- Bind a speksat using an external RC RX, not via the FC.
- Configure FC using following commands:
set rssi_channel = 9
save
- Fly quadcopter with whatever RSSI reporting mechanism you use.
2016-10-17 17:46:20 -07:00