1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 13:55:18 +03:00
Commit graph

8531 commits

Author SHA1 Message Date
mikeller
0572e8de00 Enabled external OSD for all targets. 2018-01-31 19:17:39 +13:00
Michael Keller
ab1812455f
Merge pull request #5008 from martinbudden/bfa_use_osd
Move define of USE_OSD into common_fc_pre.h
2018-01-31 19:16:04 +13:00
Michael Keller
b22e84a2e1
Merge pull request #4998 from martinbudden/bfa_vtx_rtc6705_tidy
Remove VTX frequency table and band name duplication from RTC6705
2018-01-31 19:14:12 +13:00
Bruce Luckcuck
b8e3b9b7a6 Remove RTC_TIME from OMNIBUS to free up flash space
Added #undef USE_RTC_TIME to target/OMNIBUS/target.h
Frees up 1384 bytes.
2018-01-30 20:49:56 -05:00
Michael Keller
8db45109fe
Merge pull request #5065 from mikeller/rearrange_beerotorf4_dma
Rearranged BEEROTORF4 DMA to make quad mixer work with LED_STRIP.
2018-01-31 13:21:29 +13:00
Steffen Windoffer
45a6588eaf remove setting which disallow disarming on throttle above low 2018-01-30 23:48:54 +01:00
elepete
0b863e1263 Changed AK8963 axis inversion
modified:   src/main/drivers/compass/compass_ak8963.c
       - *-1 for mag values
       modified:   src/main/target/SPRACINGF3EVO/target.h
       - default mag sensor orientation fixed
2018-01-30 22:35:21 +01:00
Michael Keller
14b3d574f7
Revert "Size Optimization: Move time-critical code from fc_core.c to fc_tasks.c" 2018-01-31 08:41:46 +13:00
Bruce Luckcuck
fba0b2cea3 Optimze pidSum calculation by storing the value rather than recalculating in multiple places.
Saves 72 bytes. Will save at least that additionally when incorporated into Runaway Takeoff Prevention (which also calculates the pidSum in two places).

Additionally adds a slight performance improvement by not repeating the floating point additions to calculate the pidSum in multiple places.  Effectively replaces 2 calculations with 1 (4 with 1 with Runaway Takeoff Prevention).
2018-01-30 09:58:41 -05:00
Michael Keller
6efe34d4da
Merge pull request #5062 from betaflight/de_msp_oob_handling
Handle MSP out of band data with guard interval
2018-01-31 01:26:27 +13:00
jirif
b612df0c53 Optimize pid loop 2018-01-30 11:23:03 +01:00
mikeller
174e53089e Rearranged BEEROTORF4 DMA to make quad mixer work with LED_STRIP. 2018-01-30 22:50:32 +13:00
Konstantin Sharlaimov (DigitalEntity)
fda453ca74 Fix failing SPRACINGF3OSD build 2018-01-30 12:46:19 +10:00
Konstantin Sharlaimov (DigitalEntity)
5fa8971b1c Handle MSP out of band data with guard interval 2018-01-30 12:11:12 +10:00
Bruce Luckcuck
4712b0aca1 Discussion: Move time-critical code from fc_core.c to fc_tasks.c
Change fc_core.c to be size-optimized to reduce overall firmware size. Saves 3288 bytes on OMNIBUS as an example.
2018-01-29 20:11:25 -05:00
Michael Keller
dbf0883470
Merge pull request #5060 from blckmn/sdcard_check
Adding additional check on init for sdcard enabled.
2018-01-30 11:52:59 +13:00
blckmn
ed73e5fdaa Adding additional check on init for sdcard enabled. 2018-01-30 04:20:58 +11:00
blckmn
7245c79dce Fixes error in DMA irq handling 2018-01-30 04:11:57 +11:00
Michael Keller
52f29f6e81 Fixed RaceFlight rates calculation. 2018-01-30 00:04:28 +13:00
blckmn
39bb6ffe04 Configurable SDCARD, and clean up of DMA. 2018-01-29 11:50:14 +11:00
Michael Keller
b73ffbb592
Merge pull request #5052 from jflyper/bfdev-bluejayf4-softserial-on-debug
BLUEJAYF4 Assign DEBUG pad (PB3) as default half-duplex software serial
2018-01-29 10:02:09 +13:00
jflyper
bc070558b1 DEBUG pad (PB3) is the only pin capable of half-duplex soft serial 2018-01-28 22:29:28 +09:00
Steffen Windoffer
0506d755a3 remove unused entries from cli lookup table 2018-01-27 22:58:27 +01:00
Michael Keller
15feefa48b
Merge pull request #5032 from AndersHoglund/vtx_cntrol_ts
Spektrum VTX control moved to VTX control task.
2018-01-27 09:27:25 +13:00
Anders Höglund
0b08a3ae76
Merge pull request #5035 from jflyper/bfdev-improve-conditional-for-spektrumBind
Improve conditional handling for USE_SPEKTRUM_xxx
2018-01-26 19:30:31 +01:00
jflyper
eb1820f5bf Enable in pre, check and disable in post. 2018-01-27 01:22:00 +09:00
Anders Hoglund
ac76179942 Spektrum VTX control moved to VTX control task. Added some missing compile conditionals and a few cosmetic updates too. 2018-01-26 13:52:29 +01:00
MJ666
64f809afb1
Merge pull request #5040 from AlienWiiBF/FortiniF4
Add USART5 to FortiniF4
2018-01-26 08:15:36 +01:00
MJ666
5f042ec26b Add USART5 to FortiniF4 2018-01-26 07:37:49 +01:00
AJ Christensen
025ed36cc3 BetaFlight rates: re-add RF_RATE_INCREMENTAL multiplier
* By my understanding, when rcRate ended up being larger than 2.0, it was
  affected by this additional multiplier in calculateSetpointRate, line 101 of
  the previous implementation
