1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
Commit graph

4616 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Martin Budden
e783217833 Tidy fc_tasks.c 2016-11-10 08:32:44 +00: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
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
9f79dcc10a Fix TIM inversion issue 2016-11-09 21:29:07 +01:00
blckmn
3b2aec6470 Fixed ANYFCF7 build 2016-11-10 07:16:19 +11: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
borisbstyle
f35afc4586 Remap to new timer mapping macro 2016-11-09 11:26:02 +01:00
Martin Budden
c9330f75b0 Merge pull request #1500 from blckmn/led_tidy
Small Led tidy & fix NAZE hardfault
2016-11-09 11:08:39 +01:00
borisbstyle
c5b9dd9368 Correct timer 2016-11-09 10:47:29 +01:00
borisbstyle
5de3c558f5 Merge branch 'master' of https://github.com/borisbstyle/betaflight 2016-11-09 10:43:45 +01:00
borisbstyle
ae3170bcd3 Add N channel 2016-11-09 10:43:06 +01:00
blckmn
ec92be725b Disable output of DSHOT when motors disabled 2016-11-09 20:29:32 +11:00