1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00
Commit graph

111 commits

Author SHA1 Message Date
borisbstyle
77534ed6f6 Merge remote-tracking branch 'henn1001/FastPWM' into betaflight
Conflicts:
	src/main/drivers/pwm_mapping.c
2015-10-01 16:01:15 +02:00
borisbstyle
5a1301f73d Merge branch 'master' into betaflight
Conflicts:
	Makefile
	src/main/io/serial_cli.c
	src/main/main.c
	src/main/sensors/initialisation.c
	src/main/sensors/initialisation.h
2015-09-11 11:19:25 +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
Moto Moto
2e351b0991 Add MOTOLAB build target and associated source files 2015-08-23 19:42:18 -05:00
Larry (TBS)
3b1f423c49 COLIBRI RACE support 2015-08-20 19:18:10 +01:00
henn1001
7bd79e159c quick implementation of fastpwm 2015-08-11 01:56:32 +02:00
Dominic Clifton
7b91524ba2 Replace gimbal_flags with FEATURE_CHANNEL_FORWARDING and gimbal_mode.
Gimbals are only one use of channel forwarding, PWM video switchers and
PWM buzzers are others.
2015-07-08 16:41:29 +01:00
Dominic Clifton
3f97f855b5 SPRacingF3 Allow CH5-8 to be used as servo outputs (e.g. forwarding aux
channels)
2015-06-26 17:21:14 +01:00
Dominic Clifton
22a98af25a Removing unnecessary idlePulse parameter from pwmOneshotMotorConfig. 2015-05-29 20:36:43 +01:00
Dominic Clifton
0c1a6c5c2f Merge branch 'lock_active_features' of https://github.com/ProDrone/cleanflight into ProDrone-lock_active_features
Conflicts:
	src/test/unit/rc_controls_unittest.cc
2015-05-29 20:05:25 +01:00
Dominic Clifton
4ed6fdfea5 CC3D - Add sonar.
This also ensures that the PWM mapping does not use the sonar pins when
sonar is enabled in a board agnostic way.
Conflicts:
	src/main/config/config.c
	src/main/drivers/pwm_mapping.h
	src/main/main.c
	src/main/target/CC3D/target.h
2015-05-22 22:35:41 +01:00
ProDrone
bbb86b30fa Delayed motor PWM enable when using Oneshot 2015-05-22 00:30:29 +02:00
Dominic Clifton
20a6f829d5 SPRacingF3 - Add support for airplane pwm mappings. 2015-05-21 02:02:33 +01:00
Dominic Clifton
5bf687a150 Fix CheBuzzF3 target, broken in c0aec95e14 2015-05-06 22:20:51 +01:00
Dominic Clifton
b04be157b1 SPRacingF3 - Allow Sonar and Parallel PWM (drops 2 input channels).
Naze32 - Fix initialisation of outputs 5/6 when Parallel PWM and
Sonar are used together with a mixer that needs more than 4 motors.
2015-05-06 21:33:34 +01:00
Dominic Clifton
c0aec95e14 STM32F303 - Skip UART3 pins in PWM mapping when UART3 is used. 2015-05-06 20:38:39 +01:00
Dominic Clifton
1a2ef223a0 SPARKY - Apply Oneshot/PPM timer clash fix.
Closes #756.
2015-04-14 19:29:11 +01:00
Rimas Avizienis
56167eb0d2 workaround for AUX1-4 PWM signals missing on PWM5-8 outputs when LED_STRIP is enabled on NAZE32 2015-03-25 12:35:02 -07:00
Dominic Clifton
8e6570754c Add the first unit test for the mixer.
See #16
2015-03-16 22:56:14 +01:00
Petr Ledvina
7c263254b2 improve loop readability 2015-02-23 09:17:06 +01:00
Dominic Clifton
9057d70410 Allow excluding of servo code at compilation time.
This is in preparation for backbox on CJMCU/64k.

Flight tested on CJMCU.
2015-02-22 16:21:03 +00:00
Michael Jakob
396731a428 Intitial support for ALIENWIIF3 target 2015-01-26 18:33:47 +01:00
Dominic Clifton
b7850270c4 Cleanup CC3D/NAZE/OLIMEXINO ADC initialisation and PWM mapping. Fixes
#297.
2015-01-21 01:06:16 +01:00
Dominic Clifton
650389afb6 Disable ADC initialisation on CJMCU. Replace MASSIVEF3 with SPRACINGF3.
Conditional VCP code inclusion.  Other minor F1/F3 cleanups.
2015-01-20 23:33:03 +01:00
Dominic Clifton
b6ac9204d3 STM32F3 - Fix LED Strip hardware initialisation. 2015-01-12 22:02:10 +00:00
Dominic Clifton
5d8e39f2d9 SPARKY - Add LED STRIP support.
Update PWM mapping to avoid PWM/LedStrip clash on Motor output pin 5.
2015-01-11 00:24:57 +00:00
Dominic Clifton
abe4fbbaae Merge branch 'PWM_mapping' of https://github.com/MJ666/cleanflight into MJ666-PWM_mapping
Conflicts:
	src/main/main.c