2018-01-26 17:16:38 +13:00
Michael Keller
eeb3280c0e
Merge pull request #5021 from jflyper/bfdev-i2c-allow-exotic-af
I2C (STM32F4) Allow pins with exotic AF
2018-01-26 12:37:16 +13:00
Michael Keller
06326c8b69
Merge pull request #5029 from jirif/frsky_hub
Frsky hub telemetry use battery api
2018-01-26 01:13:42 +13:00
jflyper
9e5a811dcf Allow pins with exotic AF 2018-01-25 21:01:16 +09:00
Adrian Miriuta
b21d681153 Introduced cli parameter <gyro_offset_yaw>
It allows to manually compensate gyro drift over time.
rebased squashed.
2018-01-25 12:45:38 +01:00
jirif
9d3d034a10 Frsky hub telemetry use battery api 2018-01-25 09:25:59 +01:00
Michael Keller
b47cabffef
Merge pull request #5023 from mikeller/avoid_process_rx_when_no_new_rc_data
Avoid RC processing when no new RC data was received.
2018-01-25 18:17:26 +13:00
Michael Keller
9fc5bacaac
Merge pull request #5022 from mikeller/fix_rates_interpolation_bug
Fixed rates / interpolation bug.
2018-01-25 18:11:09 +13:00
Michael Keller
1872444d3d
Merge pull request #5024 from jflyper/bfdev-fix-naze-config-c
NAZE Add io.h to target config.c
2018-01-25 10:13:00 +13:00
Michael Keller
1f9c828f2a Fixed rates / interpolation bug. 2018-01-25 10:07:40 +13:00
jflyper
a5cc4369b9 Add io.h to target config.c 2018-01-24 22:31:04 +09:00
mikeller
8b636ff86a Avoid RC processing when no new RC data was received. 2018-01-25 02:01:29 +13:00
Michael Keller
d00cbc3858 Fix RX update frequency with no serial input. 2018-01-24 10:37:36 +13:00
Michael Keller
67523493a0
Merge pull request #5012 from jflyper/bfdev-impulsercf3-timer-refactor
IMPULSERCF3 Refactor pin assignment
2018-01-24 00:33:39 +13:00
Michael Keller
a9068e1997
Merge pull request #4982 from mikeller/added_rx_processing_function
Added rx data processing function and used it for FPort processing.
2018-01-24 00:16:38 +13:00
Martin Budden
a4772d9dea
Merge pull request #4999 from martinbudden/bfa_mixer_tri
Add hooks for triflight
2018-01-23 10:59:29 +00:00
mikeller
bf463cf104 Added rx data processing function and used it for FPort processing. 2018-01-23 20:10:00 +13:00
Martin Luessi
57811cbd17 Fix F446 timer clocks 2018-01-22 15:14:41 -08:00
jflyper
c3b218f9b5 Refactor pin assignment
- Assign valid timers for PWM5 and 6
- Streamline PWM1 through 4 for burst Dshot operation
- PWM5 and 6 are assigned different timers to maximize flexibility.
2018-01-22 20:08:53 +09:00
Michael Keller
d09a5ef1a7
Merge pull request #5011 from martinbudden/bfa_compass_healthy
Moved compass health check into compass.c
2018-01-22 09:25:47 +13:00
Michael Keller
f7215691d3
Merge pull request #5010 from martinbudden/bfa_arming_disable_names
Always use arming disable flag names
2018-01-22 09:24:28 +13:00