Commit Graph

6120 Commits

Author SHA1 Message Date
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
blckmn 9519282932 Corrected BlueJayF4 dma following DEF_TIM introduction.
Also
- moved LED_STRIP to motor output 6, (PB0)
- added N channels for F4 in timer_def.h
2016-11-12 07:28:44 +11:00
J Blackman 392f30db8d Merge pull request #1533 from blckmn/KAKUTEF4
Fixed errors on KAKUTEF4 target
2016-11-12 07:24:40 +11:00
blckmn e393d61116 Fixed errors on KAKUTEF4 target
Added definitions for TIM8_CH3 alternative DMA in timer_def.h (F4)
Renamed KAKUTEF4 target directory (removing version - use HW REV, not target name)
Fixed signed versus unsigned warning in serial_cli.c
2016-11-12 06:39:20 +11:00
borisbstyle 6154a78101 Merge pull request #1527 from blckmn/f4_serial_provider
Added ability to specify USART6 as default port.
2016-11-11 11:53:27 +01:00
Martin Budden afc8704769 Merge pull request #1479 from mikeller/fix_battery_critical_low_warning_on_startup
Introduced consistent usage of 'batteryCellCount = 0' to indicate 'no battery present'.
2016-11-11 10:23:05 +01:00
Martin Budden dc9f52c0e9 Merge pull request #1466 from fredmcc/SPortFixAcc
Fixed SPort Acc values to display in G
2016-11-11 10:13:22 +01:00
Martin Budden 0c3ce05ec4 Merge pull request #1483 from jamming/development
Add kakuteF4-V1 target, it is designed with STM32 F4 MCU and ICM20689 IMU.
2016-11-11 10:12:11 +01:00
Martin Budden f9164937ae Merge pull request #1488 from Faduf/master
YuPi F4 target update
2016-11-11 10:07:39 +01:00
Martin Budden d5d86b9a8f Merge pull request #1522 from raphaelcoeffic/sport_msp
MSP/SPORT: added a new PID configuration script (+ minor fix)
2016-11-11 10:06:43 +01:00
Martin Budden c8a070846e Merge pull request #1529 from martinbudden/bf_trailing_spaces2
Bf trailing spaces2
2016-11-11 09:25:48 +01:00
Martin Budden 19901730fc Removed trailing spaces from device drivers 2016-11-11 08:11:48 +00:00
Martin Budden c00e49ed72 Merge pull request #1528 from martinbudden/bf_trailing_spaces1
Removed trailing spaces
2016-11-11 09:05:36 +01:00
Martin Budden c90a0d1a04 Merge pull request #1518 from blckmn/simplified_owners
Simplified owners
2016-11-11 08:51:43 +01:00
Martin Budden 7c8cb3205d Removed trailing spaces 2016-11-11 07:48:00 +00:00
borisbstyle 882e26201a Merge pull request #1530 from martinbudden/bf_tabs_to_spaces
Converted tabs to spaces
2016-11-11 08:30:05 +01:00
Martin Budden dea71df659 Converted tabs to spaces 2016-11-11 07:25:20 +00:00
blckmn 0ebaef175e Added abillity to specify USART6 as default port.
This fixes the mismatch between identifier and index when uarts are actually missing and not defined.
2016-11-11 17:19:43 +11:00
J Blackman 996b1a4aa9 Merge pull request #1526 from blckmn/esc4way_dshot
Fix for esc4way and dshot
2016-11-11 16:09:34 +11:00
blckmn ebddaf8801 Fix for esc4way and dshot
May still require board reboot after flashing ESCs for dshot to re-enable correctly
2016-11-11 09:05:27 +11:00
J Blackman e82e4465f1 Merge pull request #1524 from blckmn/f3_led_fix
DMA initialisation moved.
2016-11-11 07:39:44 +11:00
blckmn fe0cead74d DMA initialisation moved.
Restored uint8_t buffer size, adjusted to WORD peripheral size, for TIM2, TIM8.
Removed Superfluous initalisation for F4.
Tested on STM32DISCOVERY and BluejayF4
2016-11-11 07:02:07 +11:00
Martin Budden 696805950f Merge pull request #1523 from martinbudden/bf_fc_msp_warnings
Fixed warnings in fc_msp.c
2016-11-10 19:37:19 +01:00
Martin Budden 013455bb21 Fixed warnings in fc_msp.c 2016-11-10 17:53:07 +00:00
Martin Budden 8e2457b090 Merge pull request #1520 from martinbudden/bf_msp_align2
Minor code tidy for easier comparison with iNav
2016-11-10 16:59:07 +01:00
borisbstyle 0415285475 Merge pull request #1505 from blckmn/disable_motors_dshot
Disable output of DSHOT when motors disabled
2016-11-10 12:55:18 +01:00
Raphael Coeffic 19173e1001 MSP/SPORT: added a new PID configuration script (+ minor fix)
First draft version of the PID configuration script. Please note that this script needs to be copied into /SCRIPTS/TELEMETRY/ on the SD card and renamed to something smaller than 6 characters (OpenTX does not support more for telemetry scripts).

