1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +03:00
Commit graph

10274 commits

Author SHA1 Message Date
Michael Keller
7a7f1ceda5
Merge pull request #4743 from Dimand/Current_calibration_fix
Changed the current calibration to be more sensible
2017-12-17 11:07:07 +13:00
Michael Keller
d4d5c50fe2
Merge pull request #4757 from martinbudden/bfa_fast_ram
Add TCM support to F7
2017-12-17 11:00:08 +13:00
Michael Keller
6f8b17d1d4
Merge pull request #4759 from dthubereng/bfm_prearm_msp_enable_fix
Prearm MSP Enable Fix
2017-12-17 10:57:58 +13:00
Michael Keller
59a6055cdf
Merge pull request #4752 from ronlix/KISSFCV2F7
Kissfcv2 f7
2017-12-17 07:35:23 +13:00
Martin Budden
a33a82725e Add fast RAM support, CCM or TCM depending on processor 2017-12-16 17:42:35 +00:00
Martin Budden
5892cac45d
Merge pull request #4761 from martinbudden/bfa_icache
Preparation for using instruction cache on F7
2017-12-16 12:46:43 +00:00
felix
cfc0dcf036 KISSFCV2F7 BF target 2017-12-16 10:19:28 +01:00
Dave Huber
2526b1ab80 Prearm MSP Enable Fix
Added PREARM to rcMode dependant enables.
Fixes Issue #4756
Added other rcMode dependant BOX* enables.
Reordered copy mask, too.
Made ARMED check a block
Added note about flight and arm modes
2017-12-15 16:21:41 -06:00
Martin Budden
12640972a9 Preparation for using instruction cache on F7 2017-12-15 10:07:19 +00:00
Michael Keller
a0f6d10b72
Merge pull request #4745 from mikeller/fixed_frsky_spi_binding
Fixed binding for FrSky SPI RX.
2017-12-15 03:00:15 +13:00
Michael Keller
8d13b064c8
Merge pull request #4749 from Linjieqiang/ExuavF4
Add EXUAVF4Pro Target Board.
2017-12-15 02:51:40 +13:00
LinJieqiang
f49009beb8 [Add] Add EXUAVF4Pro Target Board.
Add all serial ports default config for EXUAVF4.

Remove the MSP default config.
2017-12-14 21:26:40 +08:00
DESKTOP-JI9AKHT\Dimand
bcd5752a12 Changed the scaling factor of the curent sensor to be in the form of y=mx+b. Altered the scaling to be in mV/10A, this means that for you average 50mOhm shunt resistor you will have a scale factor of 500, plenty of integre adjustability and the default 400 used will be fine as a first guess in most cases. Offset is adjusted to mA to give greater adjustability as an integer value. Builds successfully to OMNIBUSF4SD. 2017-12-14 15:19:16 +11:00
Michael Keller
eb4425face
Merge pull request #4746 from jflyper/bfdev-fix-USE_xxx-positions
Fix USE_xxx positions
2017-12-14 07:45:49 +13:00
jflyper
54f5df3ca0 Fix USE_xxx positions 2017-12-14 03:13:35 +09:00
mikeller
a4be564669 Fixed binding for FrSky SPI RX. 2017-12-14 01:37:23 +13:00
Michael Keller
f9feb03a93
Merge pull request #4722 from dthubereng/master
Added AND Logic to Modes; Fixes #2738.
2017-12-13 13:03:03 +13:00
Dave Huber
b9272ae325 Added Logic AND to Modes
Added Mode Inversion configuration, CLI commands, and update.
Changed Mode Inversion to Mode Logic.
configure by AND/OR instead of output inversion.
Fixed Mode Logic code after debugging.
Added PG_REGISTER to cli unittest.
Revert version to previous.
Revamped Mode Logic using existing Conditions config.
Requires coordination with BF-configurator, but works with CLI (added argument in 'aux' command).
Coding standard changes.
Cleaned up code. Added modeLogic enum.
removed executable permissions.
Code cleanup, cliAux backward compatible.
changed bitArrayInv to bitArrayXor.
allow for old 'aux' command (without last argument) to be made. asserts MODELOGIC_OR instead of resetting the memory.
2017-12-12 10:35:15 -06:00
Michael Keller
625f083a3f
Merge pull request #4726 from jflyper/bfdev-flash-avoid-bus-monopolization
FLASH Make each pageProgramContinue a separate transaction
2017-12-12 19:29:57 +13:00
Michael Keller
4f14ad0e50
Merge pull request #4741 from jflyper/bfdev-sonar-cleanup-stale
SONAR Remove a stale define
2017-12-12 14:48:04 +13:00
jflyper
75c5bb98f2 Remove a stale define 2017-12-12 09:53:42 +09:00
Michael Keller
3401197b9f
Merge pull request #4733 from jflyper/bfdev-rg_ssd_f3-remove-stale-defs
RG_SSD_F3 Remove stale config defines
2017-12-11 20:21:01 +13:00
jflyper
9a8a604f59 Remove stale config defines 2017-12-11 14:56:03 +09:00
Michael Keller
a91d2fdbc6
Merge pull request #4737 from AndersHoglund/fix_unittest_compile_warnings
Fixed unittest compile warnings caused by inconsistant data types.
2017-12-11 17:27:50 +13:00
Anders Hoglund
e42d74926a Fixed unittest compile warnings caused by inconsistant data types. 2017-12-11 01:21:15 +01:00
Michael Keller
e992221848
Merge pull request #4729 from brycedjohnson/Turtlemode3dfix
Crashflip (Turtlemode) 3d fix
2017-12-11 08:10:00 +13:00
Michael Keller
b948936109
Merge pull request #4734 from jflyper/bfdev-convert-transponder-to-USE_-format
Convert TRANSPONDER to USE_xxx scheme
2017-12-11 07:23:54 +13:00
jflyper
db014752d7 Convert TRANSPONDER to USE_xxx scheme 2017-12-11 02:49:00 +09:00
Bryce Johnson
c8bf35ec4d turtlemode 3d fix 2017-12-09 18:51:52 -06:00
jflyper
d68757c914 Make each pageProgramContinue a separate transaction 2017-12-08 19:21:37 +09:00
Michael Keller
bb79830f03
Merge pull request #4721 from atomiclama/bf_defaultChange
Change switch default handling
2017-12-08 08:30:44 +13:00
atomiclama
6e5ad5d210 Change switch default handling
Currently if no black box device is selected the default case sets
storageDeviceIsWorking = true. 

