1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00
Commit graph

11315 commits

Author SHA1 Message Date
Michael Keller
62da4d09e6
Merge pull request #7424 from jflyper/bfdev-make-USE_SPI_TRANSACTION-generic-F4-feature
[F4] Make USE_SPI_TRANSACTION generic feature for F4
2019-01-21 00:33:46 +13:00
mikeller
e983ebf702 Migrate the remaining F3 targets to feature cut levels. 2019-01-21 00:21:49 +13:00
Bruce Luckcuck
6034143a59 Fix LEDSTRIP defines to prevent compilation errors 2019-01-19 14:59:22 -05:00
Bruce Luckcuck
3d671c7134 Use fabsf() instead of ABS() for floats
The ABS() macro doesn't handle -0 floats correctly. Also fabsf() is more efficient.
2019-01-19 14:15:54 -05:00
Bruce Luckcuck
b68717a03b Add FEATURE_CUT_LEVEL to the cli version command output 2019-01-19 11:42:08 -05:00
Bruce Luckcuck
d867aeced3 Move anti-windup iterm reset from rx loop to pid loop
Having the iterm resetting happening in the rx loop causes a sawtooth PID/motor effect while idling since the PID loop is running at a much higher rate and iterm is allowed to grow during this, and then only reset at a much lower rate in the rx loop. This can potentially lead to some oscillation and/or resonance while idling before takeoff as the sawtooth signal can make it through to the motor outputs.
2019-01-19 11:18:24 -05:00
Andrey Mironov
4e5f0e3c54 Fixed incorrect enum value being used for GetITStatus on F4 2019-01-19 16:25:57 +03:00
Michael Keller
628fdb8adc
Merge pull request #7409 from mikeller/fix_4way_conditionals
Fixed conditionals for 4 way ESC boot loader.
2019-01-19 23:28:58 +13:00
Michael Keller
dfb438cc5b
Merge pull request #7303 from pkruger/4278-LED-profiles-switchable-via-OSD
Add LED strip profile feature
2019-01-19 23:18:41 +13:00
Pieter Kruger
4ec536a317 Add LED profile feature - 4278 2019-01-19 20:23:03 +10:00
Michael Keller
8be90d44a9
Merge pull request #7422 from jflyper/bfdev-isr-vector-to-ram-for-F411
[F411] Provide VECTAB segment as alias to RAM
2019-01-19 14:47:50 +13:00
Michael Keller
cb78e3e457
Merge pull request #7423 from etracer65/osd_warnings_uint32
Extend OSD warnings storage to 32bits; add count to MSP
2019-01-19 14:23:52 +13:00
Michael Keller
7eedfff428
Merge pull request #7415 from jflyper/bfdev-change-call-timing-of-vtxInit-after-device-parameter-init
[VTX] Follow-up to #7285 vtx changes
2019-01-19 14:23:18 +13:00
mikeller
71216cd878 Fixed conditionals for 4 way ESC boot loader. 2019-01-19 10:56:16 +13:00
mikeller
5b3f54874d First wave of feature cut conversions: CHEBUZZF3, MIDELICF3, and SPRACINGF3EVO. 2019-01-19 00:53:09 +13:00
Michael Keller
b4663aa5a5
Merge pull request #7419 from etracer65/stale_baro_parms
Remove stale baro parameter baro_cf_alt
2019-01-18 23:47:08 +13:00
Michael Keller
96d2538b5d
Merge pull request #7410 from mikeller/fix_osd_conditionals
Fixed conditionals in OSD code.
2019-01-18 23:12:16 +13:00
Michael Keller
2e2609fbb6
Merge pull request #7417 from phobos-/flysky-refactor
Added flysky spi rx specific cli commands
2019-01-18 23:11:41 +13:00
Michael Keller
3557104c61
Merge pull request #7403 from mikeller/flash_overflow_new_approach
For discussion: Take a methodical approach to dealing with flash overflows.
2019-01-18 18:52:25 +13:00
Michael Keller
c99a52ca38
Merge pull request #7284 from etracer65/telemetry_disabled_sensors_detailed_parms
Expose individual telemetry sensor disable flags as parameters (F4+)
2019-01-18 18:51:31 +13:00
jflyper
95905ff666 Make USE_SPI_TRANSACTION generic feature for F4 2019-01-18 13:04:59 +09:00
Bruce Luckcuck
0ac761da22 Shorten parameter names per suggestions 2019-01-17 20:31:23 -05:00
Bruce Luckcuck
05cc74a4ae Extend OSD warnings storage to 32bits; add count to MSP
Extends the possible OSD warnings elements from 16 to 32.

