Commit Graph

2178 Commits

Author SHA1 Message Date
Dominic Clifton b7f21ae6dd CC3D - Allow MSP, CLI, etc on VCP and USART1 by default. 2015-03-03 22:41:22 +00:00
Dominic Clifton 946f65601f Cleanup some enum values - using topic_type instead of type_topic. 2015-03-03 22:35:40 +00:00
Dominic Clifton 31a00d6b4d Fix size check for MSP_SET_CF_SERIAL_CONFIG. 2015-03-03 22:17:43 +00:00
Dominic Clifton a156d915f4 Only index into the configurable baud rate list when needed. 2015-03-03 17:30:35 +00:00
Dominic Clifton dca984ff88 Merge branch 'master' into serial-cleanup
Conflicts:
	src/main/telemetry/hott.c
2015-03-03 17:21:43 +00:00
Dominic Clifton 94fdaed8d2 Merge pull request #428 from Pierre-A/update_pa
HoTT check serial data improvement
2015-03-03 10:58:33 +00:00
Dominic Clifton aa7abec7f4 Merge pull request #570 from fusterjj/debug_cleanup
Disable debug vars by default
2015-03-03 10:56:37 +00:00
Dominic Clifton 03c93d3cfa Merge pull request #564 from sherlockflight/travis
Use 4.8 series GCC compiler for Travis build tests
2015-03-03 10:55:36 +00:00
Nicholas Sherlock b740c02259 Merge remote-tracking branch 'upstream/master' into travis
Conflicts:
	.travis.yml
2015-03-03 08:58:46 +13:00
Dominic Clifton 266fe45b7e Temporarily disable autotune on the CC3D OPBL binary. 2015-03-02 11:50:15 +00:00
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
Nicholas Sherlock 12851f78d0 Download binary version of GCC 4.8 instead of Ubuntu package 2015-03-01 14:05:20 +13:00
Joel Fuster 095b21b027 Disable debug vars by default 2015-02-28 19:26:59 -05:00
Nicholas Sherlock 0ac1e8bd11 Use 4.8 series GCC compiler for Travis build tests
Since 4.9 is known to create broken CC3D and Sparky builds
2015-02-28 11:55:36 +13: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 1a8500c768 Transition to new per-port & per-function baud rate configuration. 2015-02-27 01:05:37 +00:00
Dominic Clifton b6509dd1eb Merge branch 'master' into serial-cleanup
Conflicts:
	src/main/blackbox/blackbox_io.c
	src/main/config/config.c
2015-02-26 22:43:29 +00: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