1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

16633 commits

Author SHA1 Message Date
limonspb
fecf19b0d7 Dshot commands via MSP 2020-11-29 01:17:33 -06:00
Michael Keller
79c2f79919
Merge pull request #10369 from SteveCEvans/aiodshot
Fix SCB_CleanDCache_by_Addr to be based on portOutputBuffer
2020-11-27 23:34:13 +01:00
Michael Keller
c9ca920b0d
Merge pull request #10294 from ctzsnooze/mixer-fixes-rebase
Dynamic idle and idle related mixer changes
2020-11-27 23:31:58 +01:00
Steve Evans
99ad7bf5e8 Check output, not input buffer 2020-11-26 20:52:18 +00:00
Michael Keller
313a5b193b
Merge pull request #10359 from SteveCEvans/h7mscsrc
Fix DShot cache clean/invalidate
2020-11-24 23:25:37 +01:00
Michael Keller
403a2d0180
Merge pull request #10356 from jflyper/bfdev-nucleoh725zg
[H7] NUCLEOH725ZG target
2020-11-24 21:34:27 +01:00
Michael Keller
de5e0188e8
Merge pull request #10355 from jflyper/bfdev-nucleoh723zg
[H7] NUCLEOH723ZG target
2020-11-24 21:33:28 +01:00
Michael Keller
1bbdf2385c
Merge pull request #10352 from SteveCEvans/aiomsc
Handle H7 RESET_MSC_REQUEST reset case
2020-11-24 21:28:09 +01:00
Steve Evans
080717a407 Fix DShot cache clean/invalidate 2020-11-24 19:27:25 +00:00
Michael Keller
221c5782c1
Merge pull request #10363 from mikeller/fix_compiler_warning
Fixed compiler warnings in FrSky OSD code.
2020-11-24 00:28:46 +01:00
Michael Keller
6e60138725
Merge pull request #10360 from mikeller/immersionrc-irc-ghost-rssi-lq
Implement RSSI (dBm and Pct), LQ, in GHST driver
2020-11-24 00:28:00 +01:00
Michael Keller
31936280e2 Fixed compiler warnings in FrSky OSD code. 2020-11-22 19:15:25 +01:00
anthonycake
8c6fcf2995 Implement RSSI (dBm and Pct), LQ, in GHST driver
Issue #10336

Fix Typo in Ghost driver

Update src/main/osd/osd.c

Co-authored-by: haslinghuis <mark@numloq.nl>

Update src/main/rx/ghst.c

Co-authored-by: haslinghuis <mark@numloq.nl>

Update src/main/rx/rx.c

Co-authored-by: haslinghuis <mark@numloq.nl>

Future-proof GHST driver, while adding RSSI and LQ support

Ensure that future packet types which contain 4 channels of data, plus auxiliary data, are correctly handled by BF releases that predate them.

Implement changes suggested by reviewers

Cosmetics
2020-11-22 18:47:20 +01:00
Michael Keller
76765cd0e8
Merge pull request #10333 from mikeller/enable_spi_transactions
Enabled SPI Transaction support for F4 and F7.
2020-11-22 22:40:56 +13:00
jflyper
57320271be [H7] NUCLEOH723ZG target 2020-11-22 11:07:18 +09:00
jflyper
90c1d6c947 [H7] NUCLEOH725ZG target
This is a test target for Nucleo-H7A3ZI-Q board transplanted with
STM32H725ZG.
2020-11-22 11:06:32 +09:00
Michael Keller
3571fd5489
Merge pull request #10357 from jflyper/bfdev-h723_h725-add
[H7] H723/H725 support addition (usbd_conf_stm32h7xx.c)
2020-11-22 09:12:38 +13:00
jflyper
8c5bc418da [H7] H723/H725 support addition (usbd_conf_stm32h7xx.c) 2020-11-20 02:29:13 +09:00
Michael Keller
df7d53afc2
Merge pull request #10324 from jflyper/bfdev-nucleoh7a3
[H7] Nucleo-H7A3ZI target
2020-11-20 04:31:04 +13:00
Steve Evans
c63447e7e7 Handle H7 RESET_MSC_REQUEST reset case 2020-11-17 20:59:03 +00:00
Michael Keller
31184af37c
Merge pull request #10319 from mikeller/remove_sram2_define
Remove unused SRAM2 define.
2020-11-17 07:24:12 +13:00
Michael Keller
e7edfa99e8
Merge pull request #10337 from MATEKSYS/master
[Target] Add target MATEKH743
2020-11-16 06:29:41 +13:00
Phil Greenland
73f72ea9a3 Fix IRC tramp for both protocol varients.
Prevent IRC tramp from briefly entering pitmode at startup.
Backout of PR #10166, ensuring pitmode can be correctly set from OSD and MSP.
Add CLI option to allow non-conforming tramp implementations to work with betaflight.
2020-11-15 11:37:44 +00:00
Michael Keller
42dd70da35
Merge pull request #10325 from jflyper/bfdev-h7-h723_h725 2020-11-12 05:34:03 +13:00
jflyper
1feb306674 [H7] H723/H725 support 2020-11-11 23:45:15 +09:00
mateksys
e0ccc8be24 [Target] Add target MATEKH743 2020-11-09 16:13:14 +08:00
ctzsnooze
8050ecd1e7 Mixer update: dynamic idle and throttle logging improvements
- all CLI parameters related to dynamic idle alone re-named with the `dyn_idle_` prefix
- when linear throttle scaling is active, the user's set idle value is now correct whether dynamic idle is on or off. Previously, the idle value fell when dynamic idle was activated at the same time as linear throttle scaling.
- enabling dynamic idle no longer causes a deadband at full throttle
- the setpoint throttle value sent to Blackbox does not include the dynamic idle offset
- the throttle value sent to the antigravity and dynamic lowpass code includes throttle scaling, but no other modifiers, to avoid false elevation of the apparent throttle position from dynamic idle and unnecessary transient changes in their filter cutoffs
- Dynamic Idle now uses a modified PI controller during active rpm control phase
- the D factor provides early detection of rapid falls in rpm, e.g. in hard chops. It is filtered heavily. Inadequate `dyn_idle_d_gain` may lead to a transient drop in rpm immediately after cutting throttle. Default is 50.
- the P factor provides fast control over rpm during the active control phase. Too much `dyn_idle_p_gain` may cause oscillation in that phase. Note enough and a slow drop in rpm will be inadequately corrected. Default is 50. Needs to be higher with heavier larger props.
- An integral element does most of the work.  It prevents enduring offsets from the set rpm. The I gain is high when increasing responding to low rpm, and slow to release.  The slow release makes a huge difference and avoids I oscillation. Not enough `dyn_idle_i_gain` and there may be wobble in rpm during the control phase, or the idle value may rise too slowly; too much may cause wobble. Default is 50. Needs to be higher with heavier larger props.
- The DYN_IDLE debug shows idle P, I and D in debugs 0, 1 and 2. minRps stays in debug 3.
- Interactions between throttle and thrust linear, dynamic idle, throttle scaling and throttle boost have been checked and work as they should.
2020-11-09 09:09:17 +11:00
Michael Keller
2662642628 Enabled SPI Transaction support for F4 and F7. 2020-11-08 12:07:35 +01:00
Michael Keller
8ee317f815
Merge pull request #10326 from etracer65/fix_cc2500_common
Fix cc2500_common define block
2020-11-08 12:04:12 +13:00
Bruce Luckcuck
daf07beb81 Fix cc2500_common define block
Define block had its #endif in the wrong place causing most of the code to be excluded if `USE_RX_CC2500_SPI_PA_LNA` wasn't defined.