Adds a warnings count to MSP data to enable improved handling of warnings added to the firmware but not in the Configurator. Incremental Configurator development required.
2019-01-17 19:46:58 -05:00
Michael Keller
c7e462fe96
Merge pull request #7399 from etracer65/blackbox_undefined_compile_fix
Fix compilation errors if USE_BLACKBOX is not defined
2019-01-18 09:18:37 +13:00
Michael Keller
0627463659
Merge pull request #7400 from etracer65/blackbox_invalid_device_fix
Validate and reset invalid blackbox device selections
2019-01-18 09:17:09 +13:00
Michael Keller
2fdf48b415
Merge pull request #7421 from jflyper/bfdev-make-MIDELICF3-fit-with-vtx-changes
Drop USE_RTC_TIME from MIDELICF3 to fit with vtx changes
2019-01-18 08:39:06 +13:00
jflyper
9743d678a0 Provide VECTAB segment as alias to RAM 2019-01-18 02:07:13 +09:00
jflyper
53ab1ad23e Protect vtxCommonLookupXXX against null vtxDevice call 2019-01-18 01:21:04 +09:00
jflyper
80c1cfa6db Call vtxInit after device parameters are initialized 2019-01-18 01:20:35 +09:00
jflyper
a0d930a5fb Drop USE_RTC_TIME from MIDELICF3 2019-01-18 01:08:59 +09:00
Bruce Luckcuck
9e53d97e4d Remove stale baro parameter baro_cf_alt 2019-01-16 18:26:13 -05:00
phobos-
305e423c90 Added flysky spi rx specific cli commands 2019-01-16 21:11:50 +01:00
mikeller
2e000506c8 Renamed to 'FEATURE_CUT_LEVEL', added 'FORCE_FEATURE_CUT_LEVEL' command line option. 2019-01-17 09:03:35 +13:00
ctzsnooze
65750f09dc Classic D values if no D_Cut
At compile time, if D_CUT is not defined for a given target, the user will get lower default D values.
2019-01-16 09:00:38 -07:00
Bruce Luckcuck
2cb1f8f12e Expose individual telemetry sensor disable flags as parameters (F4+)
Exposes each telemetry sensor disable flag as a separate OFF/ON parameter. Makes the settings more accessible without the user having to calculate the binary bitmask directly.

Only added for F4+ due to flash usage. F3 will continue to present the `telemetry_disabled_sensors` 32bit bitmask setting.

Would almost like to reverse the logic to make them enabling flags. Having a "disabled = ON" is a little counterintuitive.
2019-01-16 08:09:59 -05:00
Michael Keller
e0fc9300ed
Merge pull request #7181 from hydra/fix-msp-flash-read
Fix MSP flash read
2019-01-17 01:53:36 +13:00
mikeller
07f299962d Fixed conditionals in OSD code. 2019-01-17 01:44:16 +13:00
mikeller
77f0e106f6 Removed unnecessary cast. 2019-01-17 00:02:13 +13:00
Michael Keller
b0e06d2e26
Merge pull request #7395 from TonyBlit/gps_rescue_disabled_warning
GPS Rescue disabled warning
2019-01-16 23:53:29 +13:00
Michael Keller
776549785d For discussion: Take a methodical approach to dealing with flash overflows. 2019-01-16 15:56:10 +13:00
Kenneth Mitchell
f6e456cd06
Allow dyn lpf to initialize if static lpf config is 0.
Change min > max per review.

Fix missing ifdef.
2019-01-15 16:48:21 -05:00
Michael Keller
469d5c5477 Fixed flash overflow on SPRACINGF3NEO. 2019-01-16 08:55:23 +13:00
Michael Keller
305f2c213a
Merge pull request #7285 from jflyper/bfdev-vtx-table-refactor
[VTX] Convert direct reference to string and freq table to vtxCommon services
2019-01-16 07:16:11 +13:00
Tony Cabello
ec71965dd8 GPS Rescue disabled warning 2019-01-15 17:34:04 +01:00
Bruce Luckcuck
e0d81c4c2b Validate and reset invalid blackbox device selections
Since we really can't conditionally build the list of options, it's possible to select an invalid blackbox device type using CLI `set blackbox_device =`. This change validates that the selected device is included in the code and if not resets to "no logging".
2019-01-15 11:17:39 -05:00
Bruce Luckcuck
4da9b75c8f Fix compilation errors if USE_BLACKBOX is not defined 2019-01-15 10:08:15 -05:00
mikeller
a95980ef09 Undo move of USE_SMART_FEEDFORWARD, as it's been done in #7391 already. 2019-01-15 22:13:02 +13:00
Thorsten Laux
96e33e6c18 manage space of f3 targets 2019-01-15 22:10:34 +13:00
Thorsten Laux
d441955391 more renaming to accomodate review feedback 2019-01-15 22:10:34 +13:00
Thorsten Laux
6e46f05e7d remove smart_feedforward at 128mb to make room for scheduler_fix 2019-01-15 22:10:34 +13:00