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

27 commits

Author SHA1 Message Date
Michael Keller
b2c247d34a
Added USB VCP detect and debugging. (#5689) 2018-04-18 01:22:46 +12:00
conkerkh
c182748dbb SDIO rewrite in baremetal, fixes for WORMFC. (#5441)
* SDIO rewrite in baremetal, fixes for WORMFC.

* Fix identation, move LED TIM

* Fix identation
2018-03-21 00:08:34 +13:00
conkerkh
742cb5f93b Add current sensor debug option. (#5260)
Allows for easy calculation of required scale and offset.

0 - miliVolts
1 - centiAmps
2 - amperageLatest
3 - mahDrawn
2018-03-04 11:42:41 +13:00
Dominic Clifton
cde9a9517b SPRacingF7DUAL - Dual SIMULTANEOUS gyro support. (#5264)
* CF/BF - Set STM32F7 SPI FAST clock to 13.5Mhz - Gyros not stable at
27mhz.

* CF/BF - Initial SPRacingF7DUAL commit.

Support two simultaneous gyro support (code by Dominic Clifton and Martin Budden)
There are new debug modes so you can see the difference between each gyro.

Notes:
* spi bus instance caching broke spi mpu detection because the detection
tries I2C first which overwrites the selected bus instance when using
dual gyro.
* ALL other dual-gyro boards have one sensor per bus.  SPRacingF7DUAL is has two per bus and thus commit has a lot of changes to fix SPI/BUS/GYRO initialisation issues.

* CF/BF - Add SPRacingF4EVODG target.

This target adds a second gyro to the board using the SPI pads on the back of the board.

* CF/BF - Temporarily disable Gyro EXTI pin to allow NEO target to build.
2018-03-04 11:29:31 +13:00
Bruce Luckcuck
a32b05c284 Initial implementation of Runaway Takeoff Prevention (anti-taz)
Detects runaway pidSum values on takeoff and auto-disarms to prevent the "Tasmanian Devil" caused by incorrect props, wrong motor order/direction, incorrect flight controller orientation, etc.  After a successful takeoff and normal flight is detected the feature is disabled for the remainder of the battery.
2018-01-31 07:36:16 -05:00
Michael Keller
4258651b3a
Merge pull request #4881 from jflyper/bfdev-adc-internal-full-task-version
VREFINT and core temperature support, full task polling version
2018-01-10 16:12:05 +13:00
jflyper
a03b85025c Internal ADC support, full task polling version 2018-01-10 11:49:56 +09:00
Steffen Windoffer
e0b95fb0fb remove unused debug modes 2018-01-07 21:38:18 +01:00
jflyper
a510091bf1 Add Benewake TFmini/TF02 support 2017-12-21 02:21:36 +09:00
jflyper
11c47c631b Port iNav's rangefinder 2017-12-20 12:54:19 +09:00
mikeller
d3a6b3730f Added FrSky X SPI RX protocol.
Original implementation from midelic.

Added RX number support.

Fixed (almost) SmartPort over SPI.

Fixed indentation.

Somewhat working telemetry.

Fixed SmartPort.

Work on SmartPort.

Work on SmartPort.

Working version without RX ringbuffer.

Na, stuff it, ringbuffer is better.

Fixed build.

Make sure we don't lose packets.

Made MSP over SmartPort over SPI work.

Moved processing of incoming telemetry into 'handleTelemetry'.

Improved telemetry buffering.

Make sure telemetry polling is happening.

Some cleanups.

Make telemetry wait if MSP is pemding.

Made MSP over SmartPort work.

Fixes after rebase.

Combined FrSky D and FrSky X.

Combined FrSky D and FrSky X.

Merged D and X.
2017-11-29 03:12:02 +13:00
mikeller
3873463fcf Added support for the FrSky FPort protocol. 2017-11-07 22:25:02 +13:00
jflyper
47b9bc878b Convert debug statements into debug modes 2017-09-24 19:36:35 +09:00
Martin Budden
ee1e008a80 Added gyro raw output debug mode 2017-08-28 08:21:55 +01:00
Martin Budden
ef00cc45cf Changed DEBUG_NOTCH to record unfiltered gyro output (#3965) 2017-08-27 07:45:22 +01:00
mikeller
a4ba8b3db8 Cleanup of the FrSky SPI RX code. 2017-08-20 23:36:07 +12:00
Dan Nixon
cfb23ad0ac Add debug mode to CMS menu 2017-07-16 11:14:37 +01:00
rav
d9909b91d3 enable frequency analysis and automatic, dynamic changing of notch filter frequencies
change F3 from CM1 to CM4
add debug flags for FFT
add bandpass filter
add different filtering apply function
add feature DYNAMIC_FILTER
replace mode GTUNE with DYNAMIC FILTER
move gyro frequency analysis into gyro loop instead of own task
2017-05-11 16:10:29 +02:00
mikeller
6a03b48e7f Reworked altitude estimation. Made it work when ACC is disabled. 2017-04-08 22:54:44 +12:00
Bas Delfos
8dbb156ea0 Added KISS ESC sensor information for rpm and temperature to debug fields 2017-03-28 23:11:23 +02:00
Bas Delfos
b53cbbefc3 Moved ESC telemetry to sensors 2016-12-08 21:19:23 +01:00
Martin Budden
2b3cc549e9 Enabled CCM RAM for stack. Added stack watermarking 2016-12-01 09:46:47 +00:00
Martin Budden
4fe68ce093 Improved scheduler and task timing instrumentation 2016-11-27 07:08:24 +00:00
Bas Delfos
16178a0662 Implementation of KISS ESC Telemetry protocol 2016-11-17 22:04:44 +01:00
Martin Budden
af5c1e3902 Added ARRAYEND and DEBUG_SET utilities 2016-10-13 14:37:43 +01:00
borisbstyle
24b4036968 Redefine rate implementation // new power expo // remove super expo feature 2016-08-27 10:35:55 +12:00
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Renamed from src/main/debug.h (Browse further)