1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00
Commit graph

59 commits

Author SHA1 Message Date
mikeller
7c14c49701 Changed 'pwmWriteDshotCommand' to use switch for better readability. 2017-06-18 15:51:03 +12:00
Bryce Johnson
13e21c969e Added Dshot commands for reversing the motors and beeper for blheli_s 2017-06-14 12:34:36 -05: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
borisbstyle
16309b1a2c Merge pull request #2393 from mikeller/added_dshot_esc_command_support
Added support for DShot ESC settings to CLI.
2017-03-02 22:52:06 +01:00
borisbstyle
d3ac73a0a0 Revert DSHOT Interrupt 2017-03-02 17:55:40 +01: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
1c4e5aceda Update to ensure serial_cli list matches enum for PWM protocols 2017-01-11 12:13:07 +11:00
borisbstyle
8303151a25 Remove DSHOT900 2017-01-10 00:35:03 +01:00
borisbstyle
56fd19d3be Merge pull request #2059 from mikeller/reorder_dshot_protocols
Reordered DShot protocols to be in ascending order.
2017-01-09 16:56:08 +01:00
blckmn
b2fa0779ef Standardised the use of dma descriptor (outside of int) 2017-01-09 22:58:50 +11:00
blckmn
ccd07cf03e F3 and F7 updates to remove DSHOT interrupt. 2017-01-09 22:43:49 +11:00
mikeller
e6e6348bd5 Reordered DShot protocols to be in ascending order. 2017-01-10 00:11:56 +13:00
blckmn
fbbc43e3d2 Removing DMA interrupt for dshot on F4 2017-01-09 21:50:10 +11:00
blckmn
6d51e481dc Re-enabling CLI option for 900 and 1200 2017-01-08 09:59:21 +11:00
blckmn
b3e28fcd86 Re-ordered existing 2017-01-08 09:54:28 +11:00
blckmn
b40dadff47 Reverting ability to enable dshot900 and dshot1200 until configurator release 2017-01-08 09:51:55 +11:00
blckmn
9c9a3fe909 Improvements and order by ascending as requested 2017-01-07 20:28:22 +11:00
blckmn
81da3040a2 re-ordered based on review - requires co-ordination with configurator 2017-01-07 09:56:40 +11:00
blckmn
61827e6fd0 Adding DSHOT1200 and 900 2017-01-07 09:08:33 +11: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
Bas Delfos
8bef913430 Use MAX_SUPPORTED_MOTORS and some code cleanup 2016-11-17 22:04:44 +01:00
Bas Delfos
2e925de36f Fix for AFROMINI failing build in Travis CI 2016-11-17 22:04:44 +01:00
Bas Delfos
9fe84c0ff2 Fixed current updates and review comments 2016-11-17 22:04:44 +01:00
Bas Delfos
16178a0662 Implementation of KISS ESC Telemetry protocol 2016-11-17 22:04:44 +01:00
blckmn
ec92be725b Disable output of DSHOT when motors disabled 2016-11-09 20:29:32 +11:00
Sami Korhonen
8c779d6cfc F7 Fix DSHOT 2016-10-31 19:25:50 +02:00
borisbstyle
f79896b1bd Add DSHOT300
Bool check for dshot protocol

Add dshot300 to init

ident
2016-10-25 13:05:03 +02:00
Sami Korhonen
7b60227716 F7 DSHOT test 1 2016-10-21 08:51:14 +03:00
Sami Korhonen
1f8805cdf0 squash betaflightF7
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00
borisbstyle
706897c187 Convert mixer to float math 2016-10-20 09:05:52 +02:00
blckmn
9f742b017d OMNIBUS Support, and updates to filenames etc for cleanliness 2016-10-18 20:27:45 +11:00
blckmn
4e529642d1 Initial implementation of DSHOT protocol (600 and 150) 2016-10-18 19:38:18 +11:00
blckmn
d48496c988 Adding some const qualifiers 2016-10-13 11:08:41 +11:00
blckmn
46a6e560f1 Initial IO remapping capability 2016-10-13 11:08:39 +11:00
Michael Jakob
c35675d258 Fix AlienFlight F3 and Sparky PPM RX 2016-08-02 23:47:44 +02:00
Martin Budden
b07c6c492a Tidied pwm_output and pwm_mapping 2016-07-11 17:20:36 +01:00
blckmn
51a99e74c6 STM32F4: USARTS 4,5,6 added
Flag initialisation for motor_pwm_protocol
Fixes for AlienFlightF4 and timers
2016-06-08 05:43:28 +10:00
borisbstyle
f1d422c322 Seperate ONESHOT125 feature from fast_pwm_protocol 2016-05-24 23:10:09 +02:00
borisbstyle
9e5c5e88c7 Rework Fast PWM protocol configuration and timing 2016-05-07 00:58:38 +02:00
4712
85dc6b59d2 1wire-pass-through-vcp
also changed uart 1wire-pass-through to avoid need of FC reboot after
exit.
2016-04-01 01:58:18 +02:00
Dominic Clifton
5d5fd81b2e Fix bug where PPM rx stops working on sparky or CC3D when using motor
PWM rate > 500 (brushed motor mode).

Fix is the same as for OneShot since both brushed motors and oneshot use
an 8mhz timer.

Fixes #58
2015-09-09 19:25:08 +01:00