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

9218 commits

Author SHA1 Message Date
jflyper
2df482f2bd
Merge pull request #5865 from mikeller/enable_dshot_dmar_spracingf4neo
Enabled Dshot DMAR for SPRACINGF4NEO.
2018-05-12 08:36:20 +09:00
Andrey Mironov
5bb83a348a
Merge pull request #5870 from wind0r/remove_unused_define
remove unused swap serial define
2018-05-11 23:58:55 +03:00
Andrey Mironov
690d2d6ca7
Merge pull request #5871 from wind0r/fix_static_initialization
remove unneeded static initialization
2018-05-11 23:58:33 +03:00
Steffen Windoffer
e89680594c remove unneeded static initialization 2018-05-11 21:08:41 +02:00
Steffen Windoffer
06178454c2 remove unused swap serial define 2018-05-11 21:04:38 +02:00
allenfor2017
b337cfb941 update target SPEEDYBEE F4 2018-05-11 11:44:33 +08:00
mikeller
1877a6fbf8 Amended DMA alternative selections for SPRACINGF4NEO. 2018-05-11 09:35:53 +12:00
Robert Lacroix
092baf5805 Add Paralyze mode support
During team relay races it's unsafe to retrieve crashed quads because the course is continuously hot. In order to safely fly a backup quad with the primary quad crashed in the field (but powered up) it's necessary to:

* Disable arming, so that the crashed quad doesn't unintentionally arm as well. This is specifically a problem when a transmitter can send signals to all powered up receivers (like FrSky and others).
* Change VTX to an unused channel with low power output
* Turn off telemetry

This change introduces a new mode called paralyze which disables arming and prevents mode changes (except beeper). It can only be invoked while the quad isn't armed. Once it's invoked, the FC has to be power cycled. In order to invoke it, the mode needs to be in a disengaged state at least once, so that forgetting to flip the switch back after crashing doesn't immediately invoke graveyard on the backup quad.

_Legal disclaimer: I am making my contributions/submissions to this project solely in my personal capacity and am not conveying any rights to any intellectual property of any third parties._
2018-05-10 07:40:31 -07:00
mikeller
c5dd7be884 Removed uneeded USE_DSHOT_DMAR defines. 2018-05-10 22:54:44 +12:00
mikeller
0f8bace2b7 Enabled Dshot DMAR for SPRACINGF4NEO. 2018-05-10 22:52:04 +12:00
Michael Keller
d7665014af Moved pointers back. 2018-05-10 10:54:14 +12:00
s0up
de5fa47c4c navigation feature / reference removal 2018-05-09 10:28:36 -07:00
mikeller
61beef2291 Optimised 'serialPort_t' struct. 2018-05-10 02:23:07 +12:00
mikeller
48e06edc00 Optimised struct. 2018-05-10 02:15:00 +12:00
mikeller
9bf762e9e8 Eliminated more unnecessary calls. 2018-05-10 02:11:41 +12:00
jflyper
b8e0d22d01 Treat uarts without a pin as non-existent 2018-05-09 22:39:02 +09:00
mikeller
032f3b501b Eliminated inefficient serial function calls at runtime. 2018-05-10 01:32:36 +12:00
Michael Keller
8b01c4a88a
Merge pull request #5855 from McGiverGim/fix_lat_lon_osd_symbols
Fix OSD GPS Lat and Lon symbols
2018-05-09 23:35:10 +12:00
mikeller
99e3dd44b7 Disable unavailable OSD characters. 2018-05-09 23:34:54 +12:00
RolandChen
d628b48116 modified: src/main/flight/servos.c 2018-05-08 20:53:19 -07:00
Bruce Luckcuck
5687e66f45 Changes to support enhancements to BFC for OSD stats field ordering
Reorder the stats field enumeration to match the actual on-screen display order. Needed to support changes in the configurator so that it will also disply the selections in the same order.

