Bruce Luckcuck
736a677a3c
Fix osd_gps_sats_show_hdop setting wrong PG
...
Setting was mistakingly in PG_GPS_CONFIG and should be in PG_OSD_CONFIG.
2019-08-28 11:01:45 -04:00
Dominic Clifton
5dd4038e1c
Scheduler - Fix unused period
warning when USE_TASK_STATISTICS
is
...
not defined.
2019-08-28 09:22:32 +02:00
Dominic Clifton
a8262722d5
Refactor pwmDshotSetDirectionOutput.
...
Refactoring steps were as follows:
* Duplicate pwmDshotSetDirectionOutput to pwmDshotSetDirectionInput and
remove `output` variable in preparation for removing the `output` variable from each method.
* Delete all trace of `output` flag from `pwmDshotSetDirectionInput`
* Delete all trace of `output` flag from `pwmDshotSetDirectionOutput`
* Cleanup now that pwmDshotSetDirectionInput is only called when USE_DSHOT_TELEMETRY is
enabled.
* Remove redundant code paths.
* Move #ifdef outside the method.
* Removed parameters that are never needed.
* Delete unneeded forward declarations.
2019-08-28 08:57:04 +02:00
Michael Keller
4f923e4827
Merge pull request #8745 from etracer65/dshot_telemetry_info_msp
...
Add motor telemetry data to MSP - support displaying RPM in the Configurator
2019-08-28 17:17:57 +12:00
Michael Keller
8859e58615
Feature: show HDOP next to num sats indicator ( #8760 )
...
Feature: show HDOP next to num sats indicator
2019-08-28 17:16:23 +12:00
Dominic Clifton
4eb839c7bf
Add fullTimerHardware
for F3 for use with USE_TIMER_MGMT.
...
STM32F3 doesn't have TIM5.
2019-08-27 04:38:16 +02:00
Bruce Luckcuck
d698a559c5
Add motor telemetry data to MSP
...
Adds the RPM (ESC sensor or DSHOT telemetry), invalid packet stats (DSHOT telemetry), and ESC temperature (ESC sensor) for each motor to MSP.
Adds controlling flags and `motor_poles` to `MSP_MOTOR_CONFIG`.
Added to the MSP_MOTOR_CONFIG message:
U8 configured motor count
U8 motor poles
U8 dshot telemetry enabled (boolean)
U8 esc sensor enabled (boolean)
New MSP_MOTOR_DSHOT_TELEMETRY message
U8 motor_count - number of active motors for which data will follow
Loop for motor_count
U32 motor_rpm
U16 invalid_packet_percent - 2 decimal places. So 10000 is 100.00%
U8 esc temperature (degrees celcius)
U16 esc voltage (0.01V per unit)
U16 esc current (0.01A per unit)
U16 esc mAh consumption
2019-08-26 17:56:08 -04:00
Michael Keller
2b1d256396
Merge pull request #7455 from SteveCEvans/baro_task
...
Split Baro task into four, rather than two states to reduce max task duration
2019-08-27 08:29:21 +12:00
Michael Keller
9ae8c11489
Merge pull request #8754 from IvoFPV/add-rc_smoothing_auto_smootness-to-MSP
...
Add rc_smoothing_auto_smoothness to MSP
2019-08-27 08:28:53 +12:00
Tony Cabello
8cd23873a6
Feature: show HDOP next to sats indicator
2019-08-26 22:28:33 +02:00
SteveCEvans
b3fd616680
Removed tab on blank line
2019-08-26 17:24:10 +01:00
SteveCEvans
833e760f05
Split baro processing into a number of phases and use non-blocking deferred I2C accesses
2019-08-26 17:17:31 +01:00
Michael Keller
b215def714
Merge pull request #8749 from open-flysky/master
...
Fixed IBUS protocol for AFHDS 3 and latest AFHDS 2a receivers.
2019-08-26 08:23:43 +12:00
Michael Keller
638571b550
Merge pull request #8728 from SteveCEvans/bb_timestamp
...
Blackbox onboard flash file timestamps
2019-08-26 07:16:15 +12:00
IvoFPV
584f3bc9aa
Add rc_smoothing_auto_smoothness to MSP
2019-08-25 17:29:09 +02:00
Jakub
588166fa56
Fixed IBUS protocol for AFHDS 3 and latest AFHDS 2a receivers.
2019-08-23 20:08:54 +02:00
mikeller
ec6fa21a90
Fixed incomplete removal of DJI HDL in CLI.
2019-08-23 09:12:45 +12:00
Michael Keller
8826175b08
Merge pull request #8621 from MerakRC/master
...
Added MERAKRCF405 target and MERAKRCF722 target
2019-08-23 08:49:40 +12:00
Merak RC
57dcae950f
Added MERAKRCF405 target and MERAKRCF722 target
2019-08-23 00:49:59 +08:00
SteveCEvans
613f42e48a
Set file creation/modificatino/access time for FLASH log file to that stored in the log
2019-08-22 01:29:13 +01:00
Michael Keller
d75d8a3c76
Merge pull request #8741 from mikeller/fix_softserial_pin_sharing
...
Fixed SOFTSERIAL when the TX and RX pins are shared.
2019-08-21 23:06:40 +12:00
Michael Keller
d331aed726
Merge pull request #8723 from schugabe/pin_up_down_config
...
Add resource option to configure unused pins as pulldown
2019-08-21 22:55:48 +12:00
Michael Keller
d746b4d3e7
Merge pull request #8738 from fredericmorin/cms_cam_angle
...
Added CMS entry for cam angle compensation config
2019-08-20 11:56:18 +12:00
Johannes Kasberger
f761d9c87e
reset all elements of the pullup pulldown pg configuraion array
2019-08-19 23:23:18 +02:00
Frederic Morin
5c107c55ba
Added CMS entry for FPV CAM ANGLE compensation config
2019-08-19 17:13:36 -04:00
mikeller
63bcfd1801
Fixed SOFTSERIAL when the TX and RX pins are shared.
2019-08-20 01:01:35 +12:00
Michael Keller
cbe8749d69
Fix RTC local time formatting (timezone offset) when no valid d… ( #8731 )
...
Fix RTC local time formatting (timezone offset) when no valid date/time
2019-08-19 23:32:48 +12:00
Michael Keller
e7d1d85c19
Merge pull request #8734 from mikeller/fix_custom_defaults
...
Fix extended custom defaults.
2019-08-19 22:54:27 +12:00
Michael Keller
c961c6c557
Merge pull request #8730 from joelucid/erpm_cli
...
report erpm, rpm and hz for convenience in dshot_telemetry_info
2019-08-18 23:21:28 +12:00
mikeller
5c9e51bb5f
Fix extended custom defaults.
2019-08-18 16:12:33 +12:00
Michael Keller
e984af7f80
Add ff_boost to CMS ( #8727 )
...
Add ff_boost to CMS
2019-08-18 12:17:28 +12:00
Michael Keller
47df36c961
Merge pull request #8693 from etracer65/vtxtable_msp
...
Add MSP support for vtxtable
2019-08-18 12:16:33 +12:00
Dominic Clifton
ea61f23703
Merge pull request #8725 from hydra/bf-fix-dma-rw-axi-define
...
Fix incorrect attribute name for DMA_RW_AXI.
2019-08-18 00:44:24 +02:00
Bruce Luckcuck
ee47957dc3
Add MSP support for vtxtable
2019-08-17 17:57:10 -04:00
Michael Keller
8230923a14
Merge pull request #8726 from etracer65/vtx_setting_validation
...
Reset vtx band/channel/power if outside vtxtable ranges
2019-08-18 09:42:04 +12:00
Bruce Luckcuck
9315b8f1b6
Fix RTC local time formatting (timezone offset) when no valid date/time
...
Timezone shouldn't be applied to the "default" invalid date as it can cause underflow for negative timezone offsets.
2019-08-17 11:30:07 -04:00
Thorsten Laux
0d73d51ba8
report erpm, rpm and hz for convenience in dshot_telemetry_info
2019-08-17 10:04:26 +02:00
jflyper
f1cd99e6b6
Merge pull request #8722 from jflyper/bfdev-isolate-msp-from-pwm_output
...
Isolate MSP_MOTOR from pwm_output (pwmGetMotors)
2019-08-17 11:19:20 +09:00
Bruce Luckcuck
4213f130cf
Reset vtx band/channel/power if outside vtxtable ranges
2019-08-16 15:27:39 -04:00
jflyper
0780d1919c
[H7] LL-Dshot support with DShot GCR telemetry
2019-08-17 02:11:48 +09:00
IvoFPV
9a02a407ea
Add ff_boost to CMS
2019-08-16 17:54:43 +02:00
Dominic Clifton
86b2b3a975
Fix incorrect attribute name for DMA_RW_AXI.
...
This caused SD card to break in EXST targets.
The attribute name was wrong!
linker scripts use `DMA_RW_AXI`, e.g.
```
.DMA_RW_AXI (NOLOAD) :
{
vs
```
#define DMA_RW_AXI __attribute__((section(".DMA_AXI_RW")))
```
2019-08-16 13:39:11 +02:00
Johannes Kasberger
6a713a0340
add pull_up to names, change pg config to array of elements, use correct DEFs
2019-08-15 18:59:28 +02:00
Michael Keller
c91b18098c
Simplified configuration of fast SBus. ( #8716 )
...
Simplified configuration of fast SBus.
2019-08-15 12:48:15 +12:00
Johannes Kasberger
cc9687a2bf
Add resource option to configure pin as pullup or pulldown input
...
all pins are initialized to pullup inputs per default. With resource PULLDOWN 1 PIN it is
possible to reconfigure the pin so it is a PULLDOWN input.
With this it's possible to prevent certain errors on some boards that have multiple pins connected
with an inverter and the pullup flows back via the inverter and pulls other pins low (see #7849 )
2019-08-14 22:34:34 +02:00
jflyper
11994e6ab8
Isolate MSP_MOTOR from pwm_output (pwmGetMotors)
2019-08-14 23:50:13 +09:00
Michael Keller
811eeea542
Fixed warnings when no custom defaults are found. ( #8720 )
...
Fixed warnings when no custom defaults are found.
2019-08-15 00:40:37 +12:00
Michael Keller
1c6949419c
[H7] SDMMC2 support ( #8697 )
...
[H7] SDMMC2 support
2019-08-14 23:54:04 +12:00
Michael Keller
51e4162419
Rename overlooked Dshot command function name ( #8714 )
...
Rename overlooked Dshot command function name
2019-08-14 23:43:10 +12:00
mikeller
0e2f7bcc3f
Fixed warnings when no custom defaults are found.
2019-08-13 23:27:19 +12:00