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

14599 commits

Author SHA1 Message Date
jflyper
12d1737d61 Update NUCLEOH743 target for ZI2 version of the board 2019-06-26 11:02:07 +09:00
Kyle K
31658f6365 Unified config for KAKUTEF4V2 2019-06-26 00:05:44 +00:00
Bruce Luckcuck
f42f6a8047 Fix filter cutoff frequency limits
Was missed when 32KHz filtering was removed.
2019-06-25 19:01:44 -04:00
Bruce Luckcuck
2e9e99ff42 Simplified leading symbol logic and change setting to default to ON 2019-06-25 18:38:27 -04:00
Phong Vu
caf4dfd7bd
Add support for HDOP value to S.Port telemetry
Add HDOP to Smartport telemetry in indocumentation
2019-06-25 18:15:31 +07:00
Phong Vu
d7f55c5c18
Add support for HDOP value to S.Port telemetry
To be compatible with iNav Telemetry LUA script on OpenTX
2019-06-25 18:13:04 +07:00
functionpointer
ebf2dcdb0e [VTX] Fix typo in documentation. 2019-06-25 12:36:20 +02:00
Michael Keller
2a6e94d030
Added Unified Target configuration for IFLIGHTF7_TWIN_G. (#8445)
Added Unified Target configuration for IFLIGHTF7_TWIN_G.
2019-06-25 22:03:17 +12:00
iFlightFpv
368ab04fe1 Added Unified Target configuration for IFLIGHTF7_TWIN_G. 2019-06-25 15:14:14 +08:00
Cheng Lin
c0098365d9 Add Dual gyros,1G blackbox, motor 6 7 8 timers,Pinio
CLRACING F7 TARGET add dual gyro,pinio Config.c file

Merge pull request #8016 from krzysztofmatula/km-timer-safety-checks

OSD timers safety checks

Respect USE_MAG in GPS rescue code (#8136)

Respect USE_MAG in GPS rescue code

Removed features from AIORACERF3 to fix flash overflow.

add dual gyros support for clracingf7

add MOTOR 6 7 8, arrange timers for RPM filtering

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

Add Dual gyros,1G blackbox, motor 6 7 8 timers,Pinio

Add Dual gyros,1G blackbox, motor 6 7 8 timers,Pinio

update cc2500:

Add Dual gyros,1G blackbox, motor 6 7 8 timers,Pinio

update cc2500:

update from upstream

Add Dual gyros,1G blackbox, motor 6 7 8 timers,Pinio

add M5-M7,pinio define update unified target
2019-06-24 23:51:01 -04:00
Bruce Luckcuck
865515113e Add dynamic distance formatting for OSD elements
Optionally format distance as meters/kilometers or feet/miles based on overal distance. For metric, distance will be displayed as:

0-999m: display meters
1000-9999m: display as kilometers with 2 decimals (ie. 1.23K)
10000m and above: display as kilometers with 1 decimal (ie. 10.5K)

Similar for imperial units except that will display feet up to 1 mile (5280ft), miles with 2 decimals from 1-9.99 miles, and with 1 decimal over 10 miles.

Configured with `osd_dynamic_distance_units = OFF | ON`. If off (the default) then the behavior is unchanged and the distance will be only displayed in meters or feet depending on the units selection.

There are currently no OSD font symbols for kilometers or miles so "K" and "M" are used at this time.
2019-06-24 19:57:14 -04:00
Michael Keller
ecb67fcc09
Disconnect OSD stats display from storage bit position order -… (#8452)
Disconnect OSD stats display from storage bit position order - allow easier stats display reordering
2019-06-25 10:10:53 +12:00
functionpointer
9a30c08a10 [VTX] Added documentation for vtxTable 2019-06-24 22:58:17 +02:00
AJ Christensen
45e8d74255 Fix BOATLOADER_ defines typo
* Missed in review, sorry!
* A-oooga I'm a boat
2019-06-25 07:30:50 +12:00
Michael Keller
01788322b6
Merge pull request #8462 from mikeller/fix_stats_dispatch
Fixed dispatch initialisation for persistent statistics.
2019-06-25 02:17:31 +12:00
Michael Keller
51b1a47c10
Merge pull request #8461 from mikeller/add_sponsorship_button
Added configuration for GitHub sponsorship button.
2019-06-25 02:17:04 +12:00
Michael Keller
b248f6cde5
Cleaned up 'make *_clean', 'make *_flash'. (#8457)
Cleaned up 'make *_clean', 'make *_flash'.
2019-06-25 02:16:50 +12:00
Michael Keller
ed266e7151
[SmartAudio] Added support for custom frequency tables (#8380)
[SmartAudio] Added support for custom frequency tables
2019-06-25 02:16:14 +12:00
Michael Keller
7f2ac0cf65
Add booting into the flash boot loader as an option. (#8429)
Add booting into the flash boot loader as an option.
2019-06-25 02:15:01 +12:00
Bruce Luckcuck
4e85c0f2a2 Remove MSP update for stats display order 2019-06-24 07:12:24 -04:00
mikeller
b14ecb1541 Extracted reboot magic numbers. 2019-06-24 23:03:29 +12:00
functionpointer
7cb34205b3 [VTX] vtxTable factory flag and full integration of vtxTable (#8380)
Moved vtxtable frequency mode implementation into `vtx_common.c`.
This makes the implementation available for all vtx types and allows
for some code deduplication (see point below)

Removed band and channel tracking from tramp and rtc6705.
The hardware underlying both only support frequency mode and
the tracking is now done in `vtx_common.c` using the new factory flag.

Deleted vtxStringXXX. to continue supporting builds without
`USE_VTX_TABLE`, new infrastructure was created in
`drivers/vtx_table.c`, which loads fixed tables into vtxTableXXX
when built witout `USE_VTX_TABLE`. Individual vtx implementations no
longer need to load any band/channel tables. They only need to load
their individual power tables when built without `USE_VTX_TABLE`.
Additionally this allows for the next point:

Fully integrated vtxTableXXX and removed the old and no longer needed
indirection of frequency and power tables in `vtxDevice_t`.

Removed VTX_SETTINGS_* constants from `vtx_common.h` and replaced them
with the vtxtable equivalent.

rtc6705 implementation now uses power values from vtxtable instead of
using indices directly. It also stops using index 0. This makes it
consistent with other vtx implementations and is more user configurable.
It also cleans up `telemetry\srxl.c` which had to have a special case for rtc6705.

Finally, frequency entries in the vtxtable can now be marked as empty
by setting their frequency to 0. Betaflight will never allow a blocked
channel to be selected. This is useful for vtxtable index mode
(FACTORY flag set) where manufacturer-defined bands can be truncated
to ensure compliance with local laws and regulations.
2019-06-24 12:28:46 +02:00
Michael Keller
47806cd407
CLRACINGF4 target update--remove bit mask for Port A, define A1… (#8463)
CLRACINGF4 target update--remove bit mask for Port A, define A14 as pinio 1 for VTX switch
2019-06-24 21:52:26 +12:00
Michael Keller
766c52978e
Fixed gyros bugs and added PINIOBOX feature for EXF722DUAL targ… (#8449)
Fixed gyros bugs and added PINIOBOX feature for EXF722DUAL target.
2019-06-24 21:48:49 +12:00
Cheng Lin
51ec64feb4 remove Bit mask for Port A, define A14 as pinio 1 for VTX switch
update cc2500:

update from upstream
2019-06-23 10:22:12 -04:00
mikeller
c6c4c3adf9 Fixed dispatch initialisation for persistent statistics. 2019-06-23 19:56:45 +12:00
mikeller
3277ce6a47 Added configuration for GitHub sponsorship button. 2019-06-23 17:47:32 +12:00
mikeller
ccf3cb6fa6 Cleaned up 'make *_clean', 'make *_flash'. 2019-06-23 15:18:41 +12:00
Michael Keller
9abf63a0b0
Removed stray 'USE_SMART_FEEDFORWARD' define. (#8455)
Removed stray 'USE_SMART_FEEDFORWARD' define.
2019-06-23 15:17:25 +12:00
mikeller
d12e0c4211 Removed stray 'USE_SMART_FEEDFORWARD' define. 2019-06-22 10:22:13 +12:00
LinJieqiang
f7e7594a27 Fixed GYRO2 bugs and added PINIOBOX feature for EXF722DUAL target. 2019-06-22 00:15:18 +08:00
Bruce Luckcuck
1b8fd99126 Disconnect OSD stats display from storage bit position order
Allows reordering OSD post-flight statistics without affecting the storage bit position and requiring Configurator changes. Previously the display order was one and the same with the enabled flag bit position. Additionally this ordering was also used by the configurator. So if the ordering was changed then the user settings would become corrupted (different stats would be enabled/disabled). Also the Configurator had an internal representation that had to match the definition enumeration otherwise the flags returned when saving would also set the wrong bits.

Now the definition remains constant and unchanging. The bit positions for the enable flag will not be changed. A separate array defines the presentaion order of the permanent stats ID's.

Added the display order to MSP to allow the configurator to also present the stats in the same order displayed in the firmware.
2019-06-21 08:37:18 -04:00
Michael Keller
534938b943
Fixed runtime configuration for CC2500 SPI RX. (#8441)
Fixed runtime configuration for CC2500 SPI RX.
2019-06-20 13:20:55 +12:00
Michael Keller
6160a442c0
remove dead i2c overclock code (#8443)
remove dead i2c overclock code
2019-06-20 13:04:11 +12:00
Steffen Windoffer
41875af760 remove dead i2c overclock code 2019-06-18 16:47:16 +02:00
Michael Keller
1a75b0d5b3
Merge pull request #8439 from McGiverGim/fix_vario_gps_osd
Fix missing VARIO OSD element without baro (using GPS)
2019-06-18 22:35:06 +12:00
Michael Keller
0de2cde64e
Remove an extra file. _config.yml (#8437)
Remove an extra file. _config.yml
2019-06-18 22:34:51 +12:00
Michael Keller
e1724b96a0
Added Unified Target configuration for MATEKF411RX. (#8440)
Added Unified Target configuration for MATEKF411RX.
2019-06-18 21:44:24 +12:00
Michael Keller
5d8bfcb83d
increase SA_MAX_RCVLEN (#8438)
increase SA_MAX_RCVLEN
2019-06-18 21:42:20 +12:00
Jeff Leung
f300d417f4 allow for up to 8 different power levels as well 2019-06-17 21:29:57 +08:00
Michael Keller
d9624c52ed
Fixed help text for CLI 'serialpassthrough'. (#8433)
Fixed help text for CLI 'serialpassthrough'.
2019-06-18 00:14:03 +12:00
Michael Keller
4b6c64fcff
Avoid recalculation of ADC vrefMv, add vrefMv to ADC_INTERNAL debug mode. (#8427)
Avoid recalculation of ADC vrefMv, add vrefMv to ADC_INTERNAL debug mode.
2019-06-18 00:10:36 +12:00
mikeller
57879e2194 Added Unified Target configuration for MATEKF411RX. 2019-06-17 23:20:27 +12:00
mikeller
84a6bd36d8 Fixed runtime configuration for CC2500 SPI RX. 2019-06-17 23:18:53 +12:00
Miguel Angel Mulero Martinez
5fb4324977 Fix missing VARIO OSD element without baro (using GPS) 2019-06-17 10:37:17 +02:00
Kyle K
eddaf24709 Remove an extra file. 2019-06-16 20:57:07 +00:00
Jeff Leung
f5f2d0df16 increase SA_MAX_RCVLEN to allocate enough buffer for receiving setting response from smartaudio v2.1 device 2019-06-17 04:54:17 +08:00
Dominic Clifton
74638da93e Avoid recalculation of adc vrefmv, add vrevfmv to ADC_INTERNAL debug
mode.
2019-06-16 16:01:25 +02:00
mikeller
5cf42f40b6 Add booting into the flash boot loader as an option. 2019-06-16 14:46:38 +12:00
mikeller
f8a13c9ac8 Fixed help text for CLI 'serialpassthrough'. 2019-06-16 13:14:45 +12:00