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

14240 commits

Author SHA1 Message Date
J Blackman
078b25c565
Merge pull request #8097 from blckmn/VIVAF4AIO
VIVAF4AIO
2019-04-27 13:10:24 +10:00
blckmn
39e0e4dc73 Removing deprecated ACC_X_ALIGN 2019-04-27 10:57:09 +10:00
Bruce Luckcuck
5b22ed3d15 Change gyro dynamic lpf throttle update to use the active gyro selection
Instead of the configuration value.
2019-04-26 20:05:41 -04:00
blckmn
b8caab9e43 Adding board description file, and correcting gyro. 2019-04-26 22:30:09 +10:00
blckmn
9b8ad29066 Added as sub-target of DALRCF405 2019-04-26 22:18:27 +10:00
blckmn
e6e8cd1630 New Target VIVAF4AIO 2019-04-26 20:59:38 +10:00
jflyper
0bb34cdd09 usbd_def: disable insane defs of MIN and MAX 2019-04-25 12:01:42 +09:00
jflyper
e124693d48 [LIB] stm32h7xx_hal_def.h : Include <stddef.h> instead of <stdio.h>
Inclusion of <stdio.h> produces poisoned function alert for sprintf and
variants.
F7 use <stddef.h> instead of <stdio.h>
2019-04-25 12:01:42 +09:00
jflyper
22dd78f247 [CMSIS] stm32h743xx.h: FLASH_SIZE def collide with Betaflight 2019-04-25 12:01:42 +09:00
mikeller
ceae2d88b6 Fixed assignment of random timer for pins without configured timer option. 2019-04-25 14:05:57 +12:00
Cleric-K
4797b8dbc9 CMS Debug Mode fix 2019-04-24 16:50:53 +03:00
jflyper
1db881f595
Merge pull request #8058 from jflyper/bfdev-h7-import-library
[H7 LIB] Import STM32Cube_FW_H7_V1.3.0
2019-04-24 20:41:47 +09:00
DMAXYANG
a1b847186e Add TCMM manufacturer id 2019-04-24 12:22:25 +08:00
Michael Keller
ee0ac209c3
Merge pull request #8029 from Doven7/patch-3
Add target HGLRCF411 to 4.0.
2019-04-24 10:34:06 +12:00
Dominic Clifton
ece1192c76 Move default DEBUG_MODE from common_pre.h into common_defaults_post.h so
it can be overridden.
2019-04-24 04:45:58 +09:00
Cheng Lin
7747537493 add default feature OSD and default RX provider Sbus 2019-04-23 10:30:27 -04:00
root
bd63b7ba23 prevent max7456 screen_buffer from overflow 2019-04-23 01:24:27 +00:00
swilkens
a999fc38bc
Reduce feature cut for BFF3
Reducing the feature cut from 10 to 7 will bring some newer and older useful features back to the BFF3 board without overflowing flash space. As the F3 boards are now seen as unsupported, this change can be made as a maintenance patch at the final supported level.

Notable features:
USE_SERIAL_4WAY_BLHELI_BOOTLOADER, USE_GYRO_LPF2, USE_DYN_LPF, USE_D_MIN


```
Linking BETAFLIGHTF3
Memory region         Used Size  Region Size  %age Used
           FLASH:      257640 B       252 KB     99.84%
    FLASH_CONFIG:          0 GB         4 KB      0.00%
             RAM:       34788 B        40 KB     84.93%
             CCM:          2 KB         8 KB     25.00%
       MEMORY_B1:          0 GB         0 GB     -1.#J%
   text    data     bss     dec     hex filename
 253920    3720   33116  290756   46fc4 ./obj/main/betaflight_BETAFLIGHTF3.elf
```
2019-04-22 09:38:09 +02:00
root
38837ec47a show power level in the smartaudio cms menu 2019-04-21 23:05:43 +00:00
krzysztofmatula
14bb0fca72
Merge branch 'master' into km-stats-postflight 2019-04-21 22:44:44 +02:00
MJ666
94ddf5aceb
Merge pull request #8044 from Docteh/move_the_configs
move configs to proper spot
2019-04-21 13:49:57 +02:00
jflyper
5f15f58aa6 Import STM32Cube_FW_H7_V1.3.0 2019-04-21 18:39:03 +09:00
c3n
66f5c6e5db
Merge branch 'master' into master 2019-04-20 15:22:28 +02:00
jerryxin123
fcc23b3888 Change sbusNeedTimePreFrame to sbusTimeNeededPreFrame 2019-04-20 19:39:59 +08:00
root
60ca3dcb46 move configs to proper spot 2019-04-19 06:13:09 +00:00
Michael Keller
eba5856654
Merge pull request #8035 from krzysztofmatula/km-sym-amp
OSD: use nice AMP symbol in post flight stats instead of ordinary "A"
2019-04-19 14:04:42 +12:00
Michael Keller
4dfe12c266
Merge pull request #8033 from hydra/bf-really-fix-gyro-detection-in-multi-gyro-setups
Really fix gyro detection code code for multi gyro setups.
2019-04-19 14:00:02 +12:00
Doven
052d2d004f
Rename HGLRCF411.config to unified_targets/configs/HGLRCF411.config 2019-04-19 09:57:28 +08:00
Michael Keller
403168f7f4
Merge pull request #8027 from Doven7/patch-2
Add target HGLRCF405 to 4.0.
2019-04-19 13:51:15 +12:00
Michael Keller
380889912f
Merge pull request #8025 from etracer65/osd_stats_maximize_lines
Maximize OSD stats display lines based on video mode
2019-04-19 13:50:04 +12:00
ctzsnooze
80f5fa2c6d For Discussion: modify filter defaults to reduce risk of flyaways
Some users have reported flyaways on arming/throttling up with betaflight 4.0, in quads that fiy alright on 3.5.
This PR changes the default filtering so that D transmission more closely approximates that of 3.5.
With these defaults, quads that fly OK on 3.5 should not take-off vertically due to uncontrolled D oscillation.
2019-04-19 11:48:44 +10:00
Michael Keller
655b82d379
Merge pull request #8016 from krzysztofmatula/km-timer-safety-checks
OSD timers safety checks
2019-04-19 13:43:38 +12:00
Michael Keller
45daf97f2b
Merge pull request #8010 from TonyBlit/fix_fs_flymode
Replaced !FS! fly mode with *FS* due to missing '!' in OSD font
2019-04-19 13:40:07 +12:00
Michael Keller
edcacb9f0d
Merge pull request #7994 from krzysztofmatula/km-on-arm-timer
OSD: combined ON/ARM timer
2019-04-19 13:38:56 +12:00
swilkens
794f4a93e9
[Docs] Further update Building in Windows
Restructured, further clarified and added the make_sdk_install script option.

