Commit Graph

12662 Commits

Author SHA1 Message Date
chibaron f04f2f7cbb Fix unit test 2018-10-03 14:29:11 +09:00
MJ666 9e36354c45 Update Gyro driver for generic target 2018-10-03 00:26:55 +02:00
MJ666 bb685755ed Update MAX7456 driver for generic target 2018-10-03 00:06:02 +02:00
Chris bc95da4259 Fixes SD_DET for SDIO 2018-10-02 21:56:16 +02:00
chibaron 9a452f4a1e Change SFHSS bind parameter rxSfhssSpiConfig to rxFrSkySpiConfig 2018-10-03 00:32:18 +09:00
chibaron 002d9aa504 Drop some functions to reduce code size 2018-10-02 22:36:33 +09:00
Michael Keller 5b91ec41e3
Merge pull request #6842 from jflyper/bfdev-consolidate-sdcard-spi-and-sdio-part-1
SDCARD: Consolidation of SPI and SDIO variants (Part 1: Preparation)
2018-10-03 02:11:31 +13:00
Michael Keller b7c0393006
Merge pull request #6853 from jflyper/bfdev-fix-spi-clock-calculation-at-ultra-fast
SPI: Constrain clock divisor range to 2~256.
2018-10-03 00:56:41 +13:00
Michael Keller f6fa66d9fb
Merge pull request #6850 from jflyper/bfdev-fix-stale-MPU_INT_EXTI
Multiple targets: Remove or convert stale MPU_INT_EXTI defs
2018-10-03 00:55:36 +13:00
Michael Keller f81bb550ba
Merge pull request #6851 from jflyper/bfdev-refactor-spi-rx-to-use-spiBusXXX
RX SPI: Refactor rx_spi to use spiBusXXX API
2018-10-03 00:52:16 +13:00
Michael Keller eb7a3250c2
Merge pull request #6864 from etracer65/overflow_filter_order_fix
Fix ordering of gyro filtering and overflow/yaw-spin logic
2018-10-03 00:47:33 +13:00
Michael Keller 63a85f7998
Merge pull request #6863 from jflyper/bfdev-conditionalize-rx_xn297
Add conditional for rx_xn297.c
2018-10-02 23:43:18 +13:00
jflyper d5aa7243ad Add conditional for rx_xn297.c
XN297 is near clone of nRF24L01, and it is only used by nrf24_cx10.c
2018-10-02 12:33:55 +09:00
chibaron 021e493447 fix build error NUCLEOF446RE and CRAZYBEEF3FS 2018-10-02 11:06:30 +09:00
chibaron 95d3200c92 fix coding style 2018-10-02 01:51:25 +09:00
jflyper f645ba3c10
Merge pull request #6846 from jflyper/bfdev-revo-remove-stale-adc-channel-def
REVO: Remove stale ADC channel def
2018-10-02 00:53:28 +09:00
jflyper cd00389c7d
Merge pull request #6848 from jflyper/bfdev-pikoblx-remove-stale-gpio-def
FF_PIKOBLX: Remove stale GPIO def
2018-10-02 00:52:56 +09:00
Bruce Luckcuck 8e0128a2b2 Fix ordering of gyro filtering and overflow/yaw-spin logic
Since the gyro overflow and yaw-spin logic uses filtered gyro data they need to be after the filter application.

