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
ProDrone
b75de91f35
Instead of trying to latch the desired features...
...
...and apply them after a soft reset (which also required an additional
write to flash), it is now such that features and settings are modified
and stored in flash as before.
After initialisation completes, the active features are latched and are
not to be modified until the next startup. This guarantees that all
saved modifications are persistent even when power is switched of
(without a reset in between).
When a soft reset is required, the active features and the currently
configured features are used to detect if the oneshot feature has
changed state, in which case motor PWM outputs are stopped and soft
reset is done after a 1.5 second delay.
During normal operation the active features will not change and all
changes to features ordered via MSP commands or the CLI are applied to
the configuration that gets saved to flash.
The required effect of modifying features without changing the actions
in the running mainloop is achieved. The user needs to be aware that
changes to features are not applied immidiatly.
2015-05-21 01:27:45 +02:00
Dominic Clifton
8e6570754c
Add the first unit test for the mixer.
...
See #16
2015-03-16 22:56:14 +01:00
Dominic Clifton
e802e2d032
Remove usage of feature() from pwm driver code so that driver code does
...
not have a dependency on config.c.
2014-12-06 11:39:31 +00:00
Ben Hitchcock
94c5573c39
Allowing oneshot125 functionality to work on a Naze board.
...
This code has been flight tested, but will have problems on a CC3D board, and also when the looptime is longer than 8200 uS.
2014-11-29 14:06:35 +08:00
Dominic Clifton
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00
Dominic Clifton
9f1a0fcb4c
Cleanup line endings.
2014-07-31 23:53:34 +01:00
Dominic Clifton
e867af8c4b
Correct project name in GPL notices.
2014-06-05 00:47:47 +01:00
Dominic Clifton
0bbcd6570f
Updated source files to include the GPL v3 notices. Include a copy of
...
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
d19a5e7046
Cleanup project structure. Update unit test Makefile to place object
...
files in obj/test
2014-05-31 22:43:06 +01:00