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

11890 commits

Author SHA1 Message Date
Mikolaj Stawiski
93d2566287 Fixed warnings. 2019-03-20 19:47:18 +11:00
Michael Keller
f6bbda1d1b Removed more features from RMDO, SPRACINGF3 to make it fit flash. 2019-03-20 16:20:30 +13:00
Michael Keller
913d942c27
Merge pull request #7831 from McGiverGim/blackbox_ac_iyaw
Add absolute_control_gain and use_integrated_yaw to blackbox headers
2019-03-20 15:20:35 +13:00
Michael Keller
2fc52c46d5
Merge pull request #7827 from McGiverGim/blackbox_dyn_lpf
Add dyn filters to blackbox headers
2019-03-20 15:19:55 +13:00
Michael Keller
0da7422a33
Merge pull request #7826 from McGiverGim/blackbox_dmin
Add d_min to blackbox headers
2019-03-20 15:19:37 +13:00
Dominic Clifton
b7417a6d3d Fix crash when first or second gyro is not detected.
Firmware now silently uses the one it does find.

User can detect this by looking at the `diff` output.
2019-03-19 20:47:01 +01:00
Dominic Clifton
8039a7f42f Fix duplicate transponder task enable attempt.
Kept the second one since there is no rush to enable a transponder upon
boot.
2019-03-19 20:36:52 +01:00
Miguel Angel Mulero Martinez
6a3cb507ce Add absolute_control_gain and use_integrated_yaw to blackbox headers 2019-03-18 15:12:00 +01:00
mikeller
538eb26188 Removed features from MIDELICF3, RMDO, and SPRACINGF3 to make the firmware fit the flash space. 2019-03-19 02:44:00 +13:00
Miguel Angel Mulero Martinez
6157cd324e Add dyn filters to blackbox headers 2019-03-18 09:49:29 +01:00
Miguel Angel Mulero Martinez
75b4e449ff Add d_min to blackbox headers 2019-03-18 08:43:02 +01:00
Michael Keller
4c62d362ee
Merge pull request #7795 from etracer65/dshot_bidir_protocol_check
Disable DSHOT Telemetry if motor protocol is not DSHOT or PROSHOT
2019-03-18 19:33:20 +13:00
Michael Keller
26e6e45514
Merge pull request #7815 from etracer65/dshot_bidir_try_to_enable
Periodically try to activate ESC DSHOT telemetry if enabled but not working
2019-03-18 19:31:08 +13:00
Michael Keller
b2e857439b
Merge pull request #7816 from IllusionFpv/gps-set-new-descent-distance
Set new descent distance
2019-03-18 19:29:53 +13:00
Michael Keller
4ad9ece567
Merge pull request #7821 from mikeller/add_blackbox_device_to_hardware
Added 'blackbox_device' to hardware diff / dump list.
2019-03-18 19:28:09 +13:00
Bruce Luckcuck
81c226e769 Periodically try to activate DSHOT telemetry if enabled but not working
If DSHOT telemetry is enabled but one or more ESC's are not supplying valid telemetry packets, then send the DSHOT command to enable telemetry once a second while disarmed until all ESC's are supplying telemetry.

Addresses the issue of the flight controller booting without the ESC's powered. In this case the initial command at boot to enable bidirectional telemetry will be missed by the ESC since they're not powered. If the battery is subsequently plugged in the ESC's will default to bidirectional telemetry disabled.

This change will detect that ESC's are not supplying telemetry and attempt to preiodically enable them.
2019-03-17 17:45:08 -04:00
Bruce Luckcuck
9622b83278 DSHOT command non-blocking motor selection fix
Fixes a logic error that would send non-blocking DSHOT commands to all motors regardless of the selected motor index.
2019-03-17 17:01:44 -04:00
Michael Keller
7c6d36167c
Merge pull request #7813 from etracer65/dshot_bidir_arming_disabled
Add arming disabled check if RPM filter enabled but DSHOT telemetry not working
2019-03-18 09:41:46 +13:00
Bruce Luckcuck
89ceb70b3c Add arming disabled check if RPM filter enabled but DSHOT telemetry not working
If the RPM filter is enabled, requires all motors to have received a valid DSHOT telemetry frame before arming is allowed. Otherwise sets the arming disabled reason `ARMING_DISABLED_RPMFILTER`.
2019-03-17 10:36:21 -04:00
Michael Keller
983321280f
Merge pull request #7810 from mikeller/added_missing_baro_qmp6988
Added missing BARO QMP6988 to Unified Target.
2019-03-18 00:13:16 +13:00
Michael Keller
a1badc7f4a
Merge pull request #7809 from hydra/bf-fix-crash-bug-2
Fix memory corruption in I2C code.
2019-03-18 00:13:00 +13:00
Nicola De Pasquale
e19c445702 fix new descent distance to measured gps data minus 5 meters 2019-03-17 08:20:15 +01:00
mikeller
b9f20e72a2 Added 'blackbox_device' to hardware diff / dump list. 2019-03-17 18:54:59 +13:00
Nicola De Pasquale
6ca39c6ad1 moved discentDistance to the beginning of the function 2019-03-17 00:32:44 +01:00
Nicola De Pasquale
c9b9c1bee5 set discentDistance static and moved into updateGPSRescueState() 2019-03-17 00:08:10 +01:00
Michael Keller
d17f1d31f8
Merge pull request #7799 from bnn1044/CLRACINGF7-I2C-PIN-NONE
assign pin SDA2,SCL2 to none
2019-03-17 11:10:11 +13:00
Nicola De Pasquale
5db5967079 set new descent distance 2019-03-16 19:24:54 +01:00
Dominic Clifton
a2936a4d89 Fix memory corruption in I2C code.
Found after write protecting ITCM.  Argument passed to
HAL_I2C_ER_IRQHandler (as `hi2c`) was NULL.

