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

12667 commits

Author SHA1 Message Date
Andrey Mironov
33576bd822 Renamed SPEDIXF4 to TMOTORF4 2019-07-08 10:38:29 +03:00
jflyper
f693a6d63f [H7][ADC] Migration to V1.4.0 library
- VRef and Temperature sensor calibration constants defined in "stm32h7xx_ll_adc.h" are now included via “stm32h7xx_hal_adc.h”.
- Boostmode is now handled by HAL_ADC_Init using clock configuration parameters to cope with Rev.V.

- Channel specifier (ADC_CHANNEL_x) was a simple integer with V1.3.0, is now an bit field encoded value.
adcTagMap had this value, but adcChannel field in adcOperationConfig was not big enough to store it.
The adcChannel field is modified to hold 32-bit value.

- Rank for channel configuration was a integer, now a bit field encoded value (ADC_RANK_x).
adcRegularRankMap array was added to translate rank number to rank value.

- Other Rev.V changes also seem to be handled within HAL.
2019-07-08 09:36:04 +09:00
mikeller
a0473c43fa Fixed default setting for gyro 2. 2019-07-08 00:43:21 +12:00
mikeller
afb2bf57db Fixed resource ownership / define for SPI RX bind pin. 2019-07-08 00:41:39 +12:00
mikeller
56e7c8225a Fixed DMA resource conflicts for target BEEROTORF4. 2019-07-07 17:15:07 +12:00
mikeller
612cb25006 Added RTC6705 driver to Unified Targets. 2019-07-07 15:06:12 +12:00
Andrey Mironov
e804642f59 Added TMOTORF4 target 2019-07-03 10:16:05 +03:00
Dominic Clifton
1f2ef98042 Fix compilation when USE_DSHOT and USE_PWM_OUTPUT are not defined.
Fix compilation when USE_DMA and USE_DMA_SPEC are not defined.

Cleanup calling code of `isMotorProtocolDshot`.

Fix 'unused' warning when USE_PWM_OUTPUT is not defined.

Undo isMotoroProtocolDshot change.

Disable USE_SERIAL_4WAY_BLHELI_INTERFACE when USE_PWM_OUTPUT is not
enabled.

