Commit Graph

6377 Commits

Author SHA1 Message Date
kc10kevin b253b94e92 FuryF3/F4 Conform Timers 2016-11-15 05:11:50 -06:00
blckmn b1e04e7ee0 PWM fix - and rename SKIP PWM and PPM to USE_PWM and USE_PPM 2016-11-15 20:59:05 +11:00
Martin Budden 547230b28b Merge pull request #1562 from blckmn/rmdo_remove
Moved RMDO to SPRACINGF3 target directory
2016-11-15 07:27:18 +01:00
blckmn 47fc1c83b4 Inverting #if statement 2016-11-15 16:36:06 +11:00
blckmn 8530989c28 Moved RMDO to SPRACINGF3 target directory
As RMDO is a clone of SPRACINGF3 and shares all the same pins, will make for one less target.c to maintain. Will also introduce working DSHOT support.
2016-11-15 10:59:36 +11:00
J Blackman 97cda56322 Merge pull request #1560 from betaflight/blckmn-patch-3-1
Fixed missing motor index on F4 DSHOT init
2016-11-15 10:20:53 +11:00
J Blackman 469b0e7756 Merge pull request #1559 from betaflight/blckmn-patch-3
Fixed missing motor index on F3 DSHOT init
2016-11-15 10:20:42 +11:00
J Blackman bc7a4f4738 Merge pull request #1561 from betaflight/blckmn-patch-4
Fixed missing motor index on F7 DSHOT init
2016-11-15 10:20:26 +11:00
borisbstyle 60917d876b Merge pull request #1555 from jflyper/bfdev-cms-keyrepeat
CMS: Accelerating auto repeat
2016-11-15 00:18:10 +01:00
borisbstyle ae269db9e2 Merge pull request #1556 from CC-Jeff/master
Passthrough Settings for Castle Creations ESCs
2016-11-15 00:16:54 +01:00
borisbstyle c472c920c7 Merge pull request #1558 from betaflight/blckmn-patch-2
Fixed SPRACINGF3EVO motor 3 timer (clash with motor 1)
2016-11-15 00:14:37 +01:00
J Blackman 66ad31173b Fixed missing motor index on F7 DSHOT init 2016-11-15 10:06:46 +11:00
J Blackman 342fa970e3 Update pwm_output_stm32f4xx.c 2016-11-15 10:00:49 +11:00
J Blackman 5102df174d Fixed missing motor index on F3 DSHOT init 2016-11-15 09:58:01 +11:00
J Blackman 435a4b4218 Fixed SPRACINGF3EVO motor 3 timer (clash with motor 1) 2016-11-15 09:52:14 +11:00
Jeff 60231732ba Minor Formatting Tweaks
Converted tabs to spaces
Indented cases in switch
2016-11-14 15:00:52 -06:00
Jeff b62e91df15 Added serial passthrough settings for Castle Creations
Corrected conditional in setTxSignalEsc
2016-11-14 14:03:31 -06:00
jflyper 2fded736fa Auto repeat for left and right keys
Key repeat effect is implemented in two phases.
First phldase is to decrease rcDelayMs reciprocal to hold time.
When rcDelayMs reached a certain limit (scheduling interval),
repeat rate will not raise anymore, so we call key handler
multiple times (repeatCount).

