1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

91 commits

Author SHA1 Message Date
Martin Budden
38a9ba9aae Continue moving target specific code into target directory. 2016-06-10 13:05:03 +01:00
Martin Budden
adb6052054 Started moving F3 PWM and timers into target.c 2016-06-09 23:23:22 +01:00
blckmn
6ebb1f0b34 STM32F3: Supporting new platform directory 2016-06-08 19:52:36 +10: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
blckmn
7ca39bbde6 STM32F4: Drivers 2016-06-08 05:37:08 +10:00
sblakemore
0a3bf6e991 Add SINGULARITY target 2016-05-31 10:50:56 +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
DTF UHF
9386841abc Initial commit of DTFc.
Adds support for Invensense ICM-20608-G and BMP280 SPI mode.
2016-04-08 16:35:03 -04:00
borisbstyle
3cad4793e9 SPRACINGF3EVO initial support 2016-04-08 11:18:07 +02:00
Dominic Clifton
bd9f93660b SPRACINGF3MINI - Cleanup PWM output mapping. Remove no-longer needed
TIM3 / OneShot workaround.
2016-03-04 22:18:37 +01:00
Michael Jakob
be634758c4 AlienFlight F3 PPM receiver fix 2016-03-01 00:19:49 +01:00
borisbstyle
6e96adff0d Scheduled motor refresh rate 2016-02-28 20:23:30 +01:00
borisbstyle
977fec408a Change use_fast_pwm to forced_motor_pwm // New default fixed PWM rates 2016-02-28 01:16:59 +01:00
borisbstyle
e0c1f84206 FastPwm for all oneshot42/125 and multishot // Cleanup 2016-02-23 23:42:26 +01:00
borisbstyle
ee76376005 Multishot Implementation 2016-02-23 11:07:33 +01:00
borisbstyle
6b8f4f1111 Oneshot42 Implementation 2016-02-23 00:22:37 +01:00
Your Name
0d2bf3184c Fix oneshot kills RX_PPM 2016-02-19 23:32:08 +01:00
edusteinhorst
56e9278354 CC3D - don't share timer between PPM capture and motor output
A periodic glitch happens on AUX channels when using OneShot on CC3D,
especially with faster update loops. This is caused by a race condition
while forcing timer overflows and sharing the timer for PPM capture.
It causes the craft the fall out of the sky when using a switch to arm.

* Remap PPM in from S1_IN to S6_IN
* Remap RSSI_ADC from S6_IN to S3_IN
* Block PWM12/S6_OUT from being used with Oneshot/brushed motors so
TIM2 (PPM_IN timer) doesn't change prescaler or is manually overflowed
* Allow only one feature out of SOFTSERIAL/RSSI_ADC/SONAR, since they
will now share the same pin
* Update docs to reflect port changes and restrictions

This fixes cleanflight/cleanflight#1748,
fixes borisbstyle/betaflight#64, fixes borisbstyle/betaflight#127

fix BP6
2016-02-08 21:27:46 +01:00
Dominic Clifton
52d97869b8 SPRacingF3Mini - Initial support for new target. 2016-02-02 23:36:28 +01:00
Michael Jakob
7634e4c635 AlienFligth F3 V2 support
Updated SPI driver (SPI3 on F3 targets)
AK8963 Mag support (part of MPU9250)
MPU9250 SPI support via MPU6500 driver
Updated LED driver for alternative LED sets
Enable gyro intterupt for AlienFlight F3 targets
Update AlienWii/AlienFlight documentation
Rename AlienWii to AlienFlight
2016-02-02 23:31:55 +01:00
cmenard
d174314692 Add Lux target 2016-02-02 23:03:08 +01:00
U-THINKPADWIN\František Horínek
7a3acbabef Fixed servo mapping on cc3d for tricopter configuration 2015-12-28 10:45:45 +01:00
borisbstyle
8ecd05b911 Configurable Beeper PIN6 CC3D // Less CC3D targets 2015-12-23 00:05:33 +01:00
DTF UHF
d61f7320cf Prevent crash on PPM-only targets if PWM is selected 2015-12-02 22:05:11 +01:00
4712
02b297afa7 Runtime ESC count / gpio / pin detection
Runtime ESC gpio/pin detection
Runtime ESC count detection
2015-11-13 18:32:57 +01:00
borisbstyle
5f12711c24 Easy compile option for buzzer on PIN6 2015-11-06 11:31:36 +01:00
borisbstyle
2b722b6f82 Merge remote-tracking branch 'digitalentity/cc3d-buzzer-on-pin6' into betaflight 2015-10-20 11:12:32 +02:00
digitalentity
a2743f50e9 Moved buzzer to Out6
Removed PWM12 (Out6) from pwm_mapping
Updated documentation
2015-10-14 22:30:54 +10:00
borisbstyle
fa9cd0440b FastPWM as part of Oneshot125 (dynamic oneshot)
bool correction

IdlePulse
2015-10-01 17:07:53 +02:00
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