1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 11:59:58 +03:00
Commit graph

16709 commits

Author SHA1 Message Date
Dominic Clifton
c8e741bd18 Add W25Q128FV driver (QSPI only)
* Enable QSPI flash chip drivers on NUCLEOH743 for some CI visibility.
* Rework QSPI flash detection.
* Supports chips that are in QSPI mode by default (factory).
* Supports chips that are in QSPI mode due to configuration (e.g. Quad
Enable in Non-Volatile on W25Q128FV)
* Supports chips that need 8 dummy bytes (e.g. W25Q128JV) and ones that
don't (e.g. W25N01G)
2021-04-28 05:30:08 +02:00
Michael Keller
2a5e457603
Merge pull request #10693 from hydra/bf-icm42605-fixes-1
ICM42605 fixes.
2021-04-28 02:34:52 +12:00
Dominic Clifton
86f5ccdb80 ICM42605 - Fix missing use of USE_SPI_GYRO.
ICM42605 - Fix missing call to mpuDetect.

ICM42605 - Disable un-needed debug code by default.

ICM42605 - Delete unneeded reads of ICM42605_RA_GYRO_CONFIG0 and
ICM42605_RA_ACCEL_CONFIG0.

ICM42605 - rename the khzToSupportedODRMap and make it static.
2021-04-28 01:58:00 +12:00
Michael Keller
a7da43c60c
Merge pull request #10657 from klutvott123/fix-spi-timeout 2021-04-28 01:55:20 +12:00
Michael Keller
a53f2a60a5
Merge pull request #10711 from mikeller/remove_powerf
Remove unneeded library function 'powerf()'.
2021-04-28 01:28:43 +12:00
Michael Keller
e228d797c9
Merge pull request #10670 from ctzsnooze/ff_improvements_2021
reduce FF jitter from duplicates
2021-04-27 15:36:42 +12:00
ctzsnooze
d4f0ec2d0a feed forward jitter improvements 2021-04-27 12:47:06 +10:00
Hans Christian Olaussen
ff95fc6471 Fix SPI timeout 2021-04-26 19:20:30 +02:00
Michael Keller
3ae7e917b7
Merge pull request #10707 from klutvott123/rc-data-float 2021-04-27 01:48:20 +12:00
Hans Christian Olaussen
3177cb3ec0 Update unit tests 2021-04-26 15:14:59 +02:00
Hans Christian Olaussen
8c28533c69 Preserve resolution of RC input 2021-04-26 15:14:58 +02:00
Michael Keller
87955d9734
Merge pull request #10566 from etracer65/osd_gps_coordinates_variants 2021-04-27 00:18:01 +12:00
Bruce Luckcuck
37dbbd0755 Add GPS coordinates OSD elements display variants; add support for Open Location Code display
Adds variations in GPS coordinate OSD element display:
1. Fractional degrees with 7 digits (default) - 000.0000000
2. Fractional degrees with 4 digits - 000.0000
3. Degrees, minutes, seconds - 000^00'00.0"E
4. Open Location Code (sometimed called Google Plus Code) - 23ABC4R8+M37

Uses Open Location Code library from:
https://github.com/google/open-location-code

Added support for `STATE(GPS_FIX_EVER)` to differentiate from having a fix now (`STATE(GPS_FIX)`) vs. ever having a fix.

Logic change to only display coordinates from the GPS module once a fix has been initially established. This prevents displaying interim coordinates supplied by the GPS while the fix is still being establised as these coordinates can be inaccurate by hundreds of miles. Once a fix is established initially then the coordinates will continue to be displayed even if the fix is lost or degrades in quality.

Add logic to "blink" the coordinates if the 3D fix is lost after initially being established. Alerts the user that the coordinate display may be inaccurate or no longer being updated. We want to keep the coordinates displayed to aid recovery if the user loses the fix (like crashing upside down).

Replace GPS defines `LAT` and `LON` used throughout the code with the enumeration:
```
typedef enum {
    GPS_LATITUDE,
    GPS_LONGITUDE
} gpsCoordinateType_e;
```