I will update the pictures and other references in a future PR
2019-04-18 14:20:48 +02:00
Krzysztof Matula
00d9b0bb50 OSD: use nice AMP symbol in post flight stats instead of ordinary "A" 2019-04-17 22:38:56 +02:00
Dominic Clifton
67bd97b193 Really fix gyro detection code code for multi gyro setups.
Broken in e44f75b4a7.

Problem caused by not checking both of the bits after masking.

Prior to this commit the code would incorrectly attempt to use GYRO1
when only GYRO2 was detected resulting in a segfault.
2019-04-17 15:31:08 +02:00
laz2wiringpi
0a1d2a6997 from the pr
delay for voltage warnings #6691

changed to vbat
Update Battery.md
Add Menu osd Alarm delay

vbat_duration_for_crit
batteryConfig_vbatDurationForCrit
to
 vbat_duration_for_critical
batteryConfig_vbatDurationForCritical

lastVoltageOkMillis rename
2019-04-16 18:31:09 -04:00
Michael Keller
55a5d70cc8
Merge pull request #7841 from etracer65/dshot_bidir_quality_stats
Add DSHOT telemetry motor level packet stats
2019-04-17 06:38:45 +12:00
Michael Keller
f7fa2ff27b
Merge pull request #8020 from mikeller/fix_feature_cli_help
Fixed CLI help for 'feature'.
2019-04-17 05:57:40 +12:00
Michael Keller
1c4d733ded
Merge pull request #7859 from laz2wiringpi/gps_menu
Gps rescue menus for OSD
2019-04-17 05:50:38 +12:00
Michael Keller
db5c14da02
Merge pull request #8017 from ianrmurphy/rssi-lq-warnings
Added RSSI and Link Quality warnings
2019-04-17 05:49:27 +12:00
Bruce Luckcuck
644d5713df Add DSHOT telemetry motor level packet stats
Captures packet quality statistics per motor to provide a platform for troubleshooting and in-flight alarms or warnings.

Continuously monitors and captures packet stats over the past second to be used to determine DSHOT telemetry link quality.

Update the CLI to move the DSHOT telemetry data/stats out of the `status` command and into a dedicated `dshot_telemetry_info` command. Reformatted the motor data to include the invalid packet percentages. Will aid in debugging by identifying ESC's that may be misconfigured (not supplying data), or those with problems generating high invalid packet percentages.

Data can later be used to generate OSD and beeper-based warnings if invalid packet percentages exceed thresholds.

Included a blackbox logging debug mode (`set debug_mode = DSHOT_RPM_ERRORS`) to record the per-motor invalid packet percentages in hundredths of a percent (so 123 is 1.23%).
2019-04-16 08:47:50 -04:00
Doven
fe26821c31
HGLRCF411.config 2019-04-16 17:14:38 +08:00
Doven
83718e9309
HGLRCF405.config 2019-04-16 11:32:43 +08:00
Tony Cabello
b9360eef4e Simplified logic for recovery delay 2019-04-16 04:27:23 +02:00
Bruce Luckcuck
00c3a5d1b4 Maximize OSD stats display lines based on video mode
Will dynamically determine the number of active OSD stats lines that are being displayed (accounting for user selections and #define logic) and maximize the number of stats that can be displayed based on the current video format (13 for NTSC, 16 for PAL).

If the number of stats is equal to or greater than the available display lines, the heading will be suppressed and used instead for an extra stats line.

The entire stats page will be centered vertically based on the screen size determined by the video format.
2019-04-15 20:02:07 -04:00
ianrmurphy
0ab0fb75ff Corrected whitespace. 2019-04-15 23:32:20 +01:00
Krzysztof Matula
5a737fd778 OSD timers safety - code review changes 2 2019-04-15 23:28:32 +02:00
Krzysztof Matula
b8b5b133dc OSD timers safety - code review changes 2019-04-15 23:25:58 +02:00