Usage:
 - long press “Menu” to get save/reload functions.
 - press short “Menu” to switch pages.
 - press “+”/“-“ to navigate through fields.
 - press “enter” to edit a field.


implements #1311
2016-11-10 12:40:29 +01:00
Martin Budden 020bbacf03 Minor code tidy for easier comparison with iNav 2016-11-10 10:11:25 +00:00
Martin Budden 58d87cd97a Merge pull request #1411 from multiflite/target_pico
MultiFlite PICOBFC target support (take 2)
2016-11-10 11:09:41 +01:00
blckmn 953c8da179 Corrections - too many initialisers, and ADC 2016-11-10 20:34:00 +11:00
Giles Burgess bf28e932d5 Updated to match SPRACINGF3 changes (timers/DMA/etc) 2016-11-10 09:33:40 +00:00
Giles Burgess 6bef8e5616 Merge branch 'master' into target_pico 2016-11-10 08:56:34 +00:00
Martin Budden fe107c5f4a Merge pull request #1517 from martinbudden/bf_msp_align
Minor code rearrangement for easier comparison with iNav
2016-11-10 09:55:52 +01:00
blckmn 58105c25ac Simplified Owner management 2016-11-10 18:56:13 +11:00
Michael Keller 5912cff10b Changed stability detection to check delta between measurements. 2016-11-10 20:24:53 +13:00
Michael Keller ceeef947d5 Fixed problems with battery low / critical warnings coming on when connecting battery.
Also fixed problems with beeper settings for 1S setups.

Introduced consistent usage of 'batteryCellCount = 0' to indicate 'no
battery present'.
2016-11-10 20:07:37 +13:00
Martin Budden 8edcaeb42a Minor code rearrangement for easier comparison with iNav 2016-11-10 07:00:19 +00:00
borisbstyle 6aca7cfb0e Add DSHOT to IMPULSERCF3 (tested) 2016-11-10 00:37:05 +01:00
borisbstyle b2ad1a24ba Merge branch 'master' of https://github.com/borisbstyle/betaflight 2016-11-09 23:11:27 +01:00
Anders Höglund 458de15f91 Merge pull request #1513 from martinbudden/bf_spektrum_fix
Spektrum RX fix
2016-11-09 23:05:41 +01:00
blckmn cf7e7f1dc3 LED strip F3 fix attempt.
Fix for RESOURCE_INDEX issue on motors with DMA
2016-11-10 09:00:42 +11:00
Martin Budden 4cd3329f9a Spektrum RX fix 2016-11-09 21:38:04 +00:00
borisbstyle 054b399bbf Merge branch 'master' of https://github.com/borisbstyle/betaflight 2016-11-09 21:29:32 +01:00
borisbstyle 9f79dcc10a Fix TIM inversion issue 2016-11-09 21:29:07 +01:00
Anders Höglund 446959e8df Travis. Run both unit tests and target builds. (#1511)
* Travis. Run both unit tests and target builds.
2016-11-09 21:28:14 +01:00
blckmn 3b2aec6470 Fixed ANYFCF7 build 2016-11-10 07:16:19 +11:00
borisbstyle 096dcfedd6 Merge pull request #1509 from DTFUHF/master-doge-tim-dma-remap-dshot
DOGE: Remap output timers to remove DMA conflict - should allow DSHOT to work.
2016-11-09 20:18:01 +01:00
DTF UHF 760a2b2e67 Fix additional DMA conflict with DMA2. 2016-11-09 13:25:29 -05:00
francoisduf 9469e549ed Add possibility to use the Gyro MPU6500 2016-11-09 19:04:16 +01:00
DTF UHF c7ea30d425 Remap output timers to remove DMA conflict - should allow DSHOT to work. 2016-11-09 11:16:04 -05:00