XXX Caveat: Most constants are adjusted pragmatically.
XXX Rewrite this someday, so it uses actual hold time instead of
holdCount, which depends on the scheduling interval.
2016-11-15 01:23:16 +09:00
Martin Budden 32c87d26b5 Merge pull request #1551 from savaga/sirinfpv-spectrum-bind
Add spectrum bind support to sirinfpv target
2016-11-14 05:51:35 +01:00
Evgeny 0ab51a0e50 add spectrum bind 2016-11-14 02:22:24 +03:00
borisbstyle 071b14f9c5 Cleanup 2016-11-13 23:33:38 +01:00
borisbstyle 71ecc10e77 Merge pull request #1549 from marbalon/master
Added support for DShot on RACEBASE FC
2016-11-13 23:32:42 +01:00
borisbstyle fbcf0463b5 Merge pull request #1550 from blckmn/dma_check
Added DMA safety check - some timers do not have DMA
2016-11-13 23:30:07 +01:00
blckmn 64e34e4917 EVO DMA target comments update (need to use motor output 5 as motor 4). 2016-11-14 09:11:14 +11:00
blckmn 92bcd91790 Added safety for timer hardware items with no DMA. 2016-11-14 08:56:42 +11:00
Marcin Baliniak 13132e40bf Added support for DShot on RACEBASE FC 2016-11-13 22:50:51 +01:00
Anders Hoglund 31e01531d7 Update Vagrant env, gcc5-2016q3. 2016-11-13 19:43:49 +01:00
Michael Keller eddc3f0368 Merge pull request #1540 from TheAngularity/patch-1
fixed wrong warnings and stroboscope effect
2016-11-14 01:51:05 +13:00
TheAngularity 23294c1621 Update battery.c
removed typo
2016-11-13 13:46:23 +01:00
TheAngularity 5cdc7f787f Update battery.c
changing back first edits
2016-11-13 13:44:29 +01:00
J Blackman 901d7ef90f Merge pull request #1547 from blckmn/aff4_fix
AlienFlightF4 build fix.
2016-11-13 22:07:30 +11:00
blckmn 3d375ef52c AlienFlightF4 build fix. 2016-11-13 22:06:47 +11:00
Martin Budden 1663faa0a4 Merge pull request #1546 from sambas/bf_f7_spirework
F7 SPI rework
2016-11-13 12:01:25 +01:00
Martin Budden d7b09553dd Merge pull request #1543 from blckmn/dshot_f3_f4
Enabled DSHOT for F3 and F4 by default.
2016-11-13 10:04:11 +01:00
Martin Budden a82820fd27 Merge pull request #1544 from blckmn/adc_mapping
sdcard dma config, adc config, bluejayf4 hardware revision
2016-11-13 10:03:35 +01:00
blckmn 9451d4b30d Enabled DSHOT for F3 and F4 by default. 2016-11-13 19:08:22 +11:00
Sami Korhonen b3a48c1a01 F7 spi rework 2016-11-13 10:07:06 +02:00
J Blackman ac45a4687a Merge pull request #1535 from martinbudden/bf_rx_tidy2
Cleanup and improved efficiency of RX functions
2016-11-13 19:00:43 +11:00
J Blackman d8dca8a4e3 Merge pull request #1539 from AlienWiiBF/AlienFlightF4V2
AlienFlight F4 V2 support and some minor AlienFlight updates
2016-11-13 16:52:20 +11:00
blckmn 1565d3aab6 Fixed build errors on targets with no defined ADC pins 2016-11-13 16:16:05 +11:00
blckmn 17facbea84 sdcard dma config, adc config, bluejayf4 hardware revision
Moved ADC to configuration stored in masterConfig.
 - can remove features for vbat etc in future (perhaps param groups)
 - allows adc to be turned off completely (freeing up dma)

Added feature SDCARD
 - enables it to be turned off.
 - allows for DMA to be turned off (set sdcard_dma=OFF)

Fixed hardware revision to allow BJF4 mini to use the same target (no need for an additional target).
2016-11-13 14:25:33 +11:00
TheAngularity 9be78a15e2 fixed #1532
fixed #1532 - wrong warnings and stroboscope effect from ledstrip / beeper when fc not armed
2016-11-12 18:07:59 +01:00
Michael Jakob 891da88596 AlienFlight F4 V2 support and some minor AlienFlight updates 2016-11-12 10:28:48 +01:00
Martin Budden 7942765ada Merge pull request #1536 from martinbudden/bf_pikoblx_fix
Fixed config.c file for PIKOBLX
2016-11-11 22:55:28 +01:00
Martin Budden 1d5bdf4e08 Fixed config.c file 2016-11-11 21:53:34 +00:00
Martin Budden 93cab8805b Call serial frame status functions via pointer rather than switch statement.
Added type specific serial build flags as per iNav for finer grain ROM size control for F1 targets.
Improved efficiency of rxUpdateCheck function.
2016-11-11 21:08:05 +00:00
J Blackman acae1a9ade Merge pull request #1086 from NightHawk32/PikoBLX_target_bf
PikoBLX target current meter scaling
2016-11-12 07:56:11 +11:00
J Blackman 60b3e22d76 Merge pull request #1515 from martinbudden/bf_fc_tasks
Tidy fc_tasks.c - remove unnecessary wrapper functions
2016-11-12 07:52:28 +11:00
J Blackman 282e9ef8d1 Merge pull request #1534 from blckmn/bluejay_dma
timer_def.h fix for F4 TIM5 usage.
2016-11-12 07:48:31 +11:00
blckmn 71193681f6 Timer DMA definitions incorrect for TIM5, and moving led to PB0 on BlueJayF4 (motor 5 as default) 2016-11-12 07:28:44 +11:00