1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00
Commit graph

264 commits

Author SHA1 Message Date
Hydra
723831b579 SPRACINGF3NEO - Use RTC6705 clk hack.
CF/BF - Fix typo in max7456DmaInProgress.  Always define an
implementation even when there is no TX-DMA.

CF/BF - Ensure that max7456 communication does not disrupt RTC6705
communication when using the same SPI port for both.

CF/BF - Port RTC6705 to use the VTX API.

* Support VTX channel/band/power on OSD for ALL vtx APIs - previously it only supported RTC6705.
* Remove all FEATURE_VTX usage.
* Remove all `#define VTX` usage.

Note that due to the async nature of tramp/smartaudio it's not possible
to know the current band/channel after requesting a change (as the
request hasn't been processed) so it makes no sense to try and save the
config - and on the tramp/smartaudio vtx the vtx maintains it's state.
So on an RTX6705 equipped FC the user should now MANUALLY save the
config using the save config stick position.

CF/BF - Move CMS for RTC6705 into vtx_rtc6705.c for consistency with
other VTX CMS menus.

CF/BF - Update RTC6705 via SOFT SPI to use VTX API.

* Achieved by simply aligning the API at the driver level and removing
all legacy conditional compilation checks.

CF/BF - Use new IO for RTC6705 CLK Hack

CF/BF - Port VTX button from CF v1.x.

Features:
* Channel Cycle
* Band Cycle
* Power Cycle
* Save Settings
* Works with any VTX using VTX API.

CF/BF - Allow support for Internal and External VTX - External takes
precedence when configured.

CF/BF - Fix display of VTX power in CMS.

* Issue occured when CMS was transitioned from integer to list of
strings.

CF/BF - Disable SMARTAUDIO and TRAMP on the SPRacingF3NEO due to flash
size.

CF/BF - Cleanup const usage of bass-by-value parameters.  Cleanup
naming.

CF/BF - Cleanup naming.  Removing noise-words. Improving consistency.

CF/BF - Improve readability by further naming cleanups.

CF/BF - Remove some magic numbers in the RTC6705 VTX code.

CF/BF - Use braces on some procedural macros.

CF/BF - Improve code readability by renaming rtc6705SetChannel to
rtc6705SetBandAndChannel.

CF/BF - Remove editor mishap.

CF/BF - Make the rtc6705Dev variable static.

CF/BF - remove duplicate state variablertc6705Dev_t - vtxDevice_t had
all we needed.  Use brackets on some procedural style macros.  Make all
the vtx vtable static const.

CF/BF - making some declarations const.

CF/BF - Fix vtx_power maximum value (out by one).
2017-04-21 11:49:31 +12:00
Sean Kelly
c8fbbaae95 Fixing debug compile errors due to beeper defines 2017-04-13 20:27:14 -07:00
Martin Budden
2493c214b0 Created subdirectories in drivers directory 2017-04-12 08:06:22 +01:00
Hydra
be063ebbbf CF/BF - Remove usage of USE_FC based on PR discussion decisions. Add
USE_VIRTUAL_CURRENT_METER.
2017-04-12 00:39:27 +01:00
Hydra
2b1dac4c6d CF/BF - First cut of allow building of the OSD SLAVE board without all
the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
mikeller
6a03b48e7f Reworked altitude estimation. Made it work when ACC is disabled. 2017-04-08 22:54:44 +12:00
DieHertz
8768dfd3df Cleaned USE_PARAMETER_GROUPS remainders 2017-04-02 03:04:37 +03:00
blckmn
c0d18280d5 Removed feature SDCARD and BLACKBOX
Now uses blackboxConfig()->device instead. Requires co-ordination with configurator.
2017-03-28 21:29:50 +11:00
mikeller
bed980bb27 Changed direction parameters into boolean to ensure a direction is defined. 2017-03-27 21:21:01 +13:00
Martin Budden
1281d30eba Merge pull request #2692 from mikeller/make_yaw_control_inversion_boolean
Changed 'yaw_control_direction' into 'yaw_control_inverted' and made it a boolean, to get rid of the 'undefined' case 0.
2017-03-25 07:26:40 +00:00
mikeller
728adb3a86 Changed 'yaw_control_direction' into 'yaw_control_inverted' and made it a boolean, to get rid of the 'undefined' case 0. 2017-03-24 20:49:52 +13:00
mikeller
4d76bd8ea0 Made 'resetConfigs()' take 'targetConfiguration()' into account. 2017-03-24 03:05:18 +13:00
Hydra
249c707beb CF/BF - rename adcConfig.currentMeter to adcConfig.current 2017-03-19 10:40:09 +00:00
Hydra
067d3c0ac2 CF/BF - First cut of Current/Voltage/Battery cleanup.
many refactorings, bugs squished, concerns separated,
single-responsibility violations fixed and performance optimizations.
2017-03-19 10:40:03 +00:00
DieHertz
0b100bf167 Fixed rxfail and rxrange CLI commands 2017-03-16 23:10:10 +03:00
Martin Budden
58a8bf3b6c USE_PARAMETER_GROUPS tidy 2 2017-03-10 07:39:09 +00:00
Martin Budden
1964362dce Removal of USE_PARAMETER_GROUPS 1 2017-03-09 22:03:59 +00:00
Martin Budden
728b596e1b Minor fixes to parameter groups 2017-03-09 19:02:47 +00:00
Martin Budden
f1ce19167f Converted target config.c files to PG - PG CLI 6 (#2578)
Converted CLI and target config.c files to PGs
2017-03-08 23:26:37 +00:00
Martin Budden
9e4de2ea3b Added separate yaw pidsum limit 2017-03-07 11:25:21 +00:00
Martin Budden
1e529a96b9 PG CLI additions 5 2017-03-06 17:37:58 +00:00
Martin Budden
aa561d542b Updates to support parameter groups 2017-03-06 13:48:14 +00:00
Andrey Miroshnikov
75e34ce0c6 Make RSSI inversion work for PWM ADC 2017-03-03 11:36:15 +03:00
mikeller
c71ef27104 Added validation for Dterm notch filter settings. 2017-02-28 17:58:56 +00:00
Martin Budden
9b62a4e38f Added PG config definitions 10 2017-02-28 06:28:06 +00:00
Maxim Strinzha
499e74efa4 Rename USART4/5 to UART4/5
This commit avoids compilation errors when INVERTER_PIN_USART4/5 is set.
2017-02-27 19:50:44 +03:00
Martin Budden
5e5fc09b1d Added PG config definitions 9 2017-02-27 08:43:17 +00:00
Martin Budden
7ae57eb8cf Added PG config definitions 8 2017-02-27 07:25:48 +00:00
Martin Budden
0f4a3028c5 Added PG config definitions 7 2017-02-27 06:50:09 +00:00
Martin Budden
6b27f10c94 Added PG config definitions 6 2017-02-27 06:27:01 +00:00
Martin Budden
8a8aae49b9 Merge pull request #2490 from martinbudden/bf_pg_configs5
Added PG config definitions 5
2017-02-27 06:25:28 +00:00
J Blackman
e7f37f43a2 Merge pull request #2489 from mikeller/readded_board_identifier_check
Re-added check to reset EEPROM config if board identifier has changed.
2017-02-27 01:32:14 +11:00
Martin Budden
df14abc5c2 Added PG config definitions 5 2017-02-26 08:06:14 +00:00
Martin Budden
9515088a98 Merge pull request #2483 from martinbudden/bf_pg_configs4
Added PG config definitions 4
2017-02-26 07:39:27 +00:00
borisbstyle
c95f4993dc Merge pull request #2479 from martinbudden/bf_rate_profile_rationalisation
Moved rate profiles out of pid profiles
2017-02-26 08:35:01 +01:00
Martin Budden
5fb4062a00 Fixed initialisation of pid and rate profiles 2017-02-26 06:37:45 +00:00
mikeller
76a6a5d306 Re-added check to reset EEPROM config if board identifier has changed. 2017-02-26 18:54:25 +13:00
Martin Budden
c92679f454 Added PG config definitions 4 2017-02-25 18:19:56 +00:00
Martin Budden
fd1d8d532e Merge pull request #2482 from martinbudden/bf_pg_configs3
Added PG config definitions 3
2017-02-25 16:28:17 +00:00
Martin Budden
a94318a75f Added PG config definitions 3 2017-02-25 11:29:55 +00:00
Martin Budden
a3ad97b0a4 Added profile macros and index functions 2017-02-25 07:37:53 +00:00
Martin Budden
051c9cca48 Moved rate profiles out of pid profiles 2017-02-24 23:25:43 +00:00
Martin Budden
a897f5e23b Added transponder config 2017-02-24 22:42:00 +00:00
Martin Budden
faf1ecf0e2 Moved free standing items out of masterConfig into separate configs 2017-02-22 18:44:40 +00:00
Martin Budden
0bca49d8c4 Added PG config definitions 1 2017-02-22 09:43:05 +00:00
borisbstyle
de3d1d527d Merge branch 'master' into patch_v3.1.6 2017-02-20 14:40:43 +01:00
borisbstyle
1fd502c357 Lower F1 looptime restriction 2017-02-20 13:13:45 +01:00
Martin Budden
79b4badf62 Merge pull request #2434 from blckmn/config_clean
Removed more target specific conditionals from the main codebase
2017-02-19 22:10:42 +00:00
Martin Budden
743b3e37e3 Merge pull request #2436 from martinbudden/bf_pg_preparation13
Preparation for conversion to parameter groups 13
2017-02-19 20:30:50 +00:00
Martin Budden
3275105127 Preparation for conversion to parameter groups 13 2017-02-19 17:46:46 +00:00