Style cleanup.
2019-07-03 08:36:12 +12:00
Michael Keller
1631831147
Fixed CLI DMA presence mask support. (#8503)
Fixed CLI DMA presence mask support.
2019-07-03 08:18:39 +12:00
Michael Keller
07097431d2
Reset out of range filter cutoffs (#8512)
Reset out of range filter cutoffs
2019-07-03 01:22:52 +12:00
Michael Keller
c7550a7806
Add ascend and descend rates to CMS (#8519)
Add ascend and descend rates to CMS
2019-07-03 00:29:11 +12:00
Michael Keller
9b18071992
Fixed file permissions. (#8517)
Fixed file permissions.
2019-07-03 00:21:43 +12:00
Michael Keller
f36eda16c5
Add FF to yaw, reduce yaw P and I (#8515)
Add FF to yaw, reduce yaw P and I
2019-07-02 23:47:23 +12:00
Michael Keller
d02db0dd96
Revert #7907 to return abs control default to zero (#8513)
Revert #7907 to return abs control default to zero
2019-07-02 23:44:35 +12:00
Dominic Clifton
53167b161f BMP388 - Add support for BMP388 barometer.
BMP388 - Move the static assert.

BMP388 - Build faster when the baro driver is not enabled.

BMP388 - Fix spi init due to changes in master.

BMP388 - Add missing bmp388 unit test files.

BMP388 - Remove debug code.

BMP388 - Prepare EXTI/EOC handling for unified targets.

BMP388 - enable on unified targets.

BMP388 - Add support to NUCLEOF722.

BMP388 - Add support to NUCLEOH743.

BMP388 - Add BMP388 (via SPI) support to NUCLEOF7

* For some CI visibility on the conditional baro SPI code.

NUCLEOH743 - Add LPS baro for more CI visibility.

Remove whitespace, as requested.

Move barometer `#defines` into the implementations.

Cleanup style of method names in baro drivers.
2019-07-02 08:14:23 +12:00
Bruce Luckcuck
2d6b6599f9 If notch cutoff over limit then reset to 0 2019-07-01 16:08:28 -04:00
Nicola De Pasquale
65943c14d6 add ascend and descend rates to CMS 2019-07-01 14:56:08 +02:00
Michael Keller
aba49b39ae
Gps rescue pid controller based on vertical velocity (#8015)
Gps rescue pid controller based on vertical velocity
2019-07-01 23:45:28 +12:00
mikeller
50bbe0b140 Fixed file permissions. 2019-07-01 23:29:53 +12:00
ctzsnooze
49a37e9f5c Add FF to yaw, reduce yaw P and I
FF improves yaw performance
2019-07-01 13:42:14 +10:00
ctzsnooze
0b17191b8b Revert #7907 to return abs control default to zero
Abs control accidentally was defaulted up from 0 to 5 in #7907.  It is still experimental and still can cause oscillations even with these changes.  Should be off by default until fully tested.
2019-07-01 12:43:45 +10:00
Bruce Luckcuck
edd5bb947f Reset out of range filter cutoffs
Protection against previous Configurator versions allowing higher cutoff values than the parameter limits in the firmware and causing out-of-range corrupted config errors.
2019-06-30 10:13:47 -04:00
Michael Keller
3936bbaf25
Fixed build if none of USE_DSHOT, USE_LED_STRIP, USE_TRANSPONDE… (#8506)
Fixed build if none of USE_DSHOT, USE_LED_STRIP, USE_TRANSPONDER are defined.
2019-07-01 01:46:31 +12:00
mikeller
aeca5665e6 Add support for IRC Tramp race lock flag, and extended VTX status.
Display '-' for settings when VTX is locked.
2019-07-01 01:30:18 +12:00
Michael Keller
d7f62a710c
Merge pull request #8505 from mikeller/fix_msp_conditionals
Fixed USE_MAX7456 conditional in 'msp.c'.
2019-06-30 22:44:38 +12:00
Michael Keller
9782a69870
Fixed OSD support in Unified Targets. (#8504)
Fixed OSD support in Unified Targets.
2019-06-30 22:42:07 +12:00
Michael Keller
b03f4ef0b2
Boatloader typo fix (#8502)
Boatloader typo fix
2019-06-30 22:41:51 +12:00
Nicola De Pasquale
a3d43832f2 remove whitespaces [ci skip] 2019-06-30 11:24:11 +02:00
mikeller
72d05f682c Fixed build if none of USE_DSHOT, USE_LED_STRIP, USE_TRANSPONDER are defined. 2019-06-30 15:16:14 +12:00
Michael Keller
8140504f84
dropping useless max7456Lock boolean (#8499)
dropping useless max7456Lock boolean
2019-06-30 12:59:51 +12:00
Michael Keller
6130dc3b9e
Move motorConfig_s and motorDevConfig_s to pg/motor (#8498)
Move motorConfig_s and motorDevConfig_s to pg/motor
2019-06-30 12:59:31 +12:00
Michael Keller
d4fa025a52
Remove bogus pg/pg.h and pg/pg_ids.h from driver files (#8497)
Remove bogus pg/pg.h and pg/pg_ids.h from driver files
2019-06-30 12:58:55 +12:00
Nicola De Pasquale
716eea26ff requested changes [ci skip] 2019-06-29 19:39:57 +02:00
Michael Keller
127e3d1bfc
Fix filter cutoff frequency limits (#8475)
Fix filter cutoff frequency limits
2019-06-30 01:20:07 +12:00
jflyper
0e63596abd Move motorConfig_s, motorDevConfig_s and associated PG handling into pg/motor.[ch] 2019-06-29 20:03:54 +09:00
mikeller
b40dc427c0 Fixed USE_MAX7456 conditional in 'msp.c'. 2019-06-29 19:35:14 +12:00
mikeller
bfa7275e0c Fixed OSD support in Unified Targets. 2019-06-29 19:30:18 +12:00
mikeller
c60e31407d Fixed CLI DMA presence mask support. 2019-06-29 19:09:02 +12:00
TheIsotopes
aafdfce8f2
boatloader typo fix 2019-06-29 08:57:45 +02:00
TheIsotopes
9fa5cf40d2
boatloader typo fix 2019-06-29 08:56:56 +02:00
Michael Keller
23ca254277
[H7] Add pseudo peripheral TIMUP for TIMx_UP DMA management (#8473)
[H7] Add pseudo peripheral TIMUP for TIMx_UP DMA management
2019-06-29 15:09:23 +12:00
Michael Keller
8466f95b5a
ESC sensor passthrough for FETtec ESC GUI (#8432)
ESC sensor passthrough for FETtec ESC GUI
2019-06-29 15:08:45 +12:00
Michael Keller
d3eab72da4
Move HAL_Init call for F3/F4/F7/H7. (#8493)
Move HAL_Init call for F3/F4/F7/H7.
2019-06-29 14:58:24 +12:00
Kyle K
d8dd9cacc3 dropping useless max7456Lock boolean 2019-06-29 01:00:41 +00:00
Michael Keller
e824b9021b
Fixed FLASH boot loader option. (#8487)
Fixed FLASH boot loader option.
2019-06-29 12:04:50 +12:00
jflyper
f9bd71f9be Remove bogus pg/pg.h and pg/pg_ids.h from driver files 2019-06-29 02:21:51 +09:00
Dominic Clifton
9054cd45bf Move HAL_Init call for F3/F4/F7/H7.
* HAL_Delay() was being used before HAL_Init() was called.
* Brings it in-line with ST examples which follow this call order:
CubeMX generated code goes startup_xxx.s (asm) -> SystemInit(), then
main(), HAL_Init(), SystemClock_Config()

Boot-tested on:
* SPRacingF4NEO
* SPRacingF7DUAL
* SPRacingH7ZERO
2019-06-28 12:33:54 +02:00
felix
85f00d4454 add FETtec ESC passthrough to the existing serial passthrough cli function 2019-06-28 10:10:12 +02:00
Michael Keller
3695b123d9
Add link quality symbol to OSD (#8494)
Add link quality symbol to OSD
2019-06-28 19:24:35 +12:00
Michael Keller
8a8e8e7cb9
Merge pull request #8491 from hydra/bf-h7-sd-fixes
H7 SDIO/SDCARD fixes/cleanups.
2019-06-28 19:22:55 +12:00