Commit Graph

85 Commits

Author SHA1 Message Date
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
Martin Budden 19901730fc Removed trailing spaces from device drivers 2016-11-11 08:11:48 +00:00
Martin Budden c90a0d1a04 Merge pull request #1518 from blckmn/simplified_owners
Simplified owners
2016-11-11 08:51:43 +01:00
blckmn ebddaf8801 Fix for esc4way and dshot
May still require board reboot after flashing ESCs for dshot to re-enable correctly
2016-11-11 09:05:27 +11:00
blckmn 58105c25ac Simplified Owner management 2016-11-10 18:56:13 +11:00
blckmn ec92be725b Disable output of DSHOT when motors disabled 2016-11-09 20:29:32 +11:00
blckmn 4ee932a6ce Changed output of OC to be more inline with DSHOT - so the same flags can be utilised. 2016-11-09 20:03:06 +11:00
blckmn ff5c44b4dc Allow any allocation for motors and servos 2016-11-05 06:51:43 +11:00
borisbstyle 7b8ebfc8f9 Disable -flto optimiser option for F3, F4 and F7 2016-11-02 22:24:08 +01:00
blckmn 9fdd3aa2e4 Fixes for hardfault, target changes for ANYFCF7 and BFF3 2016-11-01 14:34:06 +11:00
borisbstyle 5fef78e6c7 Fix unsynced PWM 2016-10-25 16:16:17 +02:00
borisbstyle f79896b1bd Add DSHOT300
Bool check for dshot protocol

Add dshot300 to init

ident
2016-10-25 13:05:03 +02:00
blckmn fe3ac4754e Timer code simplification in preparation of led strip being assignable.
Moved some repeated code into timer.c - preparation for allowing resource command for led strip
2016-10-23 14:16:55 +11:00
blckmn 4e529642d1 Initial implementation of DSHOT protocol (600 and 150) 2016-10-18 19:38:18 +11:00
blckmn c578c9d6bc Removed DEFIO_TAG_ISEMPTY 2016-10-13 11:08:42 +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
borisbstyle 75c139faf2 Merge pull request #871 from martinbudden/bf_main_declarations
Moved function declarations out of main. Tidied drivers.
2016-08-03 10:08:43 +02:00
Michael Jakob c35675d258 Fix AlienFlight F3 and Sparky PPM RX 2016-08-02 23:47:44 +02:00
Martin Budden 1c997abaaf Moved function declarations out of main. Tidied drivers. 2016-08-02 15:11:35 +01:00
nathan b97a2b18a2 trying to fix kiss again. this should pry be a constant time implementation... 2016-07-29 02:04:44 -07:00
nathan 1b3ae14b8d allow pwm mapping to xN (complementary) channels 2016-07-23 00:27:43 -07:00
Martin Budden 141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
J Blackman 22e8a61a6f Merge pull request #725 from martinbudden/bf_pwm_tidy
Tidied pwm_output and pwm_mapping
2016-07-16 12:47:45 +10:00
borisbstyle e4f9118e82 ident 2016-07-13 14:07:32 +02:00
blckmn 0e3afca946 fix for OneShot42 issue. 2016-07-13 19:25:19 +10:00
Martin Budden 3229390848 Fixed setting of pwmWritePtr 2016-07-12 00:07:41 +01:00
Martin Budden b07c6c492a Tidied pwm_output and pwm_mapping 2016-07-11 17:20:36 +01:00
Sami Korhonen 085e88cfd9 Fix F4 timers + fix pwm output generation 2016-07-10 11:21:32 +03:00
Martin Budden ea283ab98c Converted tabs to spaces 2016-07-09 14:39:39 +01:00
blckmn 67d448d8ea Improved Resource command output. 2016-07-09 17:03:16 +10:00
Martin Budden c10129bc50 Combined timer output and inverted fields 2016-06-29 20:12:52 +01:00
blckmn e666f10e84 Clean of superfluous F4 defines and add ZCORE (SPRF3 clone with SPI 6500) 2016-06-24 23:07:51 +10:00
blckmn f293407a9d Renamed pin on timerHardware_t to tag for clarity 2016-06-22 21:12:38 +10:00
blckmn 897aab9c86 2.8.1 changes ready for merge 2016-06-19 09:42:30 +10:00