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

13557 commits

Author SHA1 Message Date
Michael Keller
3a6b1a9ca4
Merge pull request #10584 from knoopx/fix-dp-msp-linking
fix: linking error when USE_MSP_DISPLAYPORT is undefined
2021-03-28 18:23:30 +13:00
Michael Keller
284ec67cad
Merge pull request #10578 from mikeller/fix_dps310_i2c
Fixed initialisation of DPS310 when used over I2C.
2021-03-28 18:23:14 +13:00
Michael Keller
50245e6898
Merge pull request #10640 from crteensy/patch-1
Add support for S25FL064L
2021-03-28 17:37:52 +13:00
Michael Keller
2278ffd1d4
Merge pull request #10609 from SteveCEvans/rx_state 2021-03-28 16:41:11 +13:00
Steve Evans
25fcacf4c5 Split rx processing into three states to eliminate cycle time jitter
Allow tasks with state machines to control which state determines task duration

Fix unit tests
2021-03-27 23:28:41 +00:00
LinJieqiang
757213271f Fix: the scaling of the onboard current meter for IFLIGHT H7 target. 2021-03-27 15:02:59 +08:00
crteensy
dea5710b7b
Add support for S25FL064L
untested
copied S25FL128L descriptor, corrected jedecID, guessed correct sector count from W25Q64 (should be an equivalent device)
2021-03-25 22:11:58 +01:00
KarateBrot
d02af7334c Added tracking of multiple dynamic notches per axis and replaced FFT with SDFT 2021-03-24 17:09:28 +01:00
Michael Keller
7b46440056
Merge pull request #10630 from mikeller/fix_coding_style
Fixed shoddy and non-compliant coding style in #10562.
2021-03-25 01:56:28 +13:00
Michael Keller
828fed5103
Merge pull request #10631 from klutvott123/fix-i2c-timeout
Fix I2C timeout
2021-03-25 01:49:44 +13:00
Michael Keller
2cb3444b7e
Merge pull request #10611 from SteveCEvans/dps310_nonblock
Use non-blocking access to dps310 baro
2021-03-25 01:12:52 +13:00
Hans Christian Olaussen
bb6cb9ebfe Fix I2C timeout
Makes I2C timeout independent of system clock speed.
Timeout is now in microseconds and is set to 10000us(same as in INAV).
2021-03-23 22:47:18 +01:00
mikeller
82d5212c06 Fixed shoddy and non-compliant coding style in #10562. 2021-03-24 01:51:27 +13:00
Michael Keller
76d9babab6
Merge pull request #10562 from ImmersionRC/sabidirfix 2021-03-24 01:37:13 +13:00
ctzsnooze
34096c50f0 remove non-required parameters, simplify calling FF recalculation 2021-03-22 18:24:56 +11:00
Michael Keller
9cb2fdbf47
Merge pull request #10616 from Linjieqiang/IFLIGHT_H743_AIO_V2
Add support for board "IFLIGHT_H743_AIO_V2"
2021-03-22 15:30:18 +13:00
Michael Keller
10195f618f
Merge pull request #10612 from hydra/bf-h7adc2-fix 2021-03-21 22:31:45 +13:00
Hans Christian Olaussen
ea86fe941b Improve I2C_TIMINGR register calculation 2021-03-19 11:42:11 +01:00
Dominic Clifton
5e710eedf2 Remove STM32H7A3xx ADC3 mappings and fix mappins for PC0-PC4. ADC3 is
not available.  See DS13195 Rev 6.
2021-03-19 10:58:52 +01:00
Dominic Clifton
8ecb7c051b Update the approach to support ADCDEV_x identifiers based on the CMSIS
`ADCx` defines.  The processor series (F/G/H) isn't enough.

With reference to the definitions of `ADCx_BASE` in the
`CMSIS/Device/ST/*/.h files`