2014-12-26 18:51:40 +00:00
Michael Jakob
64c5cda1f7 Remove include from pwm_mapping.c (not needed) 2014-12-15 11:00:04 +01:00
Michael Jakob
4b0d5e7e15 Use same PWM mapping for PPM and Serial RX
Without this fix an Octocopter with serialh RX will not work. Standard
 receiver mapping with only 6 motors outputs will apply.
2014-12-15 07:46:47 +01:00
Dominic Clifton
a7e128e684 SPARKY - PWM output on PWM1-10. 2014-12-10 16:26:00 +00:00
Dominic Clifton
6c96b8dd86 Support the Sparky board by peabody124 - work in progress, not flight
ready.

https://github.com/TauLabs/TauLabs/wiki/Sparky

http://buildandcrash.blogspot.co.uk/2013/05/sparky-testing-and-building-no-crashing.html
2014-12-09 03:12:38 +00:00
Dominic Clifton
0b92f74b80 Remove usage of feature() from rx driver code so that driver code does
not have a dependency on config.c.
2014-12-06 14:33:43 +00: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
Kyle Manna
c806046181 perms: Remove execute bit on source files
* Remove the execute bit on source files.
* No functional change.
2014-11-26 10:13:29 -06:00
Dominic Clifton
249b09abce Merge pull request #159 from Pierre-A/cc3d-updates-pa
RSSI monitoring on CC3D
2014-11-22 01:11:30 +00:00
Petr Ledvina
f7a8869b7d List terminator is wrong in some arrays 2014-11-12 12:23:28 +01:00
Dominic Clifton
d0f622bb81 PORT103R - Initial support for the Waveshare Port 103R development
board.
2014-11-10 00:53:48 +01:00
Pierre-A
caf81ad640 RSSI monitoring on CC3D 2014-11-07 09:23:54 +01:00
Dominic Clifton
30c550b83d CC3D - Support 4 PWM inputs and 4 PWM outputs.
Avoid timer clashes on CC3D when using Parallel PWM input.

More work needs to be done on the PWM RX/Output code to negate timer
clashes.
2014-11-05 22:32:44 +00:00
Dominic Clifton
2d119cba78 Fix softserial/pwm timer clash caused by typo in preprocessor defines.
See 91c7407806

Fixes #143.
2014-11-05 21:05:57 +00:00
Pierre-A
d0ec471d03 Current monitoring on CC3D 2014-10-21 20:30:40 +02:00
Dominic Clifton
2d8f65448d Cleanup Softserial/LedStrip timer clash checking. Move definitions of
led strip timer and softserial pwm ports/timers into target specific
files.
2014-10-20 21:44:55 +01:00
Pierre-A
20c4dae7c2 SoftSerial port for CC3D 2014-10-19 11:20:55 +02:00
Dominic Clifton
6beec3c6e9 MASSIVEF3 - Add new target. 2014-10-07 06:57:28 +01:00
Dominic Clifton
41ff2e8d0e CC3D - Add support for battery voltage monitoring on S5_IN.
See docs for further details.
2014-09-19 21:16:40 +01:00
Dominic Clifton
d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton
3d382ea4c7 EUSTM32F103RC - First cut of support for this High-Density STM32F103
series development board.

These boards can be picked up for less than $11, coupled with a 10DOF
sensor board they make a great development platform or cheap expandable
FC.

Pretty much all pins are available to be used, unlike on the less
capable and more expensive OLIMEXINO.
2014-09-03 01:38:27 +01:00
Dominic Clifton
acc285be4a CJMCU - Update PPM/PWM mappings.
Bench tested for PPM & 4 Motor outputs only.
2014-08-18 21:03:51 +01:00
Dominic Clifton
582503c0e6 Delete unused pwm rssi code - rssi adc is used instead since the rate
used (8khz) by some frsky receivers is too fast to be detected using the
pwm rssi code without bogging down the cpu in interrupt handlers.
2014-08-02 01:38:09 +01:00
Dominic Clifton
9a9ff9b1ad Cleanup various compiler warnings that were appearing since the
additional compiler flags were added.
2014-08-01 20:02:10 +01:00