I believe this to be wrong.

This commit keeps the initial setting of false.
2017-12-06 09:17:55 +00:00
Michael Keller
49ba30174b
Merge pull request #4715 from fiam/telemetry_battery
Don't check batteryConfig fields from the telemetry, call APIs instead
2017-12-05 19:00:48 +13:00
Michael Keller
442906f23b
Merge pull request #4716 from fiam/sport_new_fields
Add FSSP_DATAID_HOME_DIST and FSSP_DATAID_ASPD to S.Port
2017-12-05 19:00:27 +13:00
Alberto García Hierro
d666151188 Don't check batteryConfig fields from the telemetry, call APIs instead
This makes the telemetry code less dependendant on the battery
implementation.

New functions introduced:
    isBatteryVoltageAvailable()
    isAmperageAvailable()
2017-12-04 17:14:17 +00:00
Alberto García Hierro
bfe416a979 Add FSSP_DATAID_HOME_DIST and FSSP_DATAID_ASPD to S.Port
Emit sensors for home distance and air speed in Smartport telemetry.
While airspeed is not yet supported in BF, this makes both BF
and iNAV send the same data packages via Smartport and reserves a
data ID for future usage when BF adds support for pitot sensors.
2017-12-04 17:04:21 +00:00
Michael Keller
97a46aa0e9
Merge pull request #4713 from mikeller/fix_fixedwing_althold_reversed_condition
Fixed condition for `fixedwing_althold_reversed`.
2017-12-03 13:41:11 +13:00
mikeller
299f2565c0 Fixed condition for fixedwing_althold_reversed. 2017-12-03 12:28:18 +13:00
MJ666
bd1413839b
Merge pull request #4709 from AlienWiiBF/AFMAG
AlienFlight target mag alignment fixes
2017-12-02 15:50:43 +01:00
MJ666
c6672622b8 AlienFlight targets mag alignment fix 2017-12-02 12:39:54 +01:00
Martin Budden
756795721c
Merge pull request #4706 from martinbudden/bfa_3d_iterm
Keep ITerm zero for 250ms after motor reversal in 3D mode
2017-12-02 07:02:45 +00:00
Michael Keller
e1cba01f26
Merge pull request #4696 from mikeller/change_channel_data_to_uint16_t
Changed channel data to be `uint16_t`.
2017-12-02 13:10:24 +13:00
Martin Budden
d0a77bc917 Keep ITerm zero for 250ms after motor reversal in 3D mode 2017-12-01 21:36:32 +00:00
Martin Budden
dd3a40f036
Merge pull request #4702 from martinbudden/bfa_3d_iterm
Reset ITerm on motor reversal
2017-12-01 08:16:22 +00:00
Martin Budden
e178d2b956
Merge pull request #4703 from martinbudden/bfa_f1_build
Fixed F1 build
2017-12-01 07:42:26 +00:00
Michael Keller
42cfc886df
Merge pull request #4701 from martinbudden/bfa_mixer_servo_tidy
Tidy of mixer and servo code
2017-12-01 20:10:52 +13:00
Martin Budden
9060ecb302 Reset ITerm on motor reversal 2017-12-01 07:06:20 +00:00
Martin Budden
d6d70d5a74 Fixed F1 build 2017-12-01 06:50:34 +00:00
Martin Budden
ccb4f77ae2 Tidy of mixer and servo code 2017-12-01 06:07:32 +00:00
mikeller
471484291c Changed channel data to be uint16_t. 2017-12-01 08:54:39 +13:00