IVData
de21b5ae3e
Added option to output servos on PWM and SBUS
2020-09-07 19:08:26 +12:00
Konstantin (DigitalEntity) Sharlaimov
041f2c9851
[SERVO] Option to output servos via SBUS stream
2020-05-01 11:24:01 +02:00
Konstantin Sharlaimov (DigitalEntity)
23766e485b
[PWM] Increase servo output count to 16
2019-06-23 11:09:53 +02:00
Konstantin Sharlaimov
e4391d5b46
Refactor pwm motor/servo output to be mixer-driven ( #4705 )
...
* [PWM] Refactor pwm motor/servo output to be mixer-driven. Don't initialise more motor/servo outputs than necessary
* [PWM] Add logging and arming blocking flag (ci skip)
* [PWM] Remove bootlog; Create a warning message in CLI when PWM out has problems
* [PWM] Refactor servo driver and init code; Fix OSD message
2019-05-18 15:10:54 +02:00
Konstantin Sharlaimov (DigitalEntity)
cac528337c
[SERIALSHOT] Initial cut on Matek Serialshot implementation
2019-04-25 21:50:06 +02:00
Konstantin Sharlaimov
78bc53f3ad
Refactor TIMER/DMA framework ( #3833 )
...
* TIM/DMA abstraction
* Migrage F7 TIM/DMA to HAL_LL
* Refactor timers to use conventional HZ
* Refactor PWM ourput code to use highest possible resolution
* Remove TIMER_OUTPUT_ENABLED
* Temporary disable SPRACINGF3NEO due to out of RAM
2018-09-24 15:10:59 +02:00
Konstantin Sharlaimov
9e6e2b3f65
Timer driver refactoring ( #3120 )
...
* Initial cut on timer cleanup and refactoring
* Remove unused code
* Dynamic timer state allocation
* Remove USABLE_TIMER_CHANNEL_COUNT and USED_TIMERS definitions
2018-05-23 16:44:30 +10:00
Pawel Spychalski (DzikuVx)
32c60938bc
channel forwarding removed from pwm_mapping
2018-04-25 10:29:45 +02:00
Pawel Spychalski (DzikuVx)
9df8e5cfea
mixerMode removed
2018-04-04 18:59:53 +02:00
Pawel Spychalski (DzikuVx)
e5f2abd770
USE_SERVO assumed always true (since it is) and removed
2018-04-04 18:59:53 +02:00
Pawel Spychalski (DzikuVx)
1d3c6c9195
USE_QUAD_MIXER_ONLY define removed from codebase
2018-04-04 18:59:53 +02:00
Pawel Spychalski (DzikuVx)
c917685718
last step of cleanup
2017-07-03 16:49:43 +02:00
Pawel Spychalski (DzikuVx)
4291011e2a
define RANGEFINDER renamed to USE_RANGEFINDER
2017-07-02 20:31:33 +02:00
Pawel Spychalski (DzikuVx)
bdba06aac1
overhaul - step1
2017-07-01 22:01:10 +02:00
Konstantin Sharlaimov (DigitalEntity)
e4f31fbe62
Initial cut on timer mapping cleanup; refactor time code to align more with BF; Mixer refactoring (in progress)
2017-05-09 01:13:59 +10:00
Martin Budden
5874f92f87
Moved accgyro, barometer and compass drivers into subdirectories
2017-04-29 06:45:42 +01:00
Konstantin Sharlaimov (DigitalEntity)
82b08d2b7d
First cut on PWM output disable/enable feature
2016-11-07 09:39:19 +10:00
Konstantin (DigitalEntity) Sharlaimov
e7fade40ad
Always unsynched motor update; Deprecate FEATURE_ONESHOT125; motor_pwm_protocol parameter
...
Support for OS42 and MS protocol
Force at least 2kHz update rate with Multishot
F4 output timer clocks
Documentation update; sanity check for motor_pwm_rate
2016-10-14 09:33:40 +10:00
Martin Budden
19ab505e6a
Removed #includes from header files and other betaflight catchups
2016-08-06 12:59:12 +01:00
Martin Budden
f440eadc03
New IO for UARTs, LED_STRIP and BIND_PIN - not ready to merge ( #422 )
...
* Initial preparation
* Further uart IO conversion
* Jetiexbus fixup
* New IO for UARTs, LED_STRIP and BIND_PIN
* Further updates to new IO
* Further betaflight driver merges
2016-08-05 15:21:08 +03:00
Martin Budden
0489eb8b08
Converted I2C, EXTI and SONAR to new IO ( #389 )
...
* Converted I2C to new IO
* Converted SONAR to new IO
* Converted EXTI to new IO
* Whitespace and target.h cleanup
* Catch up with betaflight changes
* Got ALIENFLIGHTF1 and CC3D_NRF24_OPBL targets to fit in ROM
* Target fixup
* Fixed build errors in targets
* Fixed CC3D and NAZE targets.
2016-07-31 12:25:03 +03:00
Martin Budden
3a800f89b7
Started separating out target.c files
2016-06-10 08:02:15 +01:00
Martin Budden
941b72b36f
Allow max motors to be set in target.h
2016-05-24 19:37:40 +01:00
4712
5b2bb41406
4way-interface
2016-04-28 11:42:18 +10:00
Dominic Clifton
9add024327
Fix whitespace. Remove commented out code.
2015-11-28 14:09:12 +00:00
4712
a2218ca918
Runtime ESC count / gpio / pin detection
...
Runtime ESC gpio/pin detection
Runtime ESC count detection
2015-11-28 14:09:09 +00:00
Petr Ledvina
8f3d9fae9a
unify typedef struct name_s {} name_t;
naming convention
2015-10-12 19:58:12 +01: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
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
9a8a31676b
Reduce maximum servos from 10 to 8.
...
1) the 2 extra servos were not used for anything, yet.
2) the MSP packet to set ALL the servo configurations in one go is
larger than the MSP input buffer size.
Likely the MSP_SET_SERVO_CONF should be updated with command that takes
an index of a servo to configure, as per mode ranges/colors/leds/etc.
Fixes #1002
2015-06-10 13:31:04 +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
Dominic Clifton
20a6f829d5
SPRacingF3 - Add support for airplane pwm mappings.
2015-05-21 02:02:33 +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
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
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
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
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
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
Petr Ledvina
57c308538f
Whitespace cleanup
...
Misplaced whitespace fixed, no functional changes
2014-11-24 21:39:25 +01:00
Petr Ledvina
bf50cbb1a8
NVIC priority change
...
Use 'better' macros to handle priority. This simplifies passing priority to function and new ATOMIC_BLOCK macro
2014-11-04 16:23:21 +01:00
Pierre-A
d0ec471d03
Current monitoring on CC3D
2014-10-21 20:30:40 +02: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
fd59a4cd52
Update mixer to use servo count from results of pwm mapping.
...
Also ensure that only aux channels for which there are available servos
are used when forwarding channels.
Removed magic number usage.
2014-06-11 19:13:40 +01:00
Dominic Clifton
1730e3dfd3
Relocated led strip user code into separate file.
...
Added documentation.
Added LED_STRIP feature, can only be enabled under certain circumstances
depending on target due to pin/timer mappings - see documentation.
2014-06-09 19:11:31 +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