1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 07:45:29 +03:00
Commit graph

195 commits

Author SHA1 Message Date
borisbstyle
3c01e78db6 Jeti Exbus telemetry set to 500hz 2016-02-08 23:26:28 +01:00
borisbstyle
cdb671b0d6 Configurable gyro Denominator when gyro_lpf set to OFF 2016-02-06 13:09:40 +01:00
KiteAnton
62e0e59ab5 Additional configs moved from profile to master 2016-02-03 21:10:08 +01:00
KiteAnton
69c7c2f9c7 Move modes and adjustments from profile to free up flash 2016-02-03 21:03:27 +01:00
borisbstyle
e55786e1bb Remove unneded things 2016-02-02 23:36:45 +01:00
borisbstyle
220850e429 Fix Spracing Mini merge 2016-02-02 23:36:43 +01:00
Dominic Clifton
a259a49db1 SPRacingF3Mini - Reduce current draw when using transponder while
connected via USB cable.
2016-02-02 23:36:43 +01:00
Dominic Clifton
6d32aa5d7b SPRacingF3Mini - First cut of transponder system.
Implementation is DMA buffer based, just like the WS2811 LED Strip code,
so that there is minimal impact on flight performance.

Currently the code is mutually exclusive with the LED_STRIP code and
there is no means to set the transponder code.
2016-02-02 23:36:42 +01:00
Nicholas Sherlock
6055ab2432 Updates to use newly merged SD card code 2016-02-02 23:36:37 +01:00
Nicholas Sherlock
dce49d4abb Delete interim SD card support 2016-02-02 23:36:36 +01:00
Nicholas Sherlock
71335dc65d Support enabling DMA for sdcard write at runtime 2016-02-02 23:36:36 +01:00
Nicholas Sherlock
14c13085b7 Add AFATFS support to Blackbox 2016-02-02 23:36:33 +01:00
Nicholas Sherlock
84d3cc6175 Basic SDCard block read / write (minimal timeout/error handling) 2016-02-02 23:36:32 +01:00
Dominic Clifton
180e1cb7b6 SPRacingF3Mini - Quick hack to allow configuration to be reset when
holding buttons A and B down for 5 seconds when powering on.
2016-02-02 23:36:30 +01:00
Dominic Clifton
52d97869b8 SPRacingF3Mini - Initial support for new target. 2016-02-02 23:36:28 +01:00
Dominic Clifton
4b955f09da SDCard - Basic functionality.
Detect card, query capacity, read data.
2016-02-02 23:36:26 +01:00
Michael Jakob
7634e4c635 AlienFligth F3 V2 support
Updated SPI driver (SPI3 on F3 targets)
AK8963 Mag support (part of MPU9250)
MPU9250 SPI support via MPU6500 driver
Updated LED driver for alternative LED sets
Enable gyro intterupt for AlienFlight F3 targets
Update AlienWii/AlienFlight documentation
Rename AlienWii to AlienFlight
2016-02-02 23:31:55 +01:00
borisbstyle
17f214d2ab Bugfix for brushed motor support 2016-01-26 13:43:23 +01:00
borisbstyle
a105af1225 Filter Cleanup CF coding style// Remove Old pt1 for acc etc // F1 slower acc update 2016-01-18 00:51:20 +01:00
Larry (TBS)
6f3d576802 - Fix and add BST task into scheduler, with fixed PID reading 0s problem. 2016-01-12 15:26:03 +08:00
borisbstyle
e0e7db74f1 Increase Acc update in 1khz mode // cleanup 2016-01-10 21:21:11 +01:00
Larry (TBS)
cad401da25 - Fix and add BST task into scheduler. 2016-01-05 11:55:17 +01:00
henn1001
d6c812f4fe Fix Selectable Buzzer Pin for CC3D -Cleanup 2015-12-30 23:48:56 +01:00
borisbstyle
dfcc3eb028 Fix Selectable Buzzer Pin for CC3D 2015-12-30 23:19:30 +01:00
borisbstyle
6d679b72e1 Further 2khz Stability Enhancements 2015-12-24 02:35:01 +01:00
Konstantin Sharlaimov (DigitalEntity)
fa49931b43 Improved scheduling. Betaflight Port digitalentity/cf-scheduler
Disallow arming if system load > 100 (waiting task count > 1)

Dont show inactive tasks in CLI

Realtime priority task and guard interval implementation

Dynamic guard interval. Bugfix for realtime scheduling hickups

Optimisations

Compile out CLI command help and CLI tasks command for CJMCU

Naming fixes // re-Add Gyro Sync // Fix port issues
2015-12-23 00:05:34 +01:00
borisbstyle
8ecd05b911 Configurable Beeper PIN6 CC3D // Less CC3D targets 2015-12-23 00:05:33 +01:00
borisbstyle
0a2444fe39 Afromini Target Beeper override for rev5 2015-12-09 13:33:39 +01:00
borisbstyle
b39beceb62 8khz Sampling option / preparation 2015-11-24 16:09:16 +01:00
borisbstyle
6da7ced9be BST Port 2015-11-20 17:39:24 +01:00
Konstantin Sharlaimov (DigitalEntity)
5df8ca926c Quaternion-based DCM IMU (original code my S.Madgwick)
Restore binaries from merge
2015-10-22 10:45:36 +02:00
borisbstyle
cb7028b7f1 Merge remote-tracking branch 'prodrone/improved_rx_failsafe_detection' into betaflight
Conflicts:
	src/main/drivers/accgyro_mpu6500.c
	src/main/drivers/accgyro_spi_mpu6000.c
	src/main/drivers/system.c
	src/main/mw.c
	src/main/rx/rx.c
	src/main/sensors/initialisation.c
