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

10778 commits

Author SHA1 Message Date
Anders Höglund
010c12f837
Merge pull request #5250 from stellarhopper/fix-clean_all
Makefile: fix clean_all trying to clean SKIP_TARGETS
2018-02-21 09:53:40 +01:00
Vishal Verma
b4d75a5c35 Makefile: fix clean_all trying to cleean SKIP_TARGETS
clean_all or all_clean were trying to clean SKIP_TARGETS too, resulting
in:

    make/targets.mk:15: *** The target specified, ALIENWHOOP, cannot be
        built. Use one of the ALT targets: ALIENWHOOPF4 ALIENWHOOPF7.  Stop.

Remove SKIP_TARGETS from the clean lists.
2018-02-20 23:52:32 -07:00
Michael Keller
7c3bb49759
Merge pull request #5217 from mikeller/fix_kisscc_motor_order
Fixed motor order for KISSCC to match manual (QUADX1234).
2018-02-20 01:58:18 +13:00
Michael Keller
b4667332d7
Merge pull request #5208 from jflyper/bfdev-piniobox-cleanup
PINIOBOX Separation of boxId and permanentId.
2018-02-20 01:53:07 +13:00
Michael Keller
552ca4c33b
Merge pull request #5222 from mikeller/fix_osd_name
Fixed problem with craft name overwriting elements in OSD.
2018-02-19 03:04:52 +13:00
Michael Keller
f07bf40d19
Merge pull request #5210 from DieHertz/f4-overclock-subset
Adjustable overclock for F405 and F411
2018-02-19 02:26:15 +13:00
mikeller
8db70252dd Fixed problem with craft name overwriting elements in OSD. 2018-02-19 01:35:01 +13:00
jflyper
18d5a373c0 Separation of boxId and permanentId. 2018-02-18 21:30:05 +09:00
Michael Keller
08281c151d
Merge pull request #5226 from Faduf/YupiF7_DMA_conflict_correction
YupiF7 - Correction of DMA conflict
2018-02-19 01:28:25 +13:00
Faduf
faebc43361 YupiF7 - Correction of DMA conflict 2018-02-18 13:02:06 +01:00
mikeller
a5c9824eab Fixed motor order for KISSCC to match manual. 2018-02-18 15:00:49 +13:00
Michael Keller
3656963bcd
Merge pull request #5219 from betaflight/revert-5200-gyro_overflow_check_use_filtered_gyro
Revert "Change gyro_overflow_detect to use filtered instead of raw gyro data"
2018-02-18 10:21:09 +13:00
Michael Keller
e5364ee764
Revert "Change gyro_overflow_detect to use filtered instead of raw gyro data" 2018-02-18 09:25:04 +13:00
Michael Keller
3fbff5a700
Merge pull request #5200 from etracer65/gyro_overflow_check_use_filtered_gyro
Change gyro_overflow_detect to use filtered instead of raw gyro data
2018-02-18 03:23:39 +13:00
Michael Keller
3dddb17e35
Merge pull request #5179 from mikeller/unify_3d_switches
Unified `BOX3DDISABLE` and `BOX3DONASWITCH` switches.
2018-02-18 03:21:20 +13:00
Michael Keller
0f790332a3
Merge pull request #5178 from mikeller/increase_eeprom_version
Fixed parameter group violations in `motorDevConfig_t`, incremented EEPROM config version before 3.3.0 release.
2018-02-18 03:19:30 +13:00
Michael Keller
7cd97b8fc0
Merge pull request #5205 from etracer65/runaway_takeoff_reset_after_crashflip
Reactivate Runaway Takeoff Prevention after using crash-flip
2018-02-18 03:17:44 +13:00
Andrey Mironov
ac26c975dd Adjustable OC for F405 and F411 2018-02-17 14:12:16 +03:00
Michael Keller
3741b9ec04
Merge pull request #5216 from fujin/bugfix-use-gyro-fast-kalman
Biquad RC+FIR2: Reverse interface settings DEFINE conditional
2018-02-17 23:25:23 +13:00
AJ Christensen
3c8b9637c8 Biquad RC+FIR2: Reverse interface settings DEFINE conditional
* Previously we allowed the user to override from the Biquad RC+FIR2 to the FKF
  impl. at compile time via `make OPTIONS=USE_GYRO_FAST_KALMAN`.
* This was regressed in PR #5144 / commit: 4dd65a2. Restores previous behavior.
2018-02-17 22:51:25 +13:00
Bruce Luckcuck
1b5e52d87b Reactivate Runaway Takeoff Prevention after using crash-flip
Reset Runaway Takeoff Prevention so that on the next arming after crash-flip is used it will once again be active.  The use-case is that the pilot may have broken props or other damage that could cause a runaway event.  After successful takeoff the feature will deactivate for the remainder of the battery as before.
2018-02-15 15:53:07 -05:00
MJ666
1bcfa5ddb0
Merge pull request #5202 from AlienWiiBF/AFF3_V1_fix
Fix AlienFlight F3 V1 LED issue.
2018-02-15 09:01:15 +01:00
Michael Keller
77559ade2d
Merge pull request #5198 from jflyper/bfdev-motorDevInit-do-IOConfigGPIOAF-instead-of-IOConfigGPIO
motorDevInit  IOConfigGPIOAF instead of IOConfigGPIO
2018-02-15 18:28:25 +13:00
mikeller
7192e9de19 Fixed parameter group violations in motorDevConfig_t, incremented EEPROM config version before 3.3.0 release. 2018-02-15 18:25:28 +13:00
Michael Keller
b0ade55c95
Merge pull request #5172 from etracer65/runaway_takeoff_disable_benchtest
Runaway Takeoff Prevention - temporarily disable during configurator bench testing
2018-02-15 13:25:08 +13:00
Bruce Luckcuck
b49a9ec928 Change gyro_overflow_detect to use filtered instead of raw gyro data
Noise and momentary spikes in gyro data (particularly in 32K mode) were causing false triggering of the gyro overflow detection.

