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

3454 commits

Author SHA1 Message Date
Dominic Clifton
efc31f9d57 Merge pull request #1409 from readerror67/f3adcfix
F3 ADC fix.
2015-10-19 23:02:41 +01:00
Read Error
bd62fab916 F3 ADC fix. 2015-10-17 08:35:59 -04:00
Read Error
f70958b6d3 COLIBRI RACE gryoDetection fix. 2015-10-17 08:32:30 -04:00
borisbstyle
086e383602 Merge Cleanup for old CC3D INT Code
more merge errors CC3D
2015-10-16 13:30:02 +02:00
borisbstyle
eb138dc601 COLIBRI_RACE MPU_DATA_READY Handler
Colibri Race MPU INT support

revert some things

revert more

Update Colibri Race Binaries

Update target.h Colibri_race

Update Target.h
2015-10-16 12:41:49 +02:00
Dominic Clifton
ddc5a5f15f Add IRQn_Type to tests to fix compilation errors. 2015-10-16 10:40:59 +02:00
Petr Ledvina
4e86cd01eb Remove unused pointes if SKIP_CLI_COMMAND_HELP is defiend 2015-10-16 10:40:59 +02:00
Petr Ledvina
7a1342bce5 Make CW0_DEG default in alignSensors 2015-10-16 10:40:58 +02:00
Dominic Clifton
4da387e93d More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.

MPU6050 Correction From merge
2015-10-16 10:40:54 +02:00
Dominic Clifton
2c9d7450ac Add MPU INT support to mpu6500 driver. 2015-10-16 10:34:43 +02:00
Dominic Clifton
526f4777a2 Add IRQn_Type to tests to fix compilation errors. 2015-10-16 08:24:19 +01:00
Petr Ledvina
fcc9556610 Remove unused pointes if SKIP_CLI_COMMAND_HELP is defiend 2015-10-15 23:37:21 +01:00
Petr Ledvina
bea9ae729e Make CW0_DEG default in alignSensors 2015-10-15 23:34:46 +01:00
Dominic Clifton
9b054f6fde More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.
2015-10-15 23:04:55 +01:00
Dominic Clifton
026afb22c7 Add MPU INT support to mpu6500 driver. 2015-10-15 21:07:54 +01:00
borisbstyle
5b14ab6004 Add mpuIntExtiInit for MPU6500 drivers 2015-10-15 17:06:54 +02:00
borisbstyle
05dec6c21e Revert "Remove OpenPilot bootloader support."
This reverts commit 0150abf1bc.

Conflicts:
	src/main/target/CC3D/target.h
2015-10-15 09:59:29 +02:00
borisbstyle
e25087bbbc failsafe_off_delay default
default

Max Invalid Pulse to 6

Max Invalid Pulse to 10

Max Invalid Pulse to 20
2015-10-15 09:53:38 +02:00
ProDrone
44b751cd5a Added delay to rxfail detection
Added a bad pulse counter to all channels.
More than MAX_INVALID_PULS_COUNTS bad pulses required before
starting rxfail substitution.
This should prevent a too aggressive reaction to small dropouts.
2015-10-15 09:53:37 +02:00
digitalentity
a2743f50e9 Moved buzzer to Out6
Removed PWM12 (Out6) from pwm_mapping
Updated documentation
2015-10-14 22:30:54 +10:00
cmenard
23c534823e RMDO: Make firmware fit all variants 2015-10-13 00:45:28 +02:00
cmenard
18aaf7a892 RMDO: Bring up to date with GTUNE and SERIAL_1WIRE 2015-10-13 00:45:24 +02:00
borisbstyle
1fed2579c1 Betaflight Final 2015-10-13 00:30:20 +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
4b7fd5a2de Restore Original CF Failsafe 2015-10-12 23:38:52 +02:00
Dominic Clifton
0150abf1bc Remove OpenPilot bootloader support.
This can be added back at a later date if required if enough code-size
savings can be found, for instance, the removal of the CLI.
2015-10-12 20:44:51 +01:00
Dominic Clifton
8402f4512a Merge pull request #1276 from sherlockflight/3d-pid-at-min-throttle
Add support for pid_at_min_throttle = 0 for 3D flight
2015-10-12 20:27:53 +01:00
Dominic Clifton
a319394f6b Merge branch 'blackbox-serial-budget' of https://github.com/sherlockflight/cleanflight-dev into sherlockflight-blackbox-serial-budget
Conflicts:
	src/main/blackbox/blackbox.c
