Commit Graph

1450 Commits

Author SHA1 Message Date
Dominic Clifton 903392b883 Updating comment. 2014-11-06 19:52:10 +00:00
Dominic Clifton 59698c5a37 Merge branch 'naze-updates-pb' of github.com:Pierre-A/Cleanflight into Pierre-A-naze-updates-pb 2014-11-06 19:44:39 +00:00
Dominic Clifton feb4be43d4 Merge pull request #150 from Pierre-A/naze-updates-pa
RSSI_ADC configurable scale in CLI
2014-11-06 20:43:16 +01:00
Dominic Clifton dc3b90c5d0 Merge pull request #157 from ledvinap/fix-whitespace
Fixed some whitespace around operators
2014-11-06 20:41:54 +01:00
Petr Ledvina 8d22a85222 Fixed some whitespace around operators
one compiller warning about possible uninitialized variable supressed
2014-11-06 17:36:40 +01:00
Dominic Clifton d2e895ac93 Cleanup pinout tables in CC3D documentation 2014-11-06 10:12:38 +00:00
Dominic Clifton 1c545fdf9e Latest binaries. 2014-11-05 22:41:46 +00:00
Dominic Clifton 30c550b83d CC3D - Support 4 PWM inputs and 4 PWM outputs.
Avoid timer clashes on CC3D when using Parallel PWM input.

More work needs to be done on the PWM RX/Output code to negate timer
clashes.
2014-11-05 22:32:44 +00:00
Dominic Clifton 2d119cba78 Fix softserial/pwm timer clash caused by typo in preprocessor defines.
See 91c7407806

Fixes #143.
2014-11-05 21:05:57 +00:00
Dominic Clifton db36cfe12e Fix arm/disarm/arm bug when using shared msp/telemetry ports.
All msp ports are now re-initialised when disarming.

Bug wa introduced by c06fd78b83 - see
#144.

Runtime serial port scenario should not have been erased.

