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

12913 commits

Author SHA1 Message Date
Chris
5d8cc42871 Fix board orientation. 2018-11-12 11:55:13 +00:00
Chris
4c17d40f1f Add Pirx F4 target. 2018-11-12 11:55:13 +00:00
Chris
4af7393f19 Identation fix 2018-11-12 11:54:23 +00:00
Chris
cdb4c1ef44 Add PG for 4Bit SDIO, fix whitespaces. 2018-11-12 11:54:23 +00:00
Chris
aa8d6b3676 Add option for 1Bit SDIO on F4XX targets. 2018-11-12 11:54:23 +00:00
Miguel Angel Mulero Martinez
672ca6fe27 Remove duplicated throttle max in MSP_GPS_RESCUE 2018-11-12 12:20:25 +01:00
Michael Keller
00e53dbc46
Merge pull request #7071 from jflyper/bfdev-add-adc-internal-sensor-debug
[ADC] Add debug mode for adc internal sensor calibration
2018-11-12 22:13:00 +13:00
jflyper
715e54cf3c Avoid calling flashIsReady when flash chip is non-existent
Ideally, the flashfs driver should keep track of information regarding
underlying flash chip device, but it is nearly stateless.
2018-11-12 12:32:46 +09:00
jflyper
a672861184 Keep coreTemperature's position for bblog backward compatibility 2018-11-12 04:51:06 +09:00
Michael Keller
91c4a496a7
Merge pull request #7044 from pulquero/telm_config
Support for enabling individual ESC telemetry sensors.
2018-11-12 01:11:44 +13:00
Michael Keller
3259abfbc0
Merge pull request #7061 from pulquero/support_uint32_set_vars
Support for setting uint32 vars.
2018-11-12 01:10:55 +13:00
ctzsnooze
51ff89ed99 Set TPA default to D only, increase D about 10% 2018-11-11 21:44:18 +11:00
Bruce Luckcuck
b5cb1bf65a Add osd_ah_invert to allow reversing the direction of the OSD artificial horizon 2018-11-10 15:28:10 -05:00
Mark Hale
2b2b6e8c53 Support for enabling individual ESC telemetry sensors.
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-11-10 19:53:19 +00:00
Bruce Luckcuck
003e89d747 Limit aux channel servo forwarding by max_aux_channels setting
No reason process forwarding for channels that aren't going to be active from the RX.
2018-11-10 13:54:46 -05:00
jflyper
635f8fc18a Add debug mode for adc internal sensor calibration 2018-11-11 03:33:41 +09:00
mikeller
abcdb0a90c Added guard against repetitive task resetting to hott text mode. 2018-11-11 00:30:22 +13:00
mikeller
da52d827d4 Omit task names if task statistics are not collected. 2018-11-11 00:12:24 +13:00
mikeller
0d5b2c417c Added '=' after defines in test Makefile to avoid conflicts because gcc defaults to '1' for command line defines. 2018-11-10 20:10:55 +13:00
Michael Keller
b58e8f827f
Merge pull request #7056 from etracer65/fix_osd_warning_blinking
Improve behavior of OSD warnings element blinking
2018-11-10 20:00:10 +13:00
Michael Keller
3cbf8ae02f
Merge pull request #7062 from etracer65/add_tpa_d_only_mode
Make TPA configurable to affect P/D or D only
2018-11-10 19:54:29 +13:00
Michael Keller
4367a66778
Merge pull request #7043 from TonyBlit/gps_total_distance
Total distance flown added to OSD and Stats
2018-11-10 13:32:17 +13:00
Michael Keller
b776bf3a9e
Merge pull request #7058 from jflyper/bfdev-configurable-internal-ADC-sensor-calibration-values
[ADC] Configurable ADC internal sensor calibration values
2018-11-10 13:28:53 +13:00
Michael Keller
051baf5d39
Merge pull request #7059 from pulquero/remove_esc_telm_from_f3
Added USE_ESC_SENSOR_TELEMETRY and removed from F3 targets.
2018-11-10 13:11:53 +13:00
Michael Keller
2c77ccd65e
Merge pull request #7060 from etracer65/dual_gyro_debugging_optimize
Dual gyro debugging optimize
2018-11-10 13:10:49 +13:00
Mark Hale
0ace402ea3 Support for setting uint32 vars.
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-11-09 18:10:27 +00:00
Bruce Luckcuck
357d19aa05 Move parameter from PID profile to rate profile 2018-11-09 08:05:40 -05:00
Michael Keller
57f5912c74
Merge pull request #7053 from loopur/target_hakrcf405
Add target HAKRCF405
2018-11-09 21:45:36 +13:00
Michael Keller
974610ee98
Merge pull request #7051 from joelucid/smartport_timeout
Fix smartport timeout issue
2018-11-09 21:10:07 +13:00
loopur
78655745ac Add board description and delect GPS defined 2018-11-09 10:52:45 +08:00
Bruce Luckcuck
fc189e5850 Make TPA configurable to affect P/D or D only
Adds a new `tpa_mode` parameter that accepts `PD` (default) and `D`. Allows the user to configer to affect P/D as it always has, or switch to D-only mode.

