1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00
Commit graph

276 commits

Author SHA1 Message Date
mikeller
a8d34dabb0 Changed defines for GYRO/ACC/MAG/BARO/GPS/SONAR/OSD/BLACKBOX/CMS to conform to the USE_ convention. 2017-11-05 10:15:24 +13:00
mikeller
d5fdb1a498 Fixed display of arming flags in CLI. 2017-11-01 21:41:10 +13:00
ethomas999
8a27c9e194 Implemented 'vtx_' settings and SetFreqByMHzMsp support
Implemented 'vtx_' settings for SmartAudio and Tramp

Added 'vtx_freq' setting for SmartAudio and Tramp

SmartAudio-CMS fixes and improvements

Added SetFreqByMHzMsp support for SmartAudio and Tramp
2017-10-19 23:32:24 -04:00
Michael Jakob
60b8e0f05e Configurable compass drivers based on jflyper's PR #3613
Eliminate static variables in mag drivers
AK8975 and HMC5883l driver cleanup
replace magic numbers with definitions
Switched AK8963/Ak8975 to 16 bit mode
Update Mag gain calculations to use integer varables (ledvinap
recomendation)
Update interrupt handling for HMC5883L
Reschedule compass task only if slave mode is realy active
Change bustye definitions to an enumeration set
Fix dispatch functions and remove redundant dispatch functions from Baro
and Mag drivers 
Fix unittest
2017-10-17 22:22:11 +02:00
Dan Nixon
646d757460 Use arming flag names in CLI whenever possible
Some targets define both MINIMAL_CLI and OSD, in this case the arming
disable flan name strings are present but unused for the CLI.

Match the test in the cli.c with that in runtime_config.[ch] so that
the flag names are used whenever they are included.
2017-10-15 07:50:18 +01:00
mikeller
63f073bdb8 Improved consistency of Dshot info text in CLI. 2017-10-10 00:50:01 +13:00
Martin Budden
53f5e87c7a Add void to function declarations/definitions where required 2017-09-24 09:22:48 +01:00
jirif
96c7ef22c8 add strict argument checking for the "defaults" cli command 2017-09-12 10:15:13 +02:00
jirif
004e98457f "diff|dump all" export can be used as direct copy/paste import
"defaults" command causing reboot of the FC and ignoring remaining part of the pasted commands from "diff|dump all" exports. This change adding "nosave" parameter/functionality for the "defaults" command and "diff|dump all" exports. This parameter will not save eeprom and do not reboot the FC.
2017-09-11 21:19:26 +02:00
Spencer Owen
992403d2dd Shows MSP api version in cli 2017-09-10 22:12:58 -06:00
mikeller
d4b1c06bf8 Added delay before sending Dshot commands to avoid read errors. 2017-09-10 12:55:47 +12:00
Martin Budden
36133164e2 Merge pull request #4034 from martinbudden/bf_cli_switch_whitespace
Fixed whitespace in CLI switch statements
2017-09-01 10:31:00 +01:00
Martin Budden
23226be980 Merge pull request #3987 from mikeller/added_blheli32_info_decoding
Added support for decoding BLHeli32 ESC info.
2017-09-01 09:37:13 +01:00
Martin Budden
7740a65e8a Fixed whitespace in CLI switch statements 2017-09-01 07:21:11 +01:00
Martin Budden
e6bbce53e6 Improved testability 2017-08-31 13:37:38 +01:00
mikeller
f7c66869e8 Added support for decoding BLHeli32 ESC info. 2017-08-29 18:29:05 +12:00
mikeller
ad53b20f08 Ordered commands list in CLI. 2017-08-28 21:45:01 +12:00
mikeller
91ffa4b88c Fixed Dshot command sending to all motors. 2017-08-23 01:59:34 +12:00
mikeller
a4ba8b3db8 Cleanup of the FrSky SPI RX code. 2017-08-20 23:36:07 +12:00
Martin Budden
8dd4a584c1 Fixed whitespace 2017-08-17 08:32:37 +01:00
Martin Budden
d2b31c1770 Fixed some comparion sign warnings 2017-08-16 11:30:00 +01:00
Martin Budden
c0961d7f4c Fixed some comparion sign warnings in MAX macros 2017-08-16 08:55:12 +01:00
bkeinert
43a927b759 change helptext for dump/diff clí commands to be consistent with the actual behavior 2017-08-15 00:49:30 +02:00
bkeinert
5d258d11f2 sync order of beeperTable and beeperMode_e enum
add beeperModeMaskForTableIndex function and use it in CLI
add change to unittest to make it compile
2017-08-14 01:12:23 +02:00
midelic
fbd712a255 Added FrSky SPI RX and MIDELICF3 target.
add MIDELICF1/MIDELICF3 targets