Going forward if there are any changes to the on-screen display order of the post-flight statistics then the enumeration must be updated to match.
2018-05-08 08:59:27 -04:00
Michael Keller
fa6c993f04
Merge pull request #5847 from mikeller/remove_telemetry_switch
Removed 'tlm_switch', replaced with 'isModeActivationConditionPresent(BOXTELEMETRY)'.
2018-05-08 23:41:16 +12:00
Michael Keller
7bc2b70043
Merge pull request #5846 from mikeller/cleanup_msp_port_releasing
Cleaned up implementation of MSP port releasing when shared.
2018-05-08 23:40:56 +12:00
Miguel Angel Mulero Martinez
ca64074a12 Fix OSD GPS Lat and Lon symbols 2018-05-08 13:17:26 +02:00
mikeller
908beb2912 Fixed tests. 2018-05-08 22:58:33 +12:00
Bruce Luckcuck
905f14d86c Change enabled OSD stats storage to bitmap
Previously the flags controlling the enabled OSD stats were stored as an array of boolean. This change reduces config storage by storing the flags as bits inside a single uint32.
2018-05-07 12:07:25 -04:00
mikeller
19a360b867 Removed 'tlm_switch', replaced with 'isModeActivationConditionPresent(BOXTELEMETRY)'. 2018-05-08 01:14:18 +12:00
mikeller
0cd8c62568 Cleaned up implementation of MSP port releasing when shared. 2018-05-07 23:33:23 +12:00
Michael Keller
7b831f94ee
Merge pull request #5837 from jflyper/bfdev-universal-poc-NERO
Universal target benchmark (NERO)
2018-05-07 21:31:58 +12:00
Michael Keller
0940e4545b
Merge pull request #5842 from jflyper/bfdev-move-defaults-out-of-pg-bus_i2c-and-pg-bus_spi
Move defaults out of pg inits (I2C & SPI)
2018-05-07 21:29:56 +12:00
Michael Keller
9b4eee14cb
Merge pull request #5841 from etracer65/spracingf3neo_flash_reduction
Fixed flash overflow for SPRACINGF3NEO
2018-05-07 21:29:35 +12:00
Michael Keller
5be277cffa
Merge pull request #5834 from mikeller/fix_baro_altitude
Fix BARO altitude display.
2018-05-07 21:28:52 +12:00
Michael Keller
743fd6194a
Merge pull request #5840 from etracer65/cli_type_bitset
Add cli parameter bit mapping mode
2018-05-07 21:27:42 +12:00
Michael Keller
2f2c95a556
Merge pull request #5686 from pulquero/antigrav_osd
Display anti-gravity activity in OSD.
2018-05-07 21:26:38 +12:00
jflyper
a7cf1a7c35 Move defaults out of pg files 2018-05-07 10:04:07 +09:00
jflyper
969aaa4123 Per mikeller's comment 2018-05-07 10:03:04 +09:00
jflyper
f0efe1f8d8 Move defaults out of pg files 2018-05-07 10:02:29 +09:00
Bruce Luckcuck
aa4a8c7ec1 Add cli parameter bit setting type
Adds a new parameter mode `MODE_BITSET` that allows associating a cli parameter with a specific bit in a stored value. Bit packed values can be exposed with individual cli parameters for each bit as needed. Supports UINT8, UINT16 and newly added UINT32 data types (UINT32 not supported for other modes at this time).
2018-05-06 18:33:11 -04:00
Bruce Luckcuck
ba95e24fa4 Fixed flash overflow for SPRACINGF3NEO 2018-05-06 15:06:25 -04:00
jflyper
b20640beaf Config for NERO 2018-05-07 01:21:31 +09:00
mikeller
eb8098e933 Fix BARO altitude display. 2018-05-06 20:01:41 +12:00
Michael Keller
851ed5f597
Merge pull request #5813 from githubDLG/master
Add new target Stack-X
2018-05-06 18:48:02 +12:00
mikeller
16a96f7318 Added generated timer definitions for STM32F7X2 universal target. 2018-05-06 16:29:39 +12:00
blckmn
c816f64b9e Additional timer mapping for 7X2 target. 2018-05-06 12:34:28 +10:00
blckmn
6d33fc6b0b Fixed CC Channel versus Index issue, and added additional mapping in timerHardware for 7X2 target 2018-05-06 12:00:31 +10:00
blckmn
e5031407a6 Configurable timers 2018-05-06 12:00:31 +10:00
blckmn
88ed243d32 Made the timerioTagGetByUsage zero based, as it is not used by users. 2018-05-06 09:37:19 +10:00
blckmn
aad6efdf03 Timer clean up in preparation for configurable timers 2018-05-06 06:55:17 +10:00
Mark Hale
b2e43abf2d Display anti-gravity activity in OSD.
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-05-05 19:56:56 +01:00
Michael Keller
5e1b5df5d4
Merge pull request #5828 from blckmn/licence_update
Licence update for newly added target
2018-05-06 01:31:57 +12:00