The Open Location Code option is bounded with `USE_GPS_PLUS_CODE` to allow it to be excluded if needed for targets with limited flash space. It currently fits for F411 but we may have to remove it in the future.
2021-04-26 23:43:11 +12:00
Michael Keller
8511ba930f
Merge pull request #10577 from mikeller/add_stm32g4_unified_target
Added Unified Target for STM32G4.
2021-04-26 23:30:20 +12:00
mikeller
6b87b3685c Remove unneeded library function 'powerf()'. 2021-04-26 16:50:54 +12:00
mikeller
03d3d94497 Added Unified Target for STM32G4. 2021-04-26 16:18:28 +12:00
Michael Keller
76b6415d34
Merge pull request #10655 from klutvott123/typo-fix
Fix typo in azure-pipelines.yml
2021-04-26 15:45:03 +12:00
Michael Keller
5f2c29c725
Merge pull request #10661 from klutvott123/msp-bytes-remaining-check-fix
MSP fix bytes remaining check
2021-04-26 15:39:07 +12:00
Michael Keller
e887bf0159
Merge pull request #10663 from SteveCEvans/ll_spi
[H7][LIB] Remove duplicate definition of assert_param from LL spi
2021-04-26 15:19:02 +12:00
Michael Keller
9e115b466b
Merge pull request #10650 from ctzsnooze/PT2-and-PT3-for-rc_smoothing 2021-04-26 14:58:32 +12:00
Michael Keller
f60bbbbbc2
Merge pull request #10684 from klutvott123/msp-add-gps-min-rescue-dth
MSP add GPS min rescue dth
2021-04-26 14:33:31 +12:00
ctzsnooze
a096c99664 PT2 and PT3 filter maths PT3 for RC smoothing 2021-04-26 14:12:54 +12:00
Michael Keller
72d9868f8d
Merge pull request #10696 from hydra/bf-config-id-sd-card-fix
Fix infinite loop in SD card initialisation failure when CONFIG_IN_SDCARD is used.
2021-04-26 13:43:29 +12:00
Michael Keller
67535941d8
Merge pull request #10697 from TonyBlit/battery_doc
Small doc enhancements
2021-04-26 13:42:19 +12:00
Michael Keller
32ea34302e
Merge pull request #10698 from azolyoung/add_w25q64jvim_flash_support
add W25Q64JVXGIM flash support
2021-04-26 13:38:31 +12:00
Michael Keller
85b34b4c21
Merge pull request #10699 from TonyBlit/virtual_current_header
Fixes in comments in current.h
2021-04-26 13:37:41 +12:00
Michael Keller
db571a78eb
Merge pull request #10603 from etracer65/fix_cms_rssi_dbm_alarm
Fix CMS RSSI dBm alarm data type and range
2021-04-26 13:13:42 +12:00
Michael Keller
122f8f29af
Merge pull request #10582 from dkustec/osd_tx_uplink_power 2021-04-26 12:53:39 +12:00
Michael Keller
7fbc422771
Merge pull request #10543 from mikeller/fix_displayport_allocation_inconsistency
Made the displayport initialisation consistent for all telemetry protocols.
2021-04-26 12:41:59 +12:00
Michael Keller
21009d20f2
Merge pull request #10649 from mikeller/fix_rx_task_check
Fixed RX task check.
2021-04-26 01:06:12 +12:00
Michael Keller
858d593c51
Merge pull request #10676 from Dishoungh/custom_config 2021-04-19 23:39:20 +12:00
Michael Keller
9be5c23d8a
Merge pull request #10623 from AlfredJKwack/patch-2 2021-04-19 23:12:39 +12:00
AlfredJKwack
247ebc8005
Update docs/Cli.md as per suggestion
Co-authored-by: haslinghuis <mark@numloq.nl>
2021-04-19 08:36:17 +02:00
AlfredJKwack
b7848adf06
Update docs/Cli.md as per suggestion
Co-authored-by: haslinghuis <mark@numloq.nl>
2021-04-19 08:35:42 +02:00
AlfredJKwack
a0294d8394
Update docs/Cli.md as per suggestion
Co-authored-by: haslinghuis <mark@numloq.nl>
2021-04-19 08:35:26 +02:00
Dominic Clifton
c48fd62a58 Fix infinite loop in SD card initialisation failure when
CONFIG_IN_SDCARD is used.

Caused by there being no default for the SDCard config resulting in an
empty sdcard vtable.
2021-04-17 19:32:48 +02:00
Tony Cabello Miguel
06127f36fc fix comments 2021-04-16 16:09:54 +02:00
azol
2b21e2ff70 add W25Q64JVXGIM flash support 2021-04-16 14:24:54 +08:00
Tony Cabello Miguel
518bc1b165 Small doc enhancements 2021-04-16 07:49:25 +02:00
Hans Christian Olaussen
e401a0b1ab MSP add GPS min rescue dth 2021-04-11 16:21:44 +02:00
Dishoungh
02841fb9c6 Added custom board configuration documentation 2021-04-09 08:52:44 -05:00
Steve Evans
823d0edf99 [H7][LIB] Remove duplicate definition of assert_param from LL spi 2021-04-03 14:03:54 +01:00
Hans Christian Olaussen
8497762f50 MSP fix bytes remaining check
We need at least 2 bytes for dyn_notch_max_hz.
2021-04-02 21:37:54 +02:00
Hans Christian Olaussen
928624d70a Fix typo in azure-pipelines.yml
"oficial" -> "official"
2021-03-31 18:02:43 +02:00
mikeller
82ff9fb007 Fixed RX task check. 2021-03-31 08:21:26 +13:00
Michael Keller
025ee87a7a
Merge pull request #10646 from Linjieqiang/fix_iflight_h7_board_current_meter
Fix: the scaling of the onboard current meter for IFLIGHT H7 target.
2021-03-29 23:39:56 +13:00
Michael Keller
a5d0f7e457
Merge pull request #10589 from IllusionFpv/fix/cms-simplified-tuning-5pt-steps
move simplified tuning parameters by 5pt
2021-03-28 18:34:35 +13:00
Michael Keller
78cd10a09e
Merge pull request #10626 from ctzsnooze/rc-tidyup-interpolated-setpoint
Remove non-required interpolated_sp parameters, simplify calling FF recalculation
2021-03-28 18:30:22 +13:00
Michael Keller
ea520bd3fc
Merge pull request #10605 from SteveCEvans/late_tasks
Display late execution stats in tasks command
2021-03-28 18:28:16 +13:00
Michael Keller
3a6b1a9ca4
Merge pull request #10584 from knoopx/fix-dp-msp-linking
fix: linking error when USE_MSP_DISPLAYPORT is undefined
2021-03-28 18:23:30 +13:00