Fixes #144 and #155. Cleanup #125.
2014-11-05 20:23:59 +00:00
Dominic Clifton 2d7184b25b Merge pull request #156 from ledvinap/feature-nvic
NVIC priority change
2014-11-04 17:30:50 +01:00
Petr Ledvina bf50cbb1a8 NVIC priority change
Use 'better' macros to handle priority. This simplifies passing priority to function and new ATOMIC_BLOCK macro
2014-11-04 16:23:21 +01:00
Dominic Clifton 503e7a0817 Decouple altitudehold.c from config.c. Update flight_imu_unittest and
altitude_hold_unittest.
2014-11-03 20:03:21 +01:00
Pierre-A d545ab545f Remove profanity from comments (issue #43) 2014-11-02 14:53:57 +01:00
Dominic Clifton f8b13d7c62 Update unittest_flight_imu. 2014-11-01 11:10:57 +00:00
Dominic Clifton 21e9b0b537 Update battery_unittest. 2014-11-01 11:06:24 +00:00
Dominic Clifton 6efa63b8bd Update telemetry_hott_unittest. 2014-11-01 11:04:39 +00:00
Dominic Clifton 8f196420ca Fix unit test compiler warnings on rc_controls_unittest 2014-11-01 10:50:30 +00:00
Dominic Clifton 715c175aad Add basic MPU6000 auto detection code. De-duplictate repeated code in
MPU6000.
2014-11-01 10:45:44 +00:00
Dominic Clifton 0ba2933611 Add MSP_SET_ADJUSTMENT_RANGE and MSP_ADJUSTMENT_RANGES commands. 2014-11-01 10:24:32 +00:00
Dominic Clifton ec92a8e6ba Avoid unused variable warning for targets with no beeper. 2014-11-01 09:15:33 +00:00
Dominic Clifton 00e0bf806a Adding a compile to option to allow users to compile with serial port 1
and 2 defaults switched.

This is helpful if you fry a serial port.

Compile with `OPTIONS=SWAP_SERIAL_PORT_1_AND_2_DEFAULTS`.
2014-10-31 21:00:53 +00:00
Pierre-A 3592429ed5 RSSI_ADC configurable scale in CLI 2014-10-30 21:29:56 +01:00
Dominic Clifton 84384e61af Ensure control rate profiles get initialised correctly. 2014-10-30 00:22:37 +00:00
Dominic Clifton 00ca237886 Rename default_rateProfile_index to defaultRateProfileIndex. 2014-10-29 23:56:28 +00:00
Dominic Clifton ef7f5321da Add Profile OLED display page that shows the current profile and rate
profile.
2014-10-29 23:55:12 +00:00
Dominic Clifton 28f9fa629c Add rate profiles and inflight switching between them. See Profiles and
Inflight Adjustment documentation for details.
2014-10-29 23:36:34 +00:00
Dominic Clifton cac814923c Update RC Controls so that functions with different modes can be
applied.  The existing modes are 'step'.  A new mode is 'select'.

The other unit tests need fixing up so that appropriate code is compiled
as C and not C++ code.
2014-10-29 20:52:44 +00:00
Dominic Clifton e22b37026c Updating CC3D docs. 2014-10-29 19:48:43 +00:00
Dominic Clifton 8f80f86bc9 Reduce serial port memory usage.
The largest MSP command is 160 bytes.
2014-10-29 19:18:51 +00:00
Dominic Clifton 5a4035fa2f Latest binaries. 2014-10-29 11:15:08 +00:00
Dominic Clifton 45218357fa Narrow LED strip indicator deadband so that indicators are displayed for
smaller pitch/roll input movements.
2014-10-29 01:05:01 +00:00
Dominic Clifton d76a414985 Ensure each serial port has enough buffer space to write out the largest
MSP response.
2014-10-29 00:52:00 +00:00
Dominic Clifton 6dde141b66 CC3D - Correct the documentation. 2014-10-28 17:17:27 +00:00
Dominic Clifton af84800f21 Merge pull request #147 from Pierre-A/cc3d-updates-1
Update CC3D Softserial documentation
2014-10-28 16:24:36 +00:00
Dominic Clifton 3d7455d557 Fixed magAlign, reconfigureAlignment was being called before mag
detection.  Closes #101.
2014-10-28 16:09:44 +00:00
Dominic Clifton a65a937313 STM32F3 - Fix uartReconfigure. Closes #125. 2014-10-28 15:55:07 +00:00
Dominic Clifton c06fd78b83 Fix being unable to change port function of serial port during runtime.
Closes #144.

Thanks @frank26080115
2014-10-28 15:49:02 +00:00
Dominic Clifton 3f59f6ed8d Change the default scenario for serial port 2 to be 'UNUSED'. Fixes
#145.
2014-10-28 15:46:38 +00:00
Dominic Clifton 940552beb1 Fix incorrect CALL_COUNT_ITEM_COUNT value in rc_controls_unittest
preventing compilation via clang.
2014-10-28 15:45:03 +00:00
Pierre-A e9847075bb Update CC3D Softserial documentation 2014-10-28 16:19:39 +01:00
Dominic Clifton b67e1a0293 Merge pull request #142 from kjmoore/docs-tables
Documentation Cleanup
2014-10-28 09:02:52 +00:00
Kieran Moore 1377300481 Fixing spelling mistakes and using tables to make pin-outs easier to read 2014-10-27 00:37:56 +00:00
Kieran Moore dec12434ec Fixing Github MD formatting to show tables properly, including a bug which seems to stop 2 character columns from rendering 2014-10-27 00:23:14 +00:00
Dominic Clifton 1f54424cb0 Ignore system dependencies. Fixes #140 2014-10-26 10:01:51 +00:00
Dominic Clifton ba796b9ddb Merge pull request #138 from kjmoore/cmjcu-docs
CMJCU documentation, many thanks @kjmoore
2014-10-26 09:56:23 +00:00
Dominic Clifton 6e1c7ba184 Adding some developer documentation, work-in-progress. 2014-10-25 12:15:19 +01:00
Kieran Moore e1c77b33df Initial commit of the CMJCU documentation 2014-10-25 01:15:57 +01:00
Dominic Clifton 9fd1c82cf7 Tweak inflight adjustment documentation.
Thanks tobad.
2014-10-25 01:13:54 +01:00
Dominic Clifton 0daa3642ad Add documentation for inflight adjustments. 2014-10-25 00:57:12 +01:00