Also adjusted the trigger and reset rates slightly (approx. 1950dps and 1850dps respectively).

Optimized the gyro loop slightly by eliminating 3 floating point multiplies.

Fixed bug for gyros that may not be +-2000dps full scale.
2018-02-14 17:50:09 -05:00
MJ666
badb35782c Fix AlienFlight F3 V1 LED issue. 2018-02-14 23:38:55 +01:00
jflyper
1bc2e756f5 Do full IOConfigGPIOAF instead of IOConfigGPIO 2018-02-15 03:40:11 +09:00
Bruce Luckcuck
17aeaa3ee0 Runaway Takeoff Prevention - temporarily disable during configurator bench testing
Temporarily disables Runaway Takeoff Prevention when the `ARMING_DISABLED_MSP` flag is cleared in the configurator by switching the safety switch on the motors tab.  Allows bench testing the motors and flight controller response without triggering a runaway takeoff auto-disarm.

Requires coordination with the configurator to pass an extra runaway takeoff temporary disable flag with the MSP_ARMING_DISABLE msp command.
2018-02-14 09:09:30 -05:00
Michael Keller
9da7416c30
Merge pull request #5185 from etracer65/arming_disabled_msp_disarm
Disarm when configurator sets ARMING_DISABLED_MSP arming disabled flag
2018-02-15 01:41:19 +13:00
Michael Keller
478d87317a
Merge pull request #5195 from mikeller/fix_spi_rx_ordering
Fixed ordering of SPI RX protocols.
2018-02-15 01:32:28 +13:00
mikeller
1de60106b2 Fixed ordering of SPI RX protocols. 2018-02-15 00:22:36 +13:00
Michael Keller
c053ffc7f6
Merge pull request #5176 from etracer65/runaway_takeoff_disable_crashflip
Disable runaway takeoff when crash-flip mode is active
2018-02-14 23:19:57 +13:00
Michael Keller
c1ad0b7ff1
Merge pull request #5175 from mikeller/add_biquad_fir_for_f3
Added Biquad RC + FIR2 filter to F3 targets.
2018-02-14 23:17:42 +13:00
Michael Keller
0bc2d18599
Merge pull request #5180 from mikeller/disable_dmar_for_clracingf4
Disabled Dshot DMAR for CLRACINGF4.
2018-02-14 23:16:34 +13:00
Michael Keller
e596f9a7d1
Merge pull request #5191 from MotoLab/add_escserial
Enable ESCSERIAL for MOTOLABF4 targets
2018-02-14 15:25:02 +13:00
Moto Moto
91bc23e23f Enable ESCSERIAL for MOTOLABF4 targets 2018-02-13 18:45:35 -06:00
Michael Keller
afff03197c
Merge pull request #5144 from fujin/bqrcf2-lpf-cutoff-hz
Biquad RC+FIR2: Allow user to specify cutoff Hz parameter directly
2018-02-14 13:23:57 +13:00
AJ Christensen
4dd65a2876 Biquad RC+FIR2: Allow user to specify cutoff Hz parameter directly
* Generate 'k' per the code for the PT1
* Adjust function prototypes/functions to accept f_cut/dT where applicable
* Adjust gyro configuration, parameter group, interface settings to suit
2018-02-14 12:09:49 +13:00
Bruce Luckcuck
076ad942e4 Disarm when configurator sets ARMING_DISABLED_MSP arming disabled flag
Addresses an edge case where the user could turn on the safety switch (on motors tab), arm and spin the motors, and then turn off the safety switch (without disarming first).  In this scenario the motors would keep spinning even though the ARMING_DISABLED_MSP arming disabled flag would be set.

This change checks the arming state and disarms when the configurator sets the ARMING_DISABLED_MSP flag.
2018-02-13 09:51:50 -05:00
Michael Keller
5593b43af7
Merge pull request #5181 from AndersHoglund/spektrum_ix12_cms_adaption
Spektrum iX12 adaption of CMS start screen.
2018-02-14 01:37:40 +13:00
Anders Hoglund
f9998a8fce Spektrum iX12 adaption of CMS start screen. 2018-02-13 10:39:44 +01:00
mikeller
28adf08f96 Disabled Dshot DMAR for CLRACINGF4. 2018-02-13 20:10:27 +13:00
mikeller
232fc4e8de Unified BOX3DDISABLE and BOX3DONASWITCH switches. 2018-02-13 20:02:02 +13:00
Michael Keller
3bcc5c0fda Added Biquad RC + FIR2 filter to F3 targets. 2018-02-13 15:57:38 +13:00
Bruce Luckcuck
84cb0b865d Disable runaway takeoff when crash-flip mode is active
Prevents Runaway Takeoff Prevention from auto-disarming during crash-flip (turtle mode).  Addresses an edge-case where runaway takeoff prevention might not yet have been deactivated due to a crash immediatly upon takeoff.
2018-02-12 19:29:39 -05:00
Michael Keller
a301a0019e
Merge pull request #5170 from mikeller/fix_tinybeef3_uart_count
Fixed UART count for TINYBEEF3.
2018-02-13 09:44:58 +13:00
mikeller
2a9c7df0fe Fixed UART count for TINYBEEF3. 2018-02-13 01:49:01 +13:00
Michael Keller
040c46da07
Merge pull request #5167 from mikeller/fix_dalrcf405
Fixed DALRCF405 DMA assignments.
2018-02-13 01:34:19 +13:00
mikeller
c10419d279 Fixed DALRCF405 DMA assignments. 2018-02-13 01:28:59 +13:00