Commit Graph

2153 Commits

Author SHA1 Message Date
Dominic Clifton bc5f48a7e9 Ensure that travis uses 4.x of GCC.
Ideally we want to use 4.8.x but the binary repository does not contain
4.8 any more, only 4.9.x.  The CC3D build will continue to fail until th
code size issue is addressed.
2015-03-02 11:31:34 +00:00
Dominic Clifton 2a73ad6925 Merge pull request #559 from sherlockflight/cc3d
Add blackbox dataflash support for CC3D
2015-02-27 13:00:42 +00:00
Nicholas Sherlock b2e46ea5f4 Update blackbox doc to mention support for CC3d 2015-02-28 01:05:28 +13:00
Nicholas Sherlock a60cdf157a Fix initialisation of SPI2 2015-02-28 00:56:28 +13:00
Nicholas Sherlock af68517dda Merge remote-tracking branch 'upstream/master' into cc3d 2015-02-28 00:19:03 +13:00
Dominic Clifton ed434dd169 Cleanup ACC hardware enum so that 'None' is always '1' and doesn't
change every time a new sensor is added.  All the sensor enum values are
now aligned.
2015-02-26 22:31:38 +00:00
Dominic Clifton 88bc3c3f5d Merge pull request #543 from sherlockflight/master
Save around 300 bytes of flash by improving Blackbox field name storage
2015-02-26 21:06:24 +00:00
Dominic Clifton 99f84d397a Merge pull request #554 from rbirkby/AlienSpiderLedFix
Fix docs for Alien Spider LED configuration
2015-02-26 21:01:22 +00:00
Dominic Clifton 55d9994ff8 Reset adjustment states when switching profiles.
Fixes #544.
2015-02-26 13:58:03 +00:00
Dominic Clifton 05b1b5a9b2 Ensure motor[0] is used, see 46a0054d784ba638435257ee6b75e5cea43f0983 2015-02-26 12:15:15 +00:00
Dominic Clifton 8282bc76d2 Mixer code readability and code size improvement.
Naze target size before: 113412, after: 113388

Closes #551
2015-02-26 12:05:03 +00:00
Richard Birkby da6bbf460f Fix docs for Alien Spider LED configuration 2015-02-26 07:54:02 +00:00
Nicholas Sherlock 451d3d7ba2 Move zigzag encoding function to new common/encoding.c file, add tests 2015-02-26 13:27:09 +13:00
Nicholas Sherlock 57fcde05a3 Blackbox dataflash: Experimental CC3D support 2015-02-25 00:52:25 +13:00
Nicholas Sherlock aae9141120 Fix blackbox compile bug on targets without flash 2015-02-24 10:19:11 +13:00
Nicholas Sherlock ff28846829 Save around 300 bytes of flash by improving Blackbox field name storage
Also add a bit more Blackbox code documentation
2015-02-24 09:42:38 +13:00
Dominic Clifton b9e1283809 Ensure motors are stopped before a reboot. Ensure hard fault handler
doesn't use potentially unitialised data to update the motors.  Pause
for 50ms before rebooting after updating disabling the motors to ensure
the timer hardware and ESCs havea chance to react.

This commit might help with #123
2015-02-23 14:02:47 +00:00
Dominic Clifton b568b9c59d Update led strip documentation. 2015-02-22 22:20:27 +00:00
Dominic Clifton 0da270351a Merge pull request #537 from MJ666/Harakiri_PID_fix
Harakiri PID controller fix
2015-02-22 21:55:54 +00:00
Dominic Clifton a02cedd8d2 Fix blackbox compilation when included but not enabled. 2015-02-22 21:49:54 +00:00
Dominic Clifton 070b556a07 Enable blackbox flash logging only on SPRacingF3 and Naze rev5 targets. 2015-02-22 21:49:53 +00:00
Dominic Clifton 5d49451916 Cleanup SPI on STM32F3 targets. 2015-02-22 21:49:45 +00:00
Dominic Clifton 2f09b7d1d9 Merge branch 'blackbox-flash' of https://github.com/sherlockflight/cleanflight-dev into sherlockflight-blackbox-flash 2015-02-22 17:24:39 +00:00
Dominic Clifton 9057d70410 Allow excluding of servo code at compilation time.
This is in preparation for backbox on CJMCU/64k.