2015-10-12 20:14:20 +01:00
Petr Ledvina
8f3d9fae9a unify typedef struct name_s {} name_t; naming convention 2015-10-12 19:58:12 +01:00
Petr Ledvina
1613c2d572 use full declaration for ImuInit 2015-10-12 19:58:12 +01:00
Petr Ledvina
6999cf1742 Simplify #ifdef nesting 2015-10-12 19:58:11 +01:00
Petr Ledvina
8f6de3e553 Remove unnecessary floating-point calculation 2015-10-12 19:58:10 +01:00
Petr Ledvina
fba2c3d5cc safety check in altitude code
Make sure altitude is in expected range
2015-10-12 19:58:09 +01:00
Petr Ledvina
b723f94c1f improve code readability
it is possible to use traling comma, it does improve git diffs etc.
2015-10-12 19:58:08 +01:00
Petr Ledvina
e8f0e0d97c use #defines for ADC on stm32f10x
Make stm32f103 ADC more similar to stm32f30x
2015-10-12 19:58:07 +01:00
Petr Ledvina
48cdf650d9 improve container_of macro 2015-10-12 19:58:06 +01:00
Petr Ledvina
dc5a888633 cpm16 / cmp32 functions
used to compare timestamps with correct wrap. A bit more readable that typecasting in code. Only few uses replaced now
2015-10-12 19:58:05 +01:00
borisbstyle
5e87387e16 Code Cleanup // Defaults // Version Rename
No more version numbering. It's confusing.
Betaflight Bee Version
2015-10-09 23:33:00 +02:00
borisbstyle
4cbff888df D scaling adjusted to match normal Cleanflight 2015-10-08 16:34:11 +02:00
borisbstyle
8d8d57a1f4 Set F1 target i2c to 800khz
Still 200us spare time left in luxfloat
2015-10-08 15:38:49 +02:00
borisbstyle
fa2ac7fe86 Merge remote-tracking branch 'prodrone/improved_rx_failsafe_detection' into betaflight 2015-10-08 14:53:07 +02:00
borisbstyle
476597ca5d Enable GTUNE for NAZE32 target 2015-10-07 21:35:59 +02:00
borisbstyle
1fc4f8601f Fix MPU6500 Detect 2015-10-07 21:35:58 +02:00
henn1001
dbcfa5dc43 hack for cc3d interrupt 2015-10-07 21:17:12 +02:00
borisbstyle
fb0b36158b Fix MOTOLAB Target
Add Gtune to Motolab
2015-10-07 17:34:28 +02:00
borisbstyle
11c3f4dd76 Correct datatype 2015-10-07 17:16:28 +02:00
borisbstyle
12c9f65f43 Merge branch 'master' into betaflight
Conflicts:
	Makefile
	docs/Cli.md
	src/main/config/config.c
	src/main/drivers/accgyro_mpu3050.c
	src/main/drivers/accgyro_mpu6050.c
	src/main/drivers/accgyro_mpu6050.h
	src/main/drivers/accgyro_spi_mpu6000.c
	src/main/drivers/accgyro_spi_mpu6000.h
	src/main/drivers/accgyro_spi_mpu6500.c
	src/main/drivers/accgyro_spi_mpu6500.h
	src/main/drivers/barometer_bmp280.c
	src/main/drivers/sensor.h
	src/main/flight/pid.c
	src/main/mw.c
	src/main/rx/rx.c
	src/main/sensors/initialisation.c
	src/main/target/CC3D/target.h
2015-10-07 17:12:54 +02:00
ProDrone
83a41565f6 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.
2015-10-07 00:34:20 +02:00
Dominic Clifton
233753009b Disable GTune on CC3D build (code size). 2015-10-06 21:25:53 +01:00
Dominic Clifton
57e5794ae1 Use the right mode (aka BOX) - replaces autotune mode. This will help
with migrations.
2015-10-06 21:25:40 +01:00