added more files/target mods

typo error/cosmetics

mod telemetry files

cosmetics

update to full telemetry

Add images

telemetry select default

info readme

activate full telemetry

added FrskyRX main files

added info

cosmetics

fix telemetry buffer range

fix range

fix telemetry buffer

typo fix

added MIDELICF3V2 target

cosmetics

a2 telemetry fix

change status LED pin for production board

telemetry fix

telemetry fix

forgot  to add bind via cli

Fixes to make MIDELICF3 build.

Switched FrSky bind information to PG.

Added 'autoBind' as a config setting.

Some fixups.

Fixed binding (Langkawi edit).

Made FrSky binding non-blocking.

Fixups before PR.

Fixed telemetry integration.
2017-08-04 08:44:50 +08:00
blckmn
3846dd5cf6 Fix for reset on save 2017-07-29 20:59:13 +10:00
Martin Budden
03caa1cc8d Merge pull request #3600 from blckmn/boardIdentifier
Board identifier being moved to systemConfig
2017-07-29 06:47:00 +01:00
Petr Ledvina
8d37ae885f Use variable for eeprom emulation
Linker section is not necessary
2017-07-27 02:12:23 +08:00
blckmn
7a5d1d9b8e Moving boardIdentifier out of config header and into systemConfig (for generic targets) 2017-07-25 09:05:12 +10:00
Martin Budden
6943fb8e56 Split MSP box code into separate module 2017-07-20 13:33:34 +01:00
Martin Budden
96d0b468e9 Merge pull request #3562 from DanNixon/remove_failsafe_enable_option
Remove the ability to disable stage 2 failsafe
2017-07-19 16:06:59 +01:00
jflyper
363cfae650 Merge branch 'master' into bfdev-configurable-baro 2017-07-19 18:18:23 +09:00
Dan Nixon
e0ebee168a Remove the ability to disable stage 2 failsafe 2017-07-19 09:47:09 +01:00
jflyper
7fddf1169b Merge branch 'master' into bfdev-configurable-adc-pins 2017-07-19 10:02:40 +09:00
Andrey Mironov
2636ffddb9 Renamed occurrences of CAMERA_CONTROL to USE_CAMERA_CONTROL 2017-07-18 17:55:08 +03:00
jflyper
ec8592d779 Rebased 2017-07-18 17:45:55 +09:00
jflyper
8fe8da975b Use csn instead of cs for chip select. 2017-07-18 17:21:46 +09:00
Michael Keller
dcc600a78b Merge pull request #2727 from DieHertz/camera-control
Camera OSD control
2017-07-18 06:47:57 +08:00
jflyper
2e755ae5d6 Add adc pin resource handling 2017-07-17 21:42:20 +09:00
jflyper
c53e16b20e Merge remote-tracking branch 'betaflight/master' into bfdev-configurable-baro 2017-07-17 01:47:40 +09:00
jflyper
d2c71a6f7e Add bus parameters to barometerConfig_t, cli handling 2017-07-16 23:57:16 +09:00
Martin Budden
afe2d26ded Merge pull request #3523 from fishpepper/cli_array
improved array handling in cli
2017-07-16 07:40:43 +01:00
DieHertz
cc358dc405 Implemented Camera Control using Hardware and Software PWM 2017-07-16 02:23:31 +03:00
fishpepper
544cad10df cleanup and style cosmetics 2017-07-15 20:30:55 +02:00
Martin Budden
07dc62f465 Merge pull request #3517 from basdelfos/feature_cleanup
Fixed feature list in cli dump command
2017-07-15 09:33:26 +01:00
fishpepper
7f47144b1a better array support (uint8_t, int8_t, uint16_t, int16_t) and better parser 2017-07-14 19:03:19 +02:00
Bas Delfos
ae21fceafd Fixed features in dump command 2017-07-14 14:21:31 +02:00
Michael Keller
779d3ceb0a Added ESC info display for 'dshotprog 255 6' invocation (all ESCs). 2017-07-14 00:07:44 +08:00
Michael Keller
1a472b199c Merge pull request #3466 from basdelfos/feature_cleanup
Cleanup unused features
2017-07-12 11:36:33 +12:00
Michael Keller
de6b4ff62a Merge pull request #3474 from mikeller/add_esc_version_info
Added display of (KISS) ESC version info for 'dshotprog <ESC index> 6'.
2017-07-11 21:16:56 +12:00