* H7A3 has ADC1/2 but not 3/4/5.
* H750 has ADC1/2/3 not but 4/5.
* G471 has ADC1/2 but not 3/4/5.
* G473 has ADC1/2/3/4/5.
* F7 has ADC1/2/3 but not 4/5.
* F4 has ADC1/2/3 but not 4/5.
* F3 has ADC1/2/3/4 but not 5.
* F1 has ADC1/2/3 but not 4/5.
2021-03-19 10:41:03 +01:00
LinJieqiang
b109459601 Add support for board "IFLIGHT_H743_AIO_V2" 2021-03-12 17:22:40 +08:00
Dominic Clifton
c4d694821c STM32H7 - Fix failure to allow ADC instance 2 and 3. 2021-03-11 21:28:21 +01:00
Tony Cake
d814bd1e9a Keep the formatting police happy 2021-03-10 04:30:18 -08:00
Steve Evans
80e9e8eddd Use non-blocking access to dps310 gyro 2021-03-10 02:35:50 +00:00
Steve Evans
bb119e95c5 Display late execution stats in tasks command 2021-03-08 17:46:31 +00:00
Bruce Luckcuck
e74f47a26e Fix CMS RSSI dBm alarm data type and range
Data type was `uint8` and needed to be `int16` to accomodate the range change to negative numbers.
2021-03-07 09:55:15 -05:00
Nicola De Pasquale
d1ab041103 move simplified tuning parameters by 5pt 2021-02-25 21:54:59 +01:00
Davor Kustec
dd184dd67f Named everything well 2021-02-25 18:07:18 +01:00
Michael Keller
bc4372588b
Merge pull request #10576 from mikeller/fix_stm32g4_timer
Fixed incorrect timer mapping for STM32G4.
2021-02-26 02:11:25 +13:00
mikeller
2b8e65374e Fixed initialisation of DPS310 when used over I2C. 2021-02-26 02:09:17 +13:00
Victor Martinez
179cd9b162 fix: linking error when USE_MSP_DISPLAYPORT is undefined 2021-02-25 10:10:00 +01:00
Kevin Berner
8b55e3ffb2 Fix G473 AF5 Timers 2021-02-22 10:39:17 -06:00
mikeller
97fcfe5e9d Fixed incorrect timer mapping for STM32G4. 2021-02-22 22:37:54 +13:00
Michael Keller
7cce28131f
Merge pull request #10565 from TheIsotopes/simplified_dterm_filter_defaults
setting simplified_dterm_filters to off by defaults
2021-02-22 01:18:55 +13:00
Michael Keller
6dea123d2f
Merge pull request #10563 from etracer65/fix_vbat_hysteresis
Fix vbat_hysteresis docs and potential calculation underflow
2021-02-22 00:16:19 +13:00
Nicola De Pasquale
3f3c143199 refactor calculateNewPidValues function
roll pitch ratio now increase pitch

constrain dmin ratio, disable dmin if multiplier is 200

fix apply simplified tuning
2021-02-19 22:55:44 +01:00
Michael Keller
2d2ced105c
Merge pull request #10559 from alexeystn/fix_boxparalyze_disarm 2021-02-19 00:40:24 +13:00
TheIsotopes
246d3a6d89
setting simplified_dterm_filters to off by defaults
all over simplified tuning settings also set to off
2021-02-18 11:04:20 +01:00
Alexey Stankevich
2eb787a5ad Do not disable RcAdjustments if paralyze when armed 2021-02-18 00:32:10 +03:00
Bruce Luckcuck
b974408c6a Fix vbat_hysteresis docs and potential calculation underflow 2021-02-17 11:56:14 -05:00
Tony Cake
8d7dfba207 Modify serial drivers to add a workaround for SmartAudio, which was
broken by the fix for #10220.
Smart Audio will now default to the old (bad) behavior where pulldowns
are being used instead of pullups for most BF supported processors when
in Bidirectional, PushPull mode.
2021-02-17 05:26:52 -08:00
Bruce Luckcuck
b5bf9c2b4c Add a common function used to print formatted floats in the OSD
Updated the OSD element and stats rendering code to use this fuction to print floating point values of varying precisions.

Will make adding OSD element variants that provide different decimal precisions (like voltage, amperage, etc.) easy to implement since all that needs to change is the `decimalPlaces` passed to the function. As an example, see the `osdFormatAltitudeString()` function.

If at some later date a more capable `printf` package is inplemented, then the guts of the `osdPrintFloat()` function could just be simplified while leaving the abstraction in place.
2021-02-17 08:09:52 -05:00
Michael Keller
26b74c3350
Merge pull request #9878 from dkustec/cell_stat_value_instead_batt 2021-02-18 00:51:42 +13:00
Michael Keller
e331111789
Merge pull request #10551 from etracer65/osd_altitude_element_variants
Add OSD element variants for altitude
2021-02-18 00:20:18 +13:00
Davor Kustec
78e4e930a4 Code optimization by request
Moved setting to the end of the struct

osd.c optmization

Changed bool into uint8t to mainatin fixed PG size
2021-02-17 12:06:45 +01:00
Alexey Stankevich
c72e7ac568 Fix disabled disarm when Paralyze is activated in armed state 2021-02-17 00:51:28 +03:00
Michael Keller
d2867ef9ce
Merge pull request #10540 from etracer65/osd_warnings_msp
Separate OSD warnings from OSD task and make available via MSP
2021-02-17 07:52:37 +13:00
mikeller
ae4c260d74 Fixed use of an enum type in a parameter group. 2021-02-16 01:49:10 +13:00
Michael Keller
8c2a8f717a
Merge pull request #10550 from etracer65/fix_serialportidentifier_enum 2021-02-16 00:58:38 +13:00
Michael Keller
f5dd6f7cfa
Merge pull request #10542 from mikeller/improve_osd_type_mask_naming
Improved the naming of OSD_TYPE_MASK to be more concise.
2021-02-16 00:24:08 +13:00