Flight tested on CJMCU.
2015-02-22 16:21:03 +00:00
Dominic Clifton 5a15c3b271 Merge branch 'master' into fusterjj-lowpass 2015-02-22 15:24:11 +00:00
Dominic Clifton df2f0e850f Bump version to 1.8.0 in preparation for new features. 2015-02-22 15:22:40 +00:00
Dominic Clifton f88bbf4676 Avoid usage of methods for targets that don't use the display. 2015-02-22 15:22:17 +00:00
Dominic Clifton f4112a67c6 Bump config version. 2015-02-22 15:21:45 +00:00
Dominic Clifton debd72485b Avoid updating servos to servo middle every loop iteration. 2015-02-22 15:21:21 +00:00
Dominic Clifton 774abcfab8 Update unit tests. 2015-02-22 14:56:15 +00:00
Dominic Clifton a1b01807cf Merge branch 'lowpass' of https://github.com/fusterjj/cleanflight into fusterjj-lowpass
Conflicts:
	src/main/flight/mixer.c
2015-02-22 14:55:04 +00:00
Dominic Clifton b4e4684ac7 Avoid resetting page cycle index when re-enabling page cycling so that
it is possible to stop on a page, inspect it, and then resume cycling at
the point that it was stopped.
2015-02-22 14:42:43 +00:00
Dominic Clifton 4a1b27443f Enable/Disable LCD page cycling using stick combos. 2015-02-22 14:01:38 +00:00
Nicholas Sherlock c6d71f148d Don't try to compile blackbox if BLACKBOX define isn't set
Just in case you link against blackbox.c but aren't using the BLACKBOX
define in target.h.
2015-02-22 12:01:14 +13:00
Michael Jakob a4e074816d Harakiri PID controller fix
integer constrain function is limiting accuracy in Angel and Horizon
mode ITerm value
2015-02-21 14:51:53 +01:00
Nicholas Sherlock f6c9f7cc4a Merge remote-tracking branch 'upstream/master' into blackbox-flash 2015-02-21 12:52:26 +13:00
Dominic Clifton f6408cd355 CJMCU disable cli servos command to save flash space.
At some point in the future it might be an idea to use a define for
USE_SERVOS so that more code could be excluded. (Servo tilt, etc).
2015-02-20 18:51:50 +00:00
Dominic Clifton 1a7fe33e16 Merge pull request #511 from MJ666/AlienWii
ALIENWII F3/F1 target cleanup and documentation update
2015-02-20 16:41:08 +00:00
Dominic Clifton 3194d331b1 Merge branch 'MaxWinterstein-patch-1' 2015-02-20 14:31:24 +00:00
Dominic Clifton 4aded2a0b9 Use same casing in Readme.md for 'Oneshot' as found elsewhere in the
documentation.
2015-02-20 14:31:09 +00:00
Dominic Clifton ae8be396d6 Correct markdown formatting on Oneshot.md. 2015-02-20 14:30:35 +00:00
Dominic Clifton da7a0a184c Merge branch 'patch-1' of https://github.com/MaxWinterstein/cleanflight into MaxWinterstein-patch-1 2015-02-20 14:27:46 +00:00
Dominic Clifton 79cc7cd97a Merge branch 'dave-pitman-dave-pitman-pid' 2015-02-20 14:20:34 +00:00
Dominic Clifton b4cc7c4cb4 Merge branch 'dave-pitman-pid' of https://github.com/dave-pitman/cleanflight into dave-pitman-dave-pitman-pid
Conflicts:
	docs/PID tuning.md
2015-02-20 14:20:24 +00:00
Dominic Clifton 4554feb5e7 Merge pull request #474 from Zappes/master
Update Spektrum bind.md
2015-02-20 13:48:32 +00:00
Dominic Clifton 81926974f4 Merge pull request #463 from dave-pitman/dave-pitman-rates
Add Rates & Expo documentation
2015-02-20 13:43:45 +00:00
Dominic Clifton 1fbc9087a0 Merge pull request #478 from JohnieBraaf/patch-1
Update Hardware Debugging.md
2015-02-20 13:42:33 +00:00
Dominic Clifton fdfb053897 Merge pull request #485 from ledvinap/doc-pid-internals
Doc pid internals
2015-02-20 13:41:51 +00:00
Dominic Clifton 97f71aed5f Merge pull request #507 from wiebel/patch-1
Some Linux secific remarks
2015-02-20 13:39:51 +00:00
Dominic Clifton 2a2b89f580 Merge pull request #519 from tracernz/safety-docs
Safety docs
2015-02-20 13:39:09 +00:00