Note: the `tpa_mode` parameter was added to the PID Profile instead of rate profiles with the other TPA parameters. This can be discussed, but I didn't think it made sense to have this be part of rate profiles as it affects PID tuning (the same argument could be made for the other TPA parameters).

Code is wrapped in `USE_TPA_MODE` so it can be disabled if needed.
2018-11-08 19:22:29 -05:00
mikeller
c0c426f589 Fixes from review. 2018-11-09 09:55:32 +13:00
Mark Hale
013a45e24b Added USE_ESC_SENSOR_TELEMETRY and removed from F3 targets
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-11-08 20:22:57 +00:00
Bruce Luckcuck
afc1591956 Dual gyro debugging optimize
Bypass the numerous dual-gyro DEBUG_SET statements unless a related debug_mode is set. The dual-gyro debugging is rarely used so in most cases all of the statements can be bypassed. Saves 1-2% CPU load on SPRACINGF7DUAL running in `gyro_to_use = BOTH` and at 32K.
2018-11-08 14:54:16 -05:00
jflyper
37bee1dcbc Configurable ADC internal sensor calibration values
There are MCUs without calibration values for VREFINT and temperature sensors.
Also changed adcTSSlopeK to signed, to handle negative slope case.
2018-11-09 01:26:43 +09:00
Tony Cabello
7abe51303f Total distance flown added to OSD and Stats 2018-11-08 15:40:30 +01:00
Michael Keller
49e2c4d312
Merge pull request #7040 from TonyBlit/gps_rescue_fly_away
GPS Rescue: added fly away check to sanity checks
2018-11-09 02:31:45 +13:00
Michael Keller
11c0979a0b
Merge pull request #7041 from etracer65/suppress_osd_stats_turtle_launch
Suppress OSD stats if disarming from crash-flip or untriggered launch control
2018-11-09 02:29:45 +13:00
Michael Keller
714db23dea
Merge pull request #7047 from Zarkopafilis/master
Swap magic number for constant in ibus.c
2018-11-09 02:20:37 +13:00
Michael Keller
7f7f58b193
Merge pull request #7050 from mikeller/fix_battery_parameter_group_declaration
Fixed parameter group declaration for 'batteryConfig'.
2018-11-09 00:17:08 +13:00
borisbstyle
7566f81d38
Merge pull request #6911 from jflyper/bfdev-move-USE_ITERM_RELAX-to-include-USE_ABSOLUTE_CONTROL
Move USE_ITERM_RELAX up to prevent unused warning of applyAbsoluteControl
2018-11-08 11:50:13 +01:00
Bruce Luckcuck
38c940c11e Improve behavior of OSD warnings element blinking
Previously the logic to blink the warnings element was based on whether batteryState was either BATTERY_WARNING or BATTERY_CRITICAL. The problem is that the warning element might be displaying a higher priority message that shouldn't blink.

Changes the logic to have the blinking based on the actual warning message displayed.

In addition to the battery warning/critical cases, added blinking for some other critical warnings like failsafe, CPU core temp warning, ESC sensor warnings, HEADFREE mode active, and RC smoothing not initialized.
2018-11-07 18:35:32 -05:00
Tony Cabello
3ce0ac0116 GPS Rescue: added fly away check to sanity checks 2018-11-07 16:05:28 +01:00
loopur
747714f218 Modify time complier error 2018-11-07 12:27:07 +08:00
loopur
016679f446 Add target HAKRCF405 2018-11-07 10:33:20 +08:00
Michael Keller
0ad3fbb5fc
Merge pull request #7026 from mikeller/fix_3d_crash_flip
Fixed crash flip with 3D enabled.
2018-11-07 13:04:49 +13:00
Thorsten Laux
b2b0b60ba3 Fix smartport timeout issue 2018-11-06 15:22:20 +01:00
mikeller
850a4996b7 Fixed parameter group declaration for 'batteryConfig'. 2018-11-07 03:04:27 +13:00
mikeller
ff8b2aa451 Fixed '3d_switched_mode' case. 2018-11-07 02:58:25 +13:00
mikeller
ea99f7785b Fixed crash flip with 3D enabled. 2018-11-07 02:55:29 +13:00