1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00
Commit graph

14917 commits

Author SHA1 Message Date
Jan Post
04a7903756
Fix ATTITUDE task rate (#11975)
Fix attitude task rate in acro mode
2022-11-12 20:38:11 +11:00
TonyBlit
22c5bf4eb3
Added RSNR to the OSD (#11062)
* Added RNSR to the OSD

* filtering with pt1

* update pgconfig ver

* rssi_smoothness and proper define wrapping

* missing define wrap

* smoothing moved to updateRSSI

* minor comment update

* fixed rx tests

Co-authored-by: Tony Cabello <>
Co-authored-by: J Blackman <blckmn@users.noreply.github.com>
2022-11-10 04:53:15 +01:00
Steve Evans
b197d1d6bd
Enable Instruction and Data cache and prefetch on G4 (#11973)
* Don't define USE_FAST_DATA on G4
Enable Instruction and Data cache and prefetch on G4

* Update src/main/startup/system_stm32g4xx.c

Co-authored-by: haslinghuis <mark@numloq.nl>

Co-authored-by: haslinghuis <mark@numloq.nl>
2022-11-10 04:30:20 +01:00
haslinghuis
139210e403
Fix TPA (#11969) 2022-11-09 21:18:14 +11:00
haslinghuis
b44129f38d
Fix F411 target (#11971) 2022-11-09 10:07:35 +11:00
J Blackman
49b01e336b
Removing SX1280 specific target (#11966)
Please see corresponding unified cleanup:
https://github.com/betaflight/unified-targets/pull/710
2022-11-08 13:26:01 +11:00
J Blackman
07175cd83a
FIX: Using OSD config when USE_OSD not defined. (#11963) 2022-11-07 15:00:26 +11:00
blckmn
cb3eae43b6 Removing SX1280 specific target 2022-11-06 17:06:33 +11:00
J Blackman
f266749ac3
FIX: for USE_TELEMETRY_FRSKY_HUB not being defined. (#11961) 2022-11-06 10:59:14 +11:00
blckmn
3a443d837f Using OSD config when USE_OSD not defined.
- maybe worth setting up co-dependency between CMS and OSD (however can one exist without the other?)
2022-11-05 22:03:08 +11:00
blckmn
86997d52be Fix for USE_TELEMETRY_FRSKY_HUB not being defined. 2022-11-05 13:54:35 +11:00
blckmn
b00e252477 Fix for VTX and lack of telemetry 2022-11-05 13:47:24 +11:00
haslinghuis
92594aa954
Fix debug GPS_DOP (#11956)
Forgot to add `GPS_DOP` to the end of `debugModeNames` to make the debug
mode usable.

More information in the corresponding main PR
https://github.com/betaflight/betaflight/pull/11912
2022-11-05 02:12:12 +01:00
J Blackman
e664577849
Allow serial port to share all MSP functions at once (#11950)
Fixes: https://github.com/betaflight/betaflight/issues/11948

Previously the MSP functionality could only be shared with one of the
functions defined in `ALL_FUNCTIONS_SHARABLE_WITH_MSP`. This PR allows
it to be shared with all of them.
2022-11-04 17:05:40 +11:00
J Blackman
bee59c23f3
Adding SDCARD as a cloud build option (#11947) 2022-11-03 15:52:00 +11:00
J Blackman
1cd2f04a5d
fix for CRSF not being present. (#11951) 2022-11-03 15:51:25 +11:00
Steve Evans
340fa242d7 Enable MSP displayport if FUNCTION_VTX_MSP and FUNCTION_MSP are set 2022-11-02 20:09:53 +00:00
KarateBrot
840415ed85 Fix debug GPS_DOP 2022-11-02 20:35:32 +01:00
Jan Post
6ed96f9adb
Parse GPS DOP values (#11912)
This is part 2 of a series to prepare for altitude estimations (and
later on full 3-dimensional estimations) with a new sensor fusion model.

This is a PR to get access to relevant dilution of precision values of
the GPS signal.
- `pDOP`: positional (3D) - for positional dilution in space
- `hDOP`: horizontal (2D) - for positional dilution above ground
- `vDOP`: vertical (1D) - for dilution of altitude
2022-11-02 16:00:34 +11:00
Steve Evans
d052f80b66 Allow serial port to share all MSP functions at once 2022-11-01 21:33:38 +00:00
haslinghuis
4b6da37da1
Merge pull request #11920 from blckmn/specify_board
Adding board scratch space.
2022-11-01 21:50:30 +01:00
J Blackman
25ff115085
Merge pull request #11939 from blckmn/flash-fix 2022-11-01 08:42:18 +11:00
J Blackman
f164305284
Merge pull request #11941 from haslinghuis/remove-duplicate 2022-11-01 08:41:25 +11:00
J Blackman
c5d645b327
Merge pull request #11940 from blckmn/ghst_fix 2022-11-01 08:40:42 +11:00
Mark Haslinghuis
3623e5fd87 Remove duplicate flash device 2022-10-31 06:31:37 +01:00
blckmn
07eea573fd Fix for Cloud Build and USE_TELEMETRY_GHST 2022-10-31 16:16:57 +11:00
haslinghuis
4657de0b2c
Merge pull request #11931 from haslinghuis/fix-msp-video-selection
Add case for MSP OSD device detection
2022-10-31 05:30:34 +01:00
blckmn
af99690cda Fixes for some further FLASH cloud build errors. 2022-10-31 15:10:19 +11:00
J Blackman
455965aa40
Merge pull request #11937 from haslinghuis/fix-flash-define
Fix `flash` defines
2022-10-31 14:35:23 +11:00
Mark Haslinghuis
ca10c646f5 Fix flash defines 2022-10-31 03:56:50 +01:00
Mark Haslinghuis
a38cf4cf40 Fix USE_MAX7456 2022-10-31 01:35:48 +01:00
J Blackman
e801548117
Merge pull request #11391 from krasiyan/add-display-name-msp-commands 2022-10-31 07:57:44 +11:00
J Blackman
263baf7661
Merge pull request #11935 from haslinghuis/fix-gps-cloudbuild 2022-10-31 07:56:35 +11:00
J Blackman
0d6b5315bf
Merge pull request #11933 from SteveCEvans/need_gyro 2022-10-31 07:56:00 +11:00
J Blackman
fb4bf822d6
Merge pull request #11934 from SteveCEvans/check_acc 2022-10-31 07:55:22 +11:00
Steve Evans
1025098194 Check that at least one USE_ACC* definition is defined if USE_ACC is defined 2022-10-30 11:19:10 +00:00
Steve Evans
4a7ff75851 Check that at least one gyro type is defined 2022-10-30 11:16:25 +00:00
blckmn
b6b76d1b88 Adding board scratch space.
- Including ability to define custom defaults as char[] that is baked into the build
- removed unnecessary size of custom defaults header parsing (defines provided by build process or in board.h for devs).
2022-10-30 17:43:43 +11:00
J Blackman
ea45f9a5b9
Merge pull request #11932 from blckmn/init_osd
Moved osdDisplayPortDevice_e osdDisplayPortDevice initialisation
2022-10-30 17:37:06 +11:00
Mark Haslinghuis
c1efaf56c8 Fix GPS in Cloud build 2022-10-30 00:03:13 +02:00
Steve Evans
587491ddbd Only declare attitudeIsEstablished is USE_ACC is defined 2022-10-29 18:44:47 +01:00
J Blackman
3d0681f942
Merge pull request #11925 from blckmn/target_removal
Final target clean up
2022-10-29 17:13:30 +11:00
blckmn
192f2c6cc7 Moved osdDisplayPortDevice_e osdDisplayPortDevice initialisation to within USE_OSD define. 2022-10-29 17:11:20 +11:00
Mark Haslinghuis
5fa5e5acda Add case for MSP OSD device detection 2022-10-29 06:56:21 +02:00
blckmn
1867fff9b7 AltitudeDerivative unused if no baro or gps defined. 2022-10-28 17:50:42 +11:00
haslinghuis
7bba781f58
Merge pull request #11192 from jeffpearce/elrsguid
Add support for getting/setting elrs uid via msp API
2022-10-27 02:08:12 +02:00
Krasiyan Nedelchev
e7df32f020 Rename 'display_name' to 'pilot_name'; rename 'name' to 'craft_name'; Add the 'MSP2_GET_TEXT' and 'MSP2_SET_TEXT' MSP commands
- add the 'MSP2_GET_TEXT' and 'MSP2_SET_TEXT' MSP2 commands

  - Support getting/setting the 'MSP2TEXT_PILOT_DISPLAY_NAME' config prop ('pilotConfigMutable()->displayName')

- rename 'display_name' to 'pilot_name'

  - Add the new 'OSD_PILOT_NAME' OSD element in place of the
  'OSD_DISPLAY_NAME' one (as they are semantically identical)
  - Add the 'osd_pilot_name_pos' cli prop in place of 'osd_display_name_pos'

- rename 'pilotConfigMutable()'s 'name' to 'craftName'

  - remove the legacy 'GET_NAME' / 'SET_NAME' MSP commands
  - replace the 'name' CLI prop for 'craft_name'
  - add the 'MSP2TEXT_CRAFT_NAME' constant for 'MSP2_GET_TEXT' and 'MSP2_SET_TEXT'
2022-10-25 23:03:46 +02:00
blckmn
ee619349fc Moving OSD to cloud build option 2022-10-26 07:36:55 +11:00
haslinghuis
b8bacc47f3
Merge pull request #11913 from SteveCEvans/msp_dp
Enable MSP Displayport on a serial port using FUNCTION_MSP_DISPLAYPORT
2022-10-25 12:52:34 +02:00
J Blackman
aafcd26fb5
Merge pull request #11921 from ctzsnooze/use-PWM_RANGE-consistently
use PWM_RANGE consistently
2022-10-25 18:08:35 +11:00