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

12526 commits

Author SHA1 Message Date
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
mikeller
afc8952ea3 Fixed 'diff'/'dump' for 'profile' and 'rates'. 2019-03-09 22:41:15 +13:00
Michael Keller
49390594d3
Merge pull request #6399 from hydra/compilation-fixes-1
Compilation fixes 1
2019-03-09 22:08:03 +13:00
Michael Keller
92ed1be027
Merge pull request #7730 from TonyBlit/fix_resc_off
Fix timed GPS RESCUE OFF message condition
2019-03-09 21:52:49 +13:00
Tony Cabello
e279420dd7 Fix RESCUE OFF message timed condition and literal.
Changed RESCUE N/A message literal to be coherent with RESCUE OFF.
2019-03-08 15:17:39 +01:00
TheIsotopes
e2f47473ed
remove baro_hardware from dump hardware list
this one was discussed in #7738 and approved
2019-03-08 12:52:03 +01:00
Michael Keller
52c4e96c88
Merge pull request #7734 from elin-neo/elin-master
Modify some of ELINF405
2019-03-08 23:44:07 +13:00
Thorsten Laux
11c21368c8 remove smart_feedforward 2019-03-08 06:49:09 +01:00
Michael Keller
37dd396593
Merge pull request #7718 from joelucid/40defaults
4.0 defaults
2019-03-08 15:50:54 +13:00
Michael Keller
362a8f4e04
Merge pull request #7736 from mikeller/add_dterm_filter2_type
Added MSP for dterm filter 2 type.
2019-03-08 13:18:17 +13:00
mikeller
b578801208 Fixed conditional scope.
Fix unit tests.
2019-03-08 12:46:48 +13:00
Thorsten Laux
0ba3c5e468 4.0 defaults
address feedback

updated defaults and yaw I scaling

switch integrated yaw off by default
2019-03-08 12:43:49 +13:00
elin-neo
c635e15af0 Modify some of ELINF405
Modify softserial port.
Define camera control pin.
Change esc serial port.
2019-03-08 08:34:05 +09:00
Michael Keller
e44dacd9a6
Merge pull request #6713 from etracer65/cli_batch_command
Add CLI batch support for presenting warnings when pasting configs
2019-03-08 12:10:26 +13:00
Michael Keller
e708572205
Merge pull request #7732 from mikeller/fix_settings
Re-added setting for 'baro_hardware' that was accidentally deleted in #7721.
2019-03-08 11:35:14 +13:00