Also fixes compilation errors for CRAZYBEEF4FR legacy target.

Unified targets weren't affected as they define `USE_RX_CC2500_SPI_PA_LNA` so the error wasn't visible.
2020-11-05 16:37:45 -05:00
jflyper
701b08674b [H7] Nucleo-H7A3ZI target 2020-11-04 22:54:08 +09:00
Michael Keller
4bf3e99e9c
Merge pull request #10318 from jflyper/bfdev-h7-h7a3
[H7] H7A3 support
2020-11-05 02:11:20 +13:00
Michael Keller
7979960cee
Merge pull request #10317 from mikeller/improve_digital_idle_naming
Improved the naming of the digital idle offset getter.
2020-11-04 02:40:26 +13:00
Michael Keller
0cf43e5f24 Remove unused SRAM2 define. 2020-10-31 23:31:02 +01:00
Michael Keller
49679ce0ef
Merge pull request #10247 from SteveCEvans/h7mscsrc 2020-11-01 11:27:52 +13:00
jflyper
697d0f7ed3 [H7] H7A3 support 2020-11-01 00:32:39 +09:00
Steve Evans
31b06cd7d2 Add USB MSC support for H7 2020-10-30 19:30:38 +00:00
Michael Keller
c6d70214f5
Merge pull request #10316 from IllusionFpv/quickrates-rc-expo
Quick rates expo on rc command
2020-10-31 07:40:55 +13:00
Michael Keller
6eac27b2a4
Merge pull request #10315 from atomgomba/include-gyro-to-use-in-log
Include gyro_to_use in blackbox header
2020-10-31 07:40:21 +13:00
Michael Keller
3d7ac0dc6b Improved the naming of the digital idle offset getter. 2020-10-30 16:12:04 +01:00
Michael Keller
9aae36b5e5
Merge pull request #10310 from limonspb/flight_stats_cms_reset
Added persistent stats to CMS
2020-10-30 21:26:11 +13:00
limonspb
54d1c3051a Added persistent stats to CMS 2020-10-29 22:04:54 -05:00
Nicola De Pasquale
979dabf637 added option for expo on rc command 2020-10-29 18:07:32 +01:00
Michael Keller
222710e6a4
Merge pull request #10309 from etracer65/gps_rescue_disable_headfree
Disable HEADFREE flight mode when GPS Rescue is active
2020-10-30 05:56:42 +13:00
Michael Keller
4bf968080d
Merge pull request #10307 from mikeller/add_dynamic_idle_offset_to_blackbox_header
Added the dynamic idle throttle offset to the blackbox header to fix the motor output display.
2020-10-30 05:56:25 +13:00
Kiripolszky Károly
b88d99cbb9 Include gyro_to_use in blackbox header 2020-10-29 16:53:26 +01:00
Michael Keller
d30f5104d0
Merge pull request #10305 from mikeller/move_pg_defaults_into_overflow
Moved parameter group defaults into main flash for STM32F722.
2020-10-30 00:26:03 +13:00
Michael Keller
3aef91a1db
Merge pull request #10306 from TheIsotopes/patch-1
bump SDK to latest Update
2020-10-29 08:26:04 +13:00
Bruce Luckcuck
9c575d9353 Disable HEADFREE flight mode when GPS Rescue is active
The GPS Rescue flight control model doesn't work in HEADFREE mode.
2020-10-27 23:18:40 -04:00
TheIsotopes
80329a61a4
bump SDK to latest Update 2020-10-27 08:27:17 +01:00