Nicholas Sherlock
1b1a285b4a
Syncing with Cleanflight upstream
2014-12-22 23:23:26 +13:00
Dominic Clifton
183c5f8e16
Add MPU9150 mag support and mag autodetection. Add AK8975 mag driver.
...
Note: not working on the sparky, MPU9150 needs passthough enabling but
when enabled the mag and gyro won't ack on the default addresses. Needs
further investigation.
2014-12-21 23:40:48 +00:00
Dominic Clifton
13305dd2e4
Disable mixer configuration on CJMCU to save flash size.
2014-12-21 23:40:48 +00:00
Dominic Clifton
d605ded161
Adding ATAIL support.
...
See https://github.com/multiwii/baseflight/pull/192
2014-12-21 14:58:46 +00:00
Dominic Clifton
367eb79bd0
Add battery warning beeper. Update MSP_MISC/MSP_SET_MISC.
...
Note the old beeper was essentially 'battery critical'.
2014-12-19 22:16:47 +00:00
Nicholas Sherlock
c85a172370
Merge remote-tracking branch 'upstream/master'
2014-12-18 18:17:59 +13:00
Dominic Clifton
78d4f24ad2
Various cleanups for Spektrum binding support.
2014-12-18 00:50:30 +00:00
Michael Jakob
c80090f39f
Spektrum Satelitte bind code ported from Baseflight
...
includes support for a hardware bind plug (PB5 pin 41)
Activate via OPTIONS="HARDWARE_BIND_PLUG" during make
2014-12-17 23:15:27 +00:00
Nicholas Sherlock
ce5d64f653
Firmware version 0.1.4
...
Add ability to reduce recorded data rate
Update struct names to conform to code style guidelines
2014-12-17 17:16:17 +13:00
Dominic Clifton
1d5c2fb13e
GPS - fix ubox maximum packet size comparisons. Increase UBlox buffer
...
size to work with Glonass MSG-SVINFO packets. Skip data from packets
that are too large to process without attempting to process a large
payout as packet data. Ignore GPS presence check when enabling
passthrough mode so that it is possible to configure a GPS unit via the
FC without the GPS unit actually having communicated to the FC first.
2014-12-12 16:32:26 +00:00
Dominic Clifton
6ce288063e
GPS - Add packet logging to the OLED display. Allow autobauding to be
...
enabled/disabled via cli (disabled by default now). Fix missing rate
configuration for UBLOX SVINFO which would have resulted in missing
satallite counts.
2014-12-12 14:43:59 +00:00
Dominic Clifton
fed6df275f
Add MPU9150 driver.
...
This is a almost a complete clone of the 6050 - needs cleanup and
de-duplication.
2014-12-09 03:12:37 +00:00
Nicholas Sherlock
8c41772584
Add Blackbox 0.1.0
2014-12-08 22:06:57 +13:00
Ben Hitchcock
94c5573c39
Allowing oneshot125 functionality to work on a Naze board.
...
This code has been flight tested, but will have problems on a CC3D board, and also when the looptime is longer than 8200 uS.
2014-11-29 14:06:35 +08:00
Petr Ledvina
57c308538f
Whitespace cleanup
...
Misplaced whitespace fixed, no functional changes
2014-11-24 21:39:25 +01:00
Dominic Clifton
f5a0f9d3b2
Update RX & Battery OLED pages.
...
RX page shows up to 14 channels.
Battery page shows current and capacity information.
2014-11-13 01:29:07 +00:00
Frank Zhao
0000d3e65e
added smartport telemetry
...
Conflicts:
src/main/telemetry/telemetry.h
2014-11-12 00:11:13 +00:00
dongie
f42d603b12
Fixing acc_hardware in cli to the new supported sensors range.
...
Conflicts:
obj/baseflight.hex
src/cli.c
2014-11-08 02:06:06 +00:00
Dominic Clifton
8ed45bce36
cli exit
command now reboots without saving.
...
This also prevents excessive wear to the eeprom/flash and makes it the
difference between `save` obvious.
Fixes #146
2014-11-08 01:58:35 +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
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
Pierre-A
3592429ed5
RSSI_ADC configurable scale in CLI
2014-10-30 21:29:56 +01: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
a406cb6f96
reorder aux/adjrange commands, commands must be alphabetically sorted
...
due to the command-lookup code.
2014-10-24 21:30:12 +01:00
Dominic Clifton
066c814a8a
Update adjrange
command to take an 'adjustment index/slot'. Apply
...
adjustment ranges to adjustment slots when channel is within range.
example:
```
adjrange 0 0 0 900 1700 0 2
adjrange 1 0 0 1700 2100 1 2
```
explained:
* configure adjrange 0 to use adjustment slot 1 (0) so that when aux1
(0) in the range 900-1700 then do nothing when aux 3 (2) is in any
position.
* configure adjrange 1 to use adjustment slot 1 (0) so that when aux1
(0) in the range 1700-2100 then do use adjustment 1 (rc rate) when aux 3
(2) is in the appropriate position.
Without the entire range of aux1 being defined there is nothing that
would stop aux 3 adjusting the rc rate once aux 1 wasn't in the higher
range.
There are 4 adjustment slots and 12 adjustment ranges.
Adjustment slots and adjustment ranges can use the same aux channel.
e.g.
`adjrange 2 1 0 900 2100 1 3`
* configure adjrange 2 to use adjustment slot 2 (1) so that when aux4
(3) in the range 900-2100 then use adjustment 1 (rc rate) when aux 4 (3)
is in the appropriate position.
2014-10-24 20:49:00 +01:00
Dominic Clifton
bd39445be8
Add cli command to configure adjustment ranges.
...
e.g. `adjrange 0 0 1700 2100 1 2`
set adjustment range 0, which applies to aux channel 0 (aux1) when range
is between 1700 and 2100 then apply function 1 (rc rate) to aux channel
2 (aux3)
2014-10-24 19:51:40 +01:00
Dominic Clifton
18abad5dd7
Extract range definition so it can be reused.
2014-10-24 18:57:06 +01:00
Pierre-A
20c4dae7c2
SoftSerial port for CC3D
2014-10-19 11:20:55 +02:00
Dominic Clifton
1b47d3cbae
Clean up pull request #108 from @Airmamaf.
2014-10-18 15:52:04 +01:00
Dominic Clifton
1c501272ab
Merge branch 'airmamaf' of github.com:airmamaf/cleanflight into airmamaf-airmamaf
2014-10-18 15:06:42 +01:00
Dominic Clifton
596d798732
Add MSP_API_VERSION command. Added MSP development guidelines. Define
...
board identifiers for all cleanflight targets.
2014-10-17 22:34:15 +01:00
Dominic Clifton
6f3aa6fb86
Add extra MSP commands to allow settings to be made via a GUI in
...
addition to setting via the CLI.
Note: MSP_CONFIG from baseflight
bc68d89983d762d35cc1cf5e3fa0c2cf03287b70 will not be supported because
more specific commands exist in cleanflight.
MSP_MISC and MSP_CONFIG are good examples of single responsibility
violations.
2014-10-17 01:33:47 +01:00
Dominic Clifton
da51b5c479
Add MPU6500 SPI driver. Move sensor initialisation defines into target
...
specific headers.
2014-10-14 00:22:54 +01:00
Dominic Clifton
738c807e1d
Fix setting of upper limit for mode ranges in cli.
2014-10-12 19:49:31 +01:00
Dominic Clifton
b0eab0cc9e
Update the cli AUX command to take range parameters - see docs/Modes.md
2014-10-12 19:32:55 +01:00
Dominic Clifton
c0fd0c1f33
Replace profile.activate and rcOptions with
...
profile.modeActivationCondition and rcModeActivationMask.
Implementation of using and setting modeActivationConditions is missing.
2014-10-12 10:40:38 +01:00
Airmamaf
9b84516344
FrSky telemetry update
2014-10-08 16:28:26 +02:00
Dominic Clifton
107a3425cf
Updating unit test to verify expected values with the new maximum
...
vbatscale value. See #104 .
2014-10-07 21:12:04 +01:00
airmamaf
720486a4de
Update serial_cli.c
...
When using a voltage sensor instead of direct connection for voltage monitoring, vbat_scale max limit is too low. It should be raised to a value greater than 200 (250 or more)
2014-10-03 09:15:48 +02:00
Dominic Clifton
35280abfed
Allow disabling of I2C for targets that do not use it.
2014-09-26 01:32:57 +01:00
Dominic Clifton
6f05a5181b
Insert missing space into version message.
2014-09-26 01:03:20 +01:00
Dominic Clifton
c898ca4634
OLED Display - Add two pages: RX info and Welcome.
...
The RX info page shows channel letters and bar graphs for the first 8
channels.
The Welcome page shows the target and cleanflight git revision.
2014-09-21 05:09:01 +01:00
Dominic Clifton
da485119f7
Update the cli dump
command and profile commands so that it shows the
...
profile being dumped such that it can be copied pasted as commands.
2014-09-20 12:40:19 +01:00
Dominic Clifton
0cde910b75
Fix unused led strip method compiler warnings for CJMCU target.
2014-09-20 12:20:24 +01:00
Dominic Clifton
72eac8048a
Allow colors to be configurable via the cli.
...
color x h,s,v
x = 0-15
h = 0-359
s = 0-255
v = 0-255
2014-09-19 00:08:40 +01:00
Dominic Clifton
545980c14a
Move colors from ram to master config. Initialise colors only when
...
config is reset to defaults.
2014-09-18 22:53:12 +01:00