1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00
Commit graph

13541 commits

Author SHA1 Message Date
Michael Keller
d7776cd583
Merge branch 'master' into gps_task_time 2021-05-18 01:08:34 +12:00
Michael Keller
bcc9ff4f02
Merge pull request #10726 from TonyBlit/osd_sats_none 2021-05-18 00:58:32 +12:00
Michael Keller
adc20088b5
Merge pull request #10662 from klutvott123/dynamic-notch-update-fix
Allow re-initialising dynamic notch
2021-05-18 00:53:35 +12:00
Michael Keller
dfcd11bd69
Merge pull request #10712 from mikeller/cleanup_matrix_rotation
Cleaned up matrix rotation.
2021-05-18 00:46:04 +12:00
mikeller
82b5e386f3 Added BMI270 driver to all Unified Targets. 2021-05-18 00:40:28 +12:00
Michael Keller
acce1872fb
Merge pull request #10714 from mikeller/add_g474_mcu_id
Added MCU id / name for STM32G474.
2021-05-18 00:32:15 +12:00
Michael Keller
148f9e9d90
Merge pull request #10715 from mikeller/update_bmi270_config
Switched to 'maximum FIFO' version of the BMI270 microcode.
2021-05-17 23:57:50 +12:00
Hans Christian Olaussen
5c7ff1ff94 I2C configurable clockspeed 2021-05-17 13:57:44 +02:00
Michael Keller
da0b585909
Merge pull request #10720 from SteveCEvans/g474_ram 2021-05-17 23:55:40 +12:00
Steve Evans
0dbd712233 Allow normal RAM overflow to occupy start of CCM, and only reserve 2560 bytes for vector table and stack in CCM 2021-05-17 12:28:30 +01:00
Michael Keller
e9b77e9f30
Merge branch 'master' into gps_task_time 2021-05-17 22:44:18 +12:00
ctzsnooze
ad6885e1ee default to actual rates with soft centre feel 2021-05-16 12:12:12 +10:00
hexfet
c42cfe41bd Check file attributes to remove conflicts between identical names for
volume id, directories, and files.
2021-05-12 19:12:13 -04:00
tbs-fpv
131c77079e
cosmetic change
Co-authored-by: haslinghuis <mark@numloq.nl>
2021-05-11 10:04:02 +08:00
tbs-fpv
80e1b7fb06 cosmetics 2021-05-10 15:02:40 +08:00
tbs-fpv
1cd96fa9ab cosmetics 2021-05-10 13:56:07 +08:00
tbs-fpv
5ec30726a9 support baud rate negotiation if telemetry is disabled 2021-05-10 13:32:16 +08:00
Dominic Clifton
5eec605290 Force reset the SDMMC peripheral to prevent SD card initialization
failure.

* Observed on EXST targets.

Reference:

https://community.st.com/s/question/0D53W00000MBn2mSAD/stm32h743-sdmmc-write-problem
2021-05-08 22:07:32 +02:00
Dominic Clifton
e0f2b89828 Indicate failure when CONFIG_IN_SDCARD is used and no SD card is
inserted.
2021-05-08 14:20:29 +02:00
ctzsnooze
636d563abe major rc changes ctzsnooze 2021 2021-05-07 14:40:43 +10:00
Tony Cabello Miguel
56cb320be0 OSD Test for Sats indicator fixed 2021-05-05 15:26:41 +02:00
Tony Cabello Miguel
561b15be70 WIP: Unit test for OSD Sats element 2021-05-05 10:27:03 +02:00
tbs-fpv
a3cbbb3c1c better differentiation for 0x16 & 0x17 RC frames 2021-05-05 16:03:29 +08:00
Tony Cabello Miguel
c56d81457f Fixed tests, replaced hyphen with NC 2021-05-05 08:55:50 +02:00
Tony Cabello Miguel
aad83f5705 OSD Fix: show hyphen when no sats 2021-05-05 06:48:10 +02:00
tbs-fpv
ec287000b3 remove duplicated preprocessor 2021-04-28 11:48:22 +08:00
tbs-fpv
8c788d99c5 only enable CRSFV3 for targets with flash size > 256 2021-04-28 11:44:08 +08:00
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
tbs-fpv
fbd01551ff support channel resolution configuration for 0x17 2021-04-28 11:21:30 +08:00
tbs-fpv
4d8845b8da Merge remote-tracking branch 'refs/remotes/official_bf/master'
Conflicts:
	src/main/rx/crsf.c
	src/test/unit/rx_crsf_unittest.cc
2021-04-28 11:15:00 +08: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
mikeller
53187c5367 Switched to 'maximum FIFO' version of the BMI270 microcode. 2021-04-28 01:10:45 +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
Hans Christian Olaussen
242d5df827 tabs and spaces 2021-04-26 19:11:47 +02:00
Michael Keller
3ae7e917b7
Merge pull request #10707 from klutvott123/rc-data-float 2021-04-27 01:48:20 +12:00
mikeller
687c7014c0 Added MCU id / name for STM32G474. 2021-04-27 01:37:33 +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
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
mikeller
55cf26ebbc Cleaned up matrix rotation. 2021-04-26 23:10:00 +12:00
tbs-fpv
8437b69254 revise the data structure of subset RC frames 2021-04-26 17:42:37 +08:00
tbs-fpv
565f23074f add unit test for crsfFrameCmdCRC 2021-04-26 17:09:32 +08:00
tbs-fpv
e24d55f0a7 cosmetics 2021-04-26 17:08:03 +08: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
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
9e115b466b
Merge pull request #10650 from ctzsnooze/PT2-and-PT3-for-rc_smoothing 2021-04-26 14:58:32 +12:00