Currently the logic is before causing it to operate on one sample old data. This won't prevent the logic from working and it's not a critical fix, but it's better to have the checks after the filtering.
2018-10-01 10:27:48 -04:00
chibaron cb5fc4fd63 Add SFHSS-SPI-RX 2018-10-01 23:27:40 +09:00
jflyper 0a16f4dc90 Refactor rx_spi with spiBusXXX API 2018-10-01 22:54:47 +09:00
jflyper 00840ce40f Prepare SD card SPI and SDIO variants for consolidation 2018-10-01 19:44:04 +09:00
Michael Keller 8980ba1065
Merge pull request #6844 from etracer65/dual_gyro_fixes
Dual gyro fixes - fix non-reentrant code in gyro sensor update and hardcoded gyroSensor1 logic
2018-10-01 23:39:51 +13:00
Michael Keller 9bdd41d473
Merge pull request #6847 from jflyper/bfdev-remove-stale-SENSORS_SET
OMNIBUSF7 & KAKUTEF7: Remove stale SENSORS_SET defs
2018-10-01 23:26:21 +13:00
Michael Keller 1ab3d75b4f
Merge pull request #6843 from jflyper/bfdev-fix-f3-adc-device-origin
F3: Use ADC device from PG
2018-10-01 22:02:34 +13:00
Michael Keller 9401e49409
Merge pull request #6834 from jflyper/bfdev-matekf411rx-remove-unused-defs
SPI RX targets: Cleanup RX_SPI related pin defs
2018-10-01 21:18:24 +13:00
jflyper 5fe4f44f43 RX_*_PIN defs are not used & canonicalize to SPI defs 2018-09-30 21:00:48 +09:00
Michael Keller 03d082ceb5
Merge pull request #6845 from jflyper/bfdev-sdcard-refactor-to-use-busDevice_t
SDCARD: Refactor sdcard.c to use busDevice_t
2018-10-01 00:54:07 +13:00
Michael Keller a8d874a458
Merge pull request #6784 from jflyper/bfdev-fix-generic-timer-channel-number-one-origin
GENERIC Fix origins for timer channel list
2018-10-01 00:44:06 +13:00
jflyper 8723416640 Constrain divisor range to 2~256. 2018-09-30 01:55:21 +09:00
jflyper f9f5357331 Remove or convert stale MPU_INT_EXTI defs 2018-09-29 14:38:44 +09:00
jflyper 891f0f14cb Remove stale GPIO def 2018-09-29 04:41:10 +09:00
jflyper 21c17aed22 Remove stale SENSORS_SET defs 2018-09-29 04:37:38 +09:00
jflyper 4297c59b4e Remove stale ADC channel def 2018-09-29 04:34:32 +09:00
jflyper 3d4aef0113 Refactor sdcard.c to use busDevice_t 2018-09-29 02:40:17 +09:00
Bruce Luckcuck 6656780205 Dual gyro fixes - fix non-reentrant code in gyro sensor update and fix hardcoded gyroSensor1 logic
Fixes instances of hardcoded gyroSensor1 in the status functions for overflow detection, yaw spin detection, and the sensor temperature reading.

Also fixes non-reentrant code in gyroUpdateSensor() that would not behave properly when gyro_to_use = BOTH
2018-09-28 12:57:30 -04:00
jflyper 1df0147a2b F3: use ADC device from PG 2018-09-28 11:47:44 +09:00
Michael Keller d557203fac
Merge pull request #6792 from onelivesleft/patch-1
Increase MAX_ADJUSTMENT_RANGE_COUNT from 15 to 30
2018-09-26 19:30:45 +12:00
onelivesleft de61371b17
Merge branch 'master' into patch-1 2018-09-25 22:53:21 +01:00
onelivesleft d77e3d8a29 Increase MAX_ADJUSTMENT_RANGE_COUNT from 15 to 24
Since we are limited to only 4 aux channels, it would be good to increase this count in order to allow more multiplexing of data into fewer aux channels.  At 18 we can allow full PID editting for Roll+Pitch+Yaw using 1 aux channel.  24 leaves room above that... maybe 30 or 32 would be better?

Upped to 30 as per @etracer65's suggestion

increased PG_REGISTER_ARRAY version
2018-09-25 22:46:37 +01:00
Michael Keller 0d5bb93f5d
Merge pull request #6838 from etracer65/remove_unused_imu_parms
Remove unused IMU parameters
2018-09-25 22:40:09 +12:00
jflyper 0ff2d864b4 Fix origins for timer channel list
Selection is zero origin
Channel number is one origin for user I/O
2018-09-25 14:28:13 +09:00
timman2er 88f91681e7 fix order for OSD display 2018-09-25 03:04:09 +02:00
Michael Keller c2747eed94
Merge pull request #6823 from jflyper/bfdev-sprf7dual-target-cleanup
SPRACINGF7DUAL: Move board specific to config.c
2018-09-25 09:49:00 +12:00
Michael Keller 67fb64b759
Merge pull request #6804 from jflyper/bfdev-use-unified-sdcard-clocks
SDCARD: Use unified clock specs, remove per target specs.
2018-09-25 09:48:19 +12:00
Michael Keller 986fd3cd7d
Merge pull request #6787 from jflyper/bfdev-handle-NULL-SPI-instance-in-spiBusSetInstance
Handle NULL SPI instance in spiBusSetInstance
2018-09-25 09:43:59 +12:00
Michael Keller ee7c556902
Merge pull request #6779 from DieHertz/bfdev-spedix-f4-target
Added SPEDIX F4 target
2018-09-25 09:27:59 +12:00
Bruce Luckcuck 0074f05573 Remove unused IMU parameters 2018-09-24 16:14:03 -04:00
Michael Keller a3a7b1b60a
Merge pull request #6767 from marv-t/JetiExBus-RX
Jeti receiver doesnt need a resistor anymore
2018-09-25 07:46:15 +12:00
Michael Keller 88a240f9aa
Merge pull request #6832 from jflyper/bfdev-colibri_race-move-board-specific-to-config
COLIBRI_RACE: Move board specifics out of target.h
2018-09-25 07:29:29 +12:00
Thomas Miric 988ac048bf Receiver doesnt need a resitor anymore
Because JETIEXBUS has been removed for Target F3, serial bidirection is
preferred
2018-09-24 15:56:00 +02:00