A crash occured due to this line:
```
hi2c->ErrorCode |= HAL_I2C_ERROR_ARLO;
```
2019-03-16 12:10:42 +01:00
mikeller
b2e08f50f5 Added missing BARO QMP6988 to Unified Target. 2019-03-17 00:05:22 +13:00
Michael Keller
f6cef94b28
Merge pull request #7723 from jflyper/bfdev-fix-lps-driver-hardfaulting-on-non-SPI-detect-call
[BARO, LPS] Don't fiddle with SPI if the device is not on SPI bus
2019-03-16 23:55:34 +13:00
Cheng Lin
760de4bc8a assign pin SDA2,SCL2 to none 2019-03-15 16:19:02 -04:00
Bruce Luckcuck
c82d0dbf19 Disable dshot_bidir if motor protocol is not DSHOT or PROSHOT 2019-03-15 12:28:17 -04:00
jflyper
d50e721acf Don't fiddle with SPI if not on SPI 2019-03-15 09:32:35 +13:00
Cheng Lin
805d03ead7 add N25 NOR Flash support
add N25 Nor Flash support

update cc2500:

update from master

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

update from master

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

add unified target files for CLRACINGF7

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

support JEDEC_ID_WINBOND_W25Q128_DTR flash

Amend the title of the new target announcement.

[Docs] Update ARM toolchain version link

The currently listed version (5.4.1) is insufficient, version 7.3.1 (represented as 7-2018-q2-update) is expected in make\tools.mk (GCC_REQUIRED_VERSION ?= 7.3.1)

add N25 NOR Flash support

add N25 Nor Flash support

update cc2500:

update from master

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

update from master

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

add unified target files for CLRACINGF7

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

Add M25 support and unified_target

 remove Manufacturers ID for CLFC

add N25 NOR Flash support

add N25 Nor Flash support

update cc2500:

update from master

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

update from master

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

add unified target files for CLRACINGF7

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

support JEDEC_ID_WINBOND_W25Q128_DTR flash

Amend the title of the new target announcement.

[Docs] Update ARM toolchain version link

The currently listed version (5.4.1) is insufficient, version 7.3.1 (represented as 7-2018-q2-update) is expected in make\tools.mk (GCC_REQUIRED_VERSION ?= 7.3.1)

add N25 NOR Flash support

add N25 Nor Flash support

update cc2500:

update from master

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

update from master

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

add unified target files for CLRACINGF7

Signed-off-by: Cheng Lin <bnn1044@gmail.com>

Add M25 support and unified_target

 remove Manufacturers ID for CLFC

undo changes manufaturers id file
2019-03-14 08:45:51 -04:00
Michael Keller
d703616422
Merge pull request #7743 from joelucid/W25Q128_DTR
support JEDEC_ID_WINBOND_W25Q128_DTR flash
2019-03-14 02:35:27 +13:00
Michael Keller
e7d9f72bc6
Merge pull request #7760 from klutvott123/move-cache-enabling
Move enabling of caches for F7
2019-03-12 23:34:49 +13:00
Michael Keller
337acfabf4
Merge pull request #7757 from AndersHoglund/spektrum_tm_dshot_rpm_sensor
Spektrum tm dshot rpm sensor
2019-03-12 23:34:05 +13:00
Michael Keller
0deca9c6f5
Merge pull request #7754 from mikeller/fix_burst_dshot_without_dma
Fixed burst Dshot for pins that have no DMA available.
2019-03-12 00:27:26 +13:00
Michael Keller
2eb0a578a5
Merge pull request #7753 from mikeller/fix_f7_timer_definitions
Fixed missing timer definition for F7.
2019-03-11 22:15:30 +13:00
mikeller
eed54680d2 Moved things around to make them more consistent and capture all error states. 2019-03-11 13:32:15 +13:00
mikeller
2ce19e89a1 Added the 'bare' modifier to CLI 'diff' / 'dump' commands. 2019-03-11 13:32:15 +13:00
Michael Keller
b1a63a0253
Merge pull request #7747 from etracer65/fix_beacon_dump
Fix CLI beacon dump output
2019-03-11 13:25:17 +13:00
Anders Hoglund
49b4ee9f9a Spektrum TM. Added support for BiDirectional Dshot ESC rpm sensor. 2019-03-10 21:36:13 +01:00
Hans Christian Olaussen
3597e899c9 Move enabling of caches for F7
Moves cache enabling from SystemInit() to init() as it is not recommended to enable caches before entering main function.
2019-03-10 20:11:26 +01:00
Michael Keller
95c6b52c8e
Merge pull request #7742 from mikeller/fix_diff_profile_rates
Fixed 'diff'/'dump' for 'profile' and 'rates'.
2019-03-10 23:07:31 +13:00
mikeller
8cbdaa6267 Fixed burst Dshot for pins that have no DMA available. 2019-03-10 23:03:03 +13:00
mikeller
a5753600ed Fixed missing timer definition for F7. 2019-03-10 22:13:12 +13:00
Bruce Luckcuck
607bb64855 Fix CLI beacon dump output
Previously the `beacon` portion of a `dump` would display the flags associated with `beeper` rather then only the limited set for `beacon`. This would result in output that would cause errors if copy/pasted back in as commands.
2019-03-09 15:27:16 -05:00
Michael Keller
9c4e750f39
Merge pull request #7739 from TheIsotopes/patch-1
remove baro_hardware from dump hardware list
2019-03-10 08:50:08 +13:00
Thorsten Laux
9df9b87f44 support JEDEC_ID_WINBOND_W25Q128_DTR flash 2019-03-09 12:09:28 +01:00