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

169 commits

Author SHA1 Message Date
jflyper
70ba36ca0e Fix N-Channel handling for motors (non-F7) 2017-11-06 15:38:17 +09:00
Sami Korhonen
7c58d6d896 fix badly used outputinverter 2017-10-15 10:08:41 +03:00
mikeller
05a8141139 Enable only DMA for channels that are used. 2017-08-25 16:12:52 +12:00
mikeller
91ffa4b88c Fixed Dshot command sending to all motors. 2017-08-23 01:59:34 +12:00
Martin Budden
8dd4a584c1 Fixed whitespace 2017-08-17 08:32:37 +01:00
Michael Keller
a9da874d83 Fixed naming of function prototypes in 'pwm_output.h'. 2017-07-31 18:38:23 +08:00
Michael Keller
dcc600a78b Merge pull request #2727 from DieHertz/camera-control
Camera OSD control
2017-07-18 06:47:57 +08:00
Faduf
1f809048df remove beeper dependency in pwm output 2017-07-16 09:45:02 +02:00
DieHertz
cc358dc405 Implemented Camera Control using Hardware and Software PWM 2017-07-16 02:23:31 +03:00
Faduf
d6b9350c74 Add specific configuration depending on hardware revisions of the YupiF4 2017-07-15 19:41:48 +02:00
blckmn
f0bdc93a25 Fix motor twitch when unarmed and using synced protocols. 2017-07-15 14:51:59 +10:00
Martin Budden
8b36027d65 pwmWriteDshotCommand fix 2017-07-06 09:01:56 +01:00
Martin Budden
87ae1616d6 Further better use of pwmAreMotorsEnabled 2017-07-06 08:55:26 +01:00
Martin Budden
3cdbaaf14d Remove duplication in motor enable/disable 2017-07-06 08:55:26 +01:00
Martin Budden
a86ac89448 Whitespace tidy 2017-07-05 09:34:44 +01:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
blckmn
40167bc134 Adding some padding for the synced option. 2017-06-30 20:58:19 +10:00
blckmn
06ad65a2f6 Minor cleanup 2017-06-29 11:19:04 +10:00
blckmn
b9ebf8f4fd PWM output calculations dynamic based on clock speed 2017-06-28 21:59:42 +10:00
Michael Keller
779823fb79 Cleaned up Dshot naming, containment. 2017-06-25 18:20:29 +12:00
mikeller
76869eb3dd Changed function pointer semantics. 2017-06-21 00:38:01 +12:00
mikeller
559079ff31 Fixup Dshot / Proshot implementation. 2017-06-21 00:12:01 +12:00
borisbstyle
b21877438e Convert motor values at the final stage // Increase resolution 2017-06-19 09:51:17 +02:00
borisbstyle
9a4e93fa60 Merge pull request #3162 from TonyBazz/master
ProShot Implementation
2017-06-19 07:57:02 +02:00
mikeller
7c14c49701 Changed 'pwmWriteDshotCommand' to use switch for better readability. 2017-06-18 15:51:03 +12:00
Brian Balogh
f17c46038b Fix pwmWriteDshotCommand repeats 2017-06-17 22:44:48 -04:00
Bryce Johnson
13e21c969e Added Dshot commands for reversing the motors and beeper for blheli_s 2017-06-14 12:34:36 -05:00
TonyBazz
b4d2388103 Some simple changes to allow for Proshot (Another digital protocol). 2017-06-08 21:44:15 +10:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Michael Jakob
acdc429eb3 Get HAL timer struture copmletely initialized 2017-05-02 07:54:29 +02:00
Sami Korhonen
cf7fc75290 F7 fix N channel pwm and dshot output 2017-04-12 20:50:45 +03:00
Martin Budden
2493c214b0 Created subdirectories in drivers directory 2017-04-12 08:06:22 +01:00
Faduf
458cf6601d Beeper PWM support
Beeper PWM frequency set limited to positive values

Removal of all the defined(BEEPER_PWM)

tabs and spaces cleanup in beeper functions

Add IOGetByTag and timerGetByTag check to Beeper Pwm Init

Add IO check before every Beeper Pwm functions in pwm_output

Update pwm_output.c after comments from Mikeller
2017-03-31 20:23:27 +02:00
mikeller
85b002bb73 Added support for DShot ESC settings to CLI. 2017-02-20 12:45:44 +13:00
Martin Budden
2c667376fa Preparation for conversion to parameter groups 12 2017-02-19 11:41:49 +00:00
Martin Budden
781b1b1352 Removed dependency of pwm_output driver on mixers and servos 2017-02-19 08:59:37 +00:00
Martin Budden
90c8ed5e3e Preparation for conversion to parameter groups 10 2017-02-19 08:33:25 +00:00
DieHertz
0e75b4131e Added PWM inversion to motor config 2017-01-31 14:20:17 +01:00
blckmn
3c20108a99 Performance improvement based on feedback from @martinbudden 2017-01-30 15:02:14 +01:00
blckmn
a7f50ad30a Mixer protection for not enough motors initialised 2017-01-30 15:02:13 +01:00
borisbstyle
8303151a25 Remove DSHOT900 2017-01-10 00:35:03 +01:00
blckmn
9c9a3fe909 Improvements and order by ascending as requested 2017-01-07 20:28:22 +11:00
blckmn
61827e6fd0 Adding DSHOT1200 and 900 2017-01-07 09:08:33 +11:00
Sami Korhonen
6b48aab3c6 Unify F7 pwmoutput 2016-12-25 09:17:20 +02:00
Martin Budden
99760469d8 Moved pwmWritePtr out of pwm_output motors[] array 2016-12-21 08:42:52 +00:00
Martin Budden
ae1944b78c Tidy of mixer code. Remove motorCount extern 2016-12-21 08:42:52 +00:00
Michael Jakob
07f7b20aec Move Brushed ESC auto detection into seperate source files
pwm_output.c and pwm_output_hal.c are used aternativly
2016-12-14 20:43:14 +01:00
Michael Jakob
590b01a77e Generalize brushed ESC auto detection
Used for all AlienFlight and SPRACINGF3EVO targets
2016-12-10 23:14:32 +01:00
blckmn
01f942554c Fixed timer output needing to be properly enabled (when using PPM pins etc). 2016-11-26 21:36:50 +11:00
atomiclama
d4a81879d8 Fixed a problem when the motor count for motorInit came from a custom
mixer table lookup which was 0.

1. took the motor count from the loading of the custom mixer table.
2. Moved the mixerconfig to before motorInit as motorInit needs the
motorCount.
3. removed pwmIsSynced checks as this was a order of init problem, and
not required as pwmCompleteMotorUpdate protects itself.
2016-11-17 13:28:52 +00:00