Anders Hoglund
6ec0b55c95
Moved Spektrum RX RSSI stuff to separate source files.
2017-12-20 10:45:58 +01:00
jflyper
11c47c631b
Port iNav's rangefinder
2017-12-20 12:54:19 +09:00
mikeller
b489d0ba9d
Renamed 'parameter_group' to 'pg'.
2017-12-19 23:36:31 +13:00
Martin Budden
db8c7e0477
Only turn use ITCM RAM for F722
2017-12-19 09:02:34 +00:00
Michael Keller
3e2ade8565
Merge pull request #4777 from AndersHoglund/split_spektrum_vtx_control
...
Moved Spektrum VTX control stuff to separate source files.
2017-12-19 11:46:50 +13:00
Anders Hoglund
23b31736b7
Moved Spektrum VTX control stuff to separate source files.
2017-12-18 23:14:50 +01:00
Michael Keller
74672972ba
Merge pull request #4776 from jflyper/bfdev-add-conditional-to-mcu-dep-adc-drivers
...
ADC Add conditionals for MCU dependent drivers
2017-12-19 08:42:16 +13:00
Dave Huber
5048c74130
Mask BOXARM in MSP enables
2017-12-18 10:52:38 -06:00
jflyper
3b3ed72be8
Add conditionals for MCU dependent ADC drivers
2017-12-18 23:18:21 +09:00
Michael Keller
b94533ead1
Merge pull request #4767 from martinbudden/bfa_enable_instruction_tcm
...
Enabled Instruction TCM
2017-12-19 01:36:32 +13:00
Michael Keller
ddf0246ecd
Merge pull request #4754 from martinbudden/bfa_ysttm_gyro_threshold
...
Added YSTTM gyro threshold
2017-12-18 19:17:42 +13:00
Michael Keller
379382036f
Merge pull request #4680 from martinbudden/bfa_pg_adc
...
Separated ADC parameter group code into separate files
2017-12-18 19:05:48 +13:00
Martin Budden
b26ff88fd9
Added gyro overflow checking and handling. Helps avoid YSTTM
2017-12-18 05:21:02 +00:00
Michael Keller
c3de899d47
Merge pull request #4771 from martinbudden/bfa_accgyro_struct_alignment
...
Improved accgyro device structure alignment
2017-12-18 16:03:27 +13:00
Michael Keller
82e289c1eb
Merge pull request #4770 from martinbudden/bfa_gyro_sync
...
Moved gyro_sync into drivers/accgyro directory
2017-12-18 15:58:35 +13:00
Michael Keller
cbee16f6c3
Merge pull request #4769 from martinbudden/bfa_gyro_trapezium_integrate
...
Changed gyro integration to use trapezium rule
2017-12-18 15:57:03 +13:00
Martin Budden
81ebdb38b6
Improved accgyro device structure alignment
2017-12-17 16:54:13 +00:00
Dave Huber
8b4bfc345d
MSP mode enable refactor
2017-12-17 10:30:39 -06:00
Martin Budden
ed30e9f5c7
Moved gyro_sync into drivers/accgyro directory
2017-12-17 16:01:50 +00:00
Martin Budden
de5b0d53ff
Enabled Instruction TCM
2017-12-17 13:41:51 +00:00
Martin Budden
0153b1d369
Changed gyro integration to use trapezium rule
2017-12-17 13:24:09 +00:00
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
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
Martin Budden
725f0dfa26
Separated ADC parameter group code into separate files
2017-12-15 01:31:29 +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
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
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
jflyper
75c5bb98f2
Remove a stale define
2017-12-12 09:53:42 +09:00
jflyper
9a8a604f59
Remove stale config defines
2017-12-11 14:56:03 +09: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
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
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
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
mikeller
299f2565c0
Fixed condition for fixedwing_althold_reversed
.
2017-12-03 12:28:18 +13:00