1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00
Commit graph

1267 commits

Author SHA1 Message Date
Philippe-France
ec7bcbe262 solution of issue 318 2015-01-24 15:08:51 +01:00
Nicholas Sherlock
6f7256242d Blackbox: Fix GPS timestamp jitter on low logging rates 2015-01-21 18:42:42 +13:00
Dominic Clifton
b7850270c4 Cleanup CC3D/NAZE/OLIMEXINO ADC initialisation and PWM mapping. Fixes
#297.
2015-01-21 01:06:16 +01:00
Dominic Clifton
e31b6e3e75 Merge pull request #261 from ledvinap/fix-adc
Fix ADC clock speed to be within specification
2015-01-21 00:00:46 +01:00
Dominic Clifton
1a2ee0e5b9 Merge branch 'LSM303DLHC_compass_new' of https://github.com/MJ666/cleanflight into MJ666-LSM303DLHC_compass_new
Conflicts:
	src/main/target/STM32F3DISCOVERY/target.h
2015-01-20 23:54:35 +01:00
Dominic Clifton
650389afb6 Disable ADC initialisation on CJMCU. Replace MASSIVEF3 with SPRACINGF3.
Conditional VCP code inclusion.  Other minor F1/F3 cleanups.
2015-01-20 23:33:03 +01:00
Michael Jakob
24b1e9f49e Add LSM303DLHC compass support using HMC5883L driver 2015-01-20 23:28:42 +01:00
Dominic Clifton
f825f15a9f Cleanup warnings in accgyro_l3gd20.
This file needs some cleanup since it also does SPI initialisation and
that should be moved out.
2015-01-20 22:02:12 +01:00
Dominic Clifton
42aac00b87 Cleanup warnings in sound_beeper_stm32f30x.c when no beeper is
available.
2015-01-20 21:58:37 +01:00
Dominic Clifton
4bf1d9cf51 Cleanup warnings in serial_usb_vcp.c 2015-01-20 21:53:18 +01:00
Ben Hitchcock
82161882bb Bugfix for situations where Rx mapping is being used, and failsafe is kicking in unecessarily. An example is when a GPS is being used on UART2 (Rx pin 4), with the mapping of AET4R123. This code prevents failsafe being triggered by GPS data on Rx pin 4. 2015-01-17 22:29:06 +08:00
Dominic Clifton
d72983e150 Bump version numbers for release. 2015-01-16 12:38:44 +00:00
Dominic Clifton
b64c71264c Renaming getRcStickPosition to getRcStickDeflection and moving to
rc_controls.c.
2015-01-16 01:00:40 +00:00
Dominic Clifton
b7462c0b3d Merge pull request #351 from nebbian/baseflight-pid-horizon-mode-tuneup_a
Baseflight pid (pid_controller=2) horizon mode tuneup
2015-01-16 00:50:12 +00:00
Dominic Clifton
eceace7f08 Merge pull request #354 from sherlockflight/master
Add blackbox logging for AutoTune events
2015-01-16 00:47:43 +00:00
Dominic Clifton
d8fa662446 Shorten SBus frame timeout. Fixes #361.
See 5401092afa.
2015-01-16 00:42:15 +00:00
Dominic Clifton
8caff86006 Update MSP_SET_LED_STRIP_CONFIG. Each LED must be sent one at a time
since sending 32 leds needs a packet larger than the MSP receiver buffer
allows.
2015-01-16 00:09:02 +00:00
Dominic Clifton
5de6fee787 Minor const correctness. 2015-01-15 23:48:27 +00:00
Nicholas Sherlock
a61f7eeddf Clean shutdown of blackbox (allows us to write "log completed" event) 2015-01-16 10:52:35 +13:00
Nicholas Sherlock
0b424b00c4 Merge remote-tracking branch 'upstream/master' 2015-01-16 10:50:10 +13:00
Dominic Clifton
ad65722f0e Code size reduction when led animation is disabled. 2015-01-15 16:53:14 +00:00
Dominic Clifton
947bb0d918 Minor code size reduction. Adding some const correctness. 2015-01-15 10:48:54 +00:00
Dominic Clifton
30b928c0bc Cleanup unit test compiler flags. Fix compiler warnings in unit test
and related code.
2015-01-14 15:09:29 +00:00
Dominic Clifton
bf88696847 Update unit tests to correctly use C/C++ where appropriate. Cleanup
makefile by using additional whitespace.
2015-01-14 14:24:34 +00:00
Nicholas Sherlock
cf37c5247f Merge remote-tracking branch 'upstream/master' 2015-01-14 15:44:35 +13:00
Nicholas Sherlock
b893e457f1 Don't break the blackbox stream when PIDs change in-flight 2015-01-14 15:42:38 +13:00
Nicholas Sherlock
2b1e8c12fc Add Blackbox logging for autotune events 2015-01-14 15:14:25 +13:00
Nicholas Sherlock
f7a9a628b6 Add logging for GPS ground course (heading) 2015-01-14 11:46:53 +13:00
Dominic Clifton
b6ac9204d3 STM32F3 - Fix LED Strip hardware initialisation. 2015-01-12 22:02:10 +00:00
Nicholas Sherlock
a43ae266f5 Transmit blackbox header slower on faster looptimes to avoid errors 2015-01-11 14:36:05 +13:00
Dominic Clifton
5d8e39f2d9 SPARKY - Add LED STRIP support.
Update PWM mapping to avoid PWM/LedStrip clash on Motor output pin 5.
2015-01-11 00:24:57 +00:00
Dominic Clifton
5a07194d62 LedStrip - Fix missing GPIO Output type configuration. 2015-01-11 00:24:52 +00:00
Dominic Clifton
3e6646ec45 STM32F3 - Fix LED Strip timer initialisation. 2015-01-10 22:54:04 +00:00
Petr Ledvina
6b5f1fc38b fix index overflow in channel mapping 2015-01-09 10:52:46 +01:00
Dominic Clifton
ce49dcee31 Bump MSP api version. Ensure the the number of LEDs in the
MSP_SET_LED_STRIP_CONFIG packet is validated.
2015-01-08 23:19:57 +00:00
Dominic Clifton
9729c59cb0 Fix MSP_LED_STRIP_CONFIG length. 2015-01-08 22:47:28 +00:00
Dominic Clifton
e3f0cc143b Bump version to 1.5.0 2015-01-08 19:01:21 +00:00
Dominic Clifton
fd86014308 Update RX_MSP to support 18 channels. Fix MSP_SET_RAW_RC / channel
mapping problem.
2015-01-08 09:03:57 +00:00
Dominic Clifton
1ef76f2f3f Exclude GPS features from blackbox for targets without GPS. 2015-01-08 04:42:40 +00:00
Dominic Clifton
801548bedb Fix line endings. 2015-01-08 01:23:48 +00:00
Dominic Clifton
53faaff63c Add CJMCU revision detection. Use LEDs to indicate Spektrum binding
activity.
2015-01-08 01:19:25 +00:00
Dominic Clifton
a981ac5103 Replace some tabs with spaces. 2015-01-07 23:04:29 +00:00
Dominic Clifton
83a5c319b5 CJMCU - Add support for LED2. Swap usage of LED0 and LED1.
Currently the LED2 (blue) is just enabled after the main board
initialisation is complete and then it stays on.
2015-01-07 23:02:05 +00:00
Ben Hitchcock
22afc54228 Removing misplaced function definition 2015-01-07 22:04:21 +08:00
Ben Hitchcock
69d94c81e1 Second draft of the tuneup.
This uses ints for the sensitivity instead of mapping floats back and forth.
 Also the stick position is read directly, without the RC_Rate affecting this value.
2015-01-07 21:54:13 +08:00
Dominic Clifton
31817e612e Adding blackbox support to other targets. 2015-01-06 22:41:56 +00:00
Dominic Clifton
fcbda7ec63 Merge pull request #227 from sherlockflight/master
Add blackbox flight data recorder feature
2015-01-06 21:56:49 +00:00
Ben Hitchcock
6b7c9facd3 First draft of better horizon mode 2015-01-06 21:53:23 +08:00
Pierre-A
92ca14a419 Correction of bug issue#312 2015-01-05 10:40:25 +01:00
Nicholas Sherlock
a0f3ee6315 Fix signed comparison warning 2015-01-05 10:28:15 +13:00