2015-10-21 09:21:33 +02:00
ProDrone
a64e2c4f1a Improved RX failsafe detection & handling
modified debug output (currently disabled)

To solve problem as indicated here:
https://github.com/cleanflight/cleanflight/issues/1266#issuecomment-135640133

and here:
https://github.com/cleanflight/cleanflight/pull/1340

and here:
https://github.com/cleanflight/cleanflight/pull/1342

Tested on FrSKY X4RSB with latest CPPM firmware (non-EU version).
Firmware filename: X4R-X4RSB_cppm_non-EU_150630

In both SBUS and CPPM mode.

---
Added delay to rxfail detection

All channels are monitored for bad (out of valid range) pulses.
On bad pulses channel data will HOLD the last value for a period of
MAX_INVALID_PULS_TIME (300ms) before starting rxfail substitution.
This should prevent a too aggressive reaction to small dropouts.

---
Init ARM switch rc channel to OFF for safety

Initialize ARM switch to OFF position when arming via switch is defined.
To prevent arming during init when RX is disconnected and/or when RX is
connected but TX is still off.

---
Modified rx_rx_unittest.cc

Adapted because rxInit() parameters changed.
Added tests for ARM switch initialization.
No further tests added.

---
Move smoothing of rcData to rcCommand

Commit from @borisbstyle pr #1418
rc_smoothing function has changed to leave rcData unchanged in #1418
2015-10-21 01:50:59 +02:00
borisbstyle
4b3ba927e9 Merge branch 'master' into betaflight
Conflicts:
	src/main/blackbox/blackbox_io.c
	src/main/drivers/serial_usb_vcp.c
	src/main/flight/imu.c
	src/main/mw.c
	src/main/target/CC3D/target.h
2015-10-12 23:53:43 +02:00
borisbstyle
fa9cd0440b FastPWM as part of Oneshot125 (dynamic oneshot)
bool correction

IdlePulse
2015-10-01 17:07:53 +02:00
borisbstyle
77534ed6f6 Merge remote-tracking branch 'henn1001/FastPWM' into betaflight
Conflicts:
	src/main/drivers/pwm_mapping.c
2015-10-01 16:01:15 +02:00
Nicholas Sherlock
6e504ca52a Ability to see how many Tx bytes are free in serial port buffer 2015-10-01 16:48:56 +13:00
borisbstyle
babab7aa4e Merge remote-tracking branch 'Pierre-A/CLI_beeper_off' into betaflight 2015-09-29 12:21:18 +02:00
borisbstyle
9ed1c46065 Static i2c Clockspeed set to 1200khz (Stability test needed)
Luxfloat can now run with acc stable
2015-09-23 01:25:45 +02:00
ProDrone
eca7d9fd21 Add CLI variable i2c_overclock
Add i2c_overclock to master config and bump version
Start using the i2c_overclock CLI setting to initialize i2c clock speed
selector for F1 targets.
2015-09-22 23:21:29 +02:00
borisbstyle
0539abc649 Dterm scaling correction // Code cleanup 2015-09-21 00:19:06 +02:00
borisbstyle
0ea5a99e2b Merge remote-tracking branch 'prodrone/betaflight' into alphaflight 2015-09-19 16:44:11 +02:00
ProDrone
47afa51bd7 Merge branch 'quat_fsm_vfm_clean_yaw_hack_squash' into betaflight
Conflicts:
	src/main/mw.c
	src/main/target/CC3D/target.h
2015-09-19 14:59:47 +02:00
Konstantin Sharlaimov (DigitalEntity)
45a4f11f92 Added #define for imu debug output (+16 squashed commit)
Squashed local commits:

from       : e4265d4a13f63f82d5cf55eea2c091622f96660b
up to (inc): 72416dc74745fa8bae1aded79aa4b9ed0e389076
2015-09-19 14:50:53 +02:00
borisbstyle
0501e5ff91 Code Cleanup
More code cleanup and BUMP EEPROM

Code Cleanup

Fix loop trigger
2015-09-19 01:37:48 +02:00
borisbstyle
dae052632c Merge branch 'master' into betaflight
Conflicts:
	src/main/drivers/accgyro_mpu3050.c
	src/main/drivers/accgyro_mpu6050.c
	src/main/drivers/accgyro_spi_mpu6000.c
	src/main/drivers/accgyro_spi_mpu6500.c
	src/main/drivers/sensor.h
2015-09-15 23:36:40 +02:00
Pierre-A
09e7a01b2c Selectively turning on/off the beeper through CLI 2015-09-15 15:41:30 +02:00
Dominic Clifton
c6f5b98a79 Improve failure LED status flashing. Now users can identify and report
hardware failures by counting the number of long flashes.

Fix up sensor read API so that code that uses sensors can detect
malfunctions.

If a failure mode occurs in a debug mode the code reboots the system
rather than rebooting to the bootloader.
2015-09-12 01:33:19 +01:00
borisbstyle
26f89b74bd Configurable Baro Type
We can disable/configure mag, acc, but why not baro?

ident
2015-09-10 02:22:50 +01:00
borisbstyle
febee3fb90 Merge branch 'master' into betaflight
Conflicts:
	src/main/drivers/system.c
	src/main/rx/rx.h
2015-09-07 10:08:34 +02:00