Bruce Luckcuck
76d50f1d37
Fix logic error for RACEFLIGHT and KISS rates range checks
...
Fixes logic errors in #9574
For RACEFLIGHT rates the applicable `case` was missing so the logic defaulted to the BETAFLIGHT rates logic which incorrectly limited the maximum rate value to 100. RACEFLIGHT values range to 255.
For KISS rates the limit was set to 100 but the Configurator constrains to 99.
2020-12-27 18:14:16 -05:00
Michael Keller
9fe4141342
Merge pull request #10425 from etracer65/fix_cellcount_div0
...
Fix multiple div-by-zero related to battery cell count
2020-12-27 01:06:23 +01:00
Michael Keller
50c149821d
Merge pull request #10424 from etracer65/improve_osd_blink
...
Improve OSD blink timing logic
2020-12-27 01:05:53 +01:00
Michael Keller
4d9f2c330b
Merge pull request #10406 from mikeller/fix_bitbanged_dshot_commands
...
Fixed problem when sending blocking Dshot commands with bitbanged Dshot enabled.
2020-12-26 02:32:52 +01:00
Michael Keller
5a443f1824
Merge pull request #10419 from Linjieqiang/add_more_flash_support_aio
...
Add more flash chip support for IFLIGHT_H743_AIO board.
2020-12-26 02:19:07 +01:00
Bruce Luckcuck
01fb3940e7
Fix multiple div-by-zero related to battery cell count
...
Battery cell count will be 0 if the battery is not detected or the voltage meter is not configured. This exposed multiple div-by-zero risks.
2020-12-25 14:17:00 -05:00
Bruce Luckcuck
f7d992b2bd
Improve OSD blink logic
...
Changes the blink logic to be OSD task loop based instead of time based.
The previous logic used a 200ms time interval for the blinking which didn't align well with the default 12hz OSD update frequency resulting in the logic periodically missing intervals resulting in an inconsistent blinking.
As the revised logic is now tied to the OSD task iterations the blinking will be consistent. However due to the timing the blink will be slightly faster - 167ms (6hz) vs. the previous 200ms (5hz) intervals. Technically the blinking was 6hz before but stuttered every 5th blink.
Since the OSD task rate can be changed from the default 60hz, the logic will fall back to the time-based implementation for non-default task rates.
2020-12-25 12:41:44 -05:00
LinJieqiang
d6ec351c36
Add more flash chip support for IFLIGHT_H745_AIO board.
2020-12-22 22:03:38 +08:00
Michael Keller
3f116fd103
Merge pull request #10416 from mikeller/enable_azure_pull_request_builds
2020-12-22 10:54:13 +01:00
Michael Keller
6fb0d2a2ca
Changed to build all targets.
2020-12-22 10:03:11 +01:00
Michael Keller
28490f5972
Enabled pull request builds in Azure.
2020-12-22 10:03:11 +01:00
Michael Keller
e24c24cbf2
Merge pull request #10409 from mikeller/fix_nucleoh743_rambased_overflow
2020-12-22 10:02:40 +01:00
Michael Keller
364b9e0f88
Merge pull request #10382 from McGiverGim/auto_close_issues
2020-12-17 00:43:04 +01:00
Miguel Angel Mulero Martinez
f9780e95c1
Add action to close issues
2020-12-16 16:00:28 +01:00
Michael Keller
f39b00ea54
Merge pull request #10405 from mikeller/fix_rssi_dbm_warning_cli
...
Added missing CLI parameter for RSSI dBm.
2020-12-16 14:09:30 +01:00
Michael Keller
00a75326c0
Fixed RAM overflow on NUCLEOH743_RAMBASED.
2020-12-16 01:16:59 +01:00
Michael Keller
d89a5c8713
Merge pull request #10389 from ImmersionRC/irc-ghst-driver-debug
2020-12-16 01:05:54 +01:00
Michael Keller
d36c62d092
Merge pull request #10403 from haslinghuis/make-tests-with-clang11-linux
2020-12-15 22:19:12 +01:00
Mark Haslinghuis
d596e259a0
Make test compatible with clang 11 on linux
2020-12-15 21:02:46 +01:00
Michael Keller
f91783571a
Merge pull request #10402 from mikeller/remove_deprecated_dshot_commands
...
Removed deprecated Dshot commands to enable / disable bidirectional Dshot.
2020-12-15 16:54:55 +01:00
anthonycake
81150286c6
Keep reviewers happy
2020-12-15 09:02:01 +01:00
Michael Keller
d43e06d3e3
Merge pull request #10378 from SteveCEvans/h7led
2020-12-15 08:51:15 +01:00
Michael Keller
bfa5cc1cd4
Fixed problem when sending blocking Dshot commands with bitbanged Dshot enabled.
2020-12-15 02:29:39 +01:00
Steve Evans
cb908a6893
Add USE_LEDSTRIP_CACHE_MGMT option to use explicit cache management for LED strip.
...
Ensure DMA_RAM section is at start of RAM and the the region defining the shareable region is covered.
Enable USE_LEDSTRIP_CACHE_MGMT on NUCLEOH743 target
2020-12-14 19:35:13 +00:00
Michael Keller
97a647f36a
Added missing CLI parameter for RSSI dBm.
2020-12-14 20:28:54 +01:00
Michael Keller
98b634adcd
Removed deprecated Dshot commands to enable / disable bidirectional Dshot.
2020-12-12 21:35:29 +01:00
Michael Keller
57c9c12781
Merge pull request #10383 from mluessi/ml_h7_dshot_opt
2020-12-09 15:40:16 +01:00
Martin Luessi
b46971f1f0
Fix style
2020-12-09 05:43:51 -08:00
Michael Keller
34e6a83f70
Merge pull request #10370 from borisbstyle/new_mixer
2020-12-08 12:07:41 +01:00
borisbstyle
4a916af6a9
Added DYNAMIC mixer
2020-12-08 12:04:18 +01:00
borisbstyle
75da17a00e
New linear mixer (credits to @tylercorleone)
2020-12-08 12:04:07 +01:00
Michael Keller
7154abc48e
Merge pull request #10348 from pgreenland/vtx_irc_tramp_logic_pitmode_cli
...
Fix VTX tramp protocol for all
2020-12-08 10:56:45 +01:00
Michael Keller
203398299e
Merge pull request #10388 from ImmersionRC/irc-uart-bidir-fix
2020-12-07 11:56:16 +01:00
anthonycake
481d42c3da
Remove stray whitespace
2020-12-06 16:07:23 +01:00
Phil Greenland
e1eba3fdda
Review updates. Remove new CLI option in anticipation of fix from Mateksys.
2020-12-06 11:32:05 +00:00
anthonycake
a543ed8887
Switch to static storage for error counters
...
Remove DEBUG_INCR, and switch to static counters.
2020-12-05 17:42:56 +01:00
anthonycake
8627af832c
Add debug support to GHST protocol driver
...
Add ability for pilots to log CRC errors, unknown frames, LQ, and RSSI.
Added macro to debug.h to simplify incrementing debug values without the need for local statics in client code.
2020-12-05 12:17:38 +01:00
anthonycake
1f0fbf6a65
Fix BIDIR UART issue #10220
...
Fix the issue described in Issue #10220 , typos in serial drivers for F7, F3, G4, H7 platforms.
Before this change, the serial line is incorrectly pulled down for bidirectional comms, which may cause dropped packets (silently) with any Rx protocol that uses bidirectional comms on the Tx line (GHST, SRXL-2, FPORT)
2020-12-04 18:11:17 +01:00
Martin Luessi
74df0ca92c
Optimize pin reconfiguration for H7
2020-12-03 08:59:00 -08:00
Martin Luessi
82648f3252
Add GPIO and Pin functions
2020-12-03 08:58:16 -08:00
Michael Keller
c9dd69b19e
Merge pull request #10372 from limonspb/esc_dshot_reverse
...
Dshot commands via MSP
2020-11-29 08:26:11 -08:00
limonspb
fecf19b0d7
Dshot commands via MSP
2020-11-29 01:17:33 -06:00
Michael Keller
79c2f79919
Merge pull request #10369 from SteveCEvans/aiodshot
...
Fix SCB_CleanDCache_by_Addr to be based on portOutputBuffer
2020-11-27 23:34:13 +01:00
Michael Keller
c9ca920b0d
Merge pull request #10294 from ctzsnooze/mixer-fixes-rebase
...
Dynamic idle and idle related mixer changes
2020-11-27 23:31:58 +01:00
Steve Evans
99ad7bf5e8
Check output, not input buffer
2020-11-26 20:52:18 +00:00
Michael Keller
313a5b193b
Merge pull request #10359 from SteveCEvans/h7mscsrc
...
Fix DShot cache clean/invalidate
2020-11-24 23:25:37 +01:00
Michael Keller
403a2d0180
Merge pull request #10356 from jflyper/bfdev-nucleoh725zg
...
[H7] NUCLEOH725ZG target
2020-11-24 21:34:27 +01:00
Michael Keller
de5e0188e8
Merge pull request #10355 from jflyper/bfdev-nucleoh723zg
...
[H7] NUCLEOH723ZG target
2020-11-24 21:33:28 +01:00
Michael Keller
1bbdf2385c
Merge pull request #10352 from SteveCEvans/aiomsc
...
Handle H7 RESET_MSC_REQUEST reset case
2020-11-24 21:28:09 +01:00
Steve Evans
080717a407
Fix DShot cache clean/invalidate
2020-11-24 19:27:25 +00:00