Commit graph

2704 commits

Author SHA1 Message Date
Dominic Clifton
64a43c77ca Use the enum type for navigationMode_e in the GPS code. 2014-06-06 19:54:52 +01:00
dongie
f4a08baac3 Merge pull request #118 from treymarc/patch-2
Update mw.c
2014-06-06 19:54:26 +09:00
Trey Marc
ea3f4cc3e4 Update mw.c
do not include serial nor telemetry handler in cycletime calculation
2014-06-06 12:53:31 +02:00
Dominic Clifton
877e849093 Latest binary. 2014-06-05 09:46:23 +01:00
Dominic Clifton
f8bdc79a9f Fix CLI bug where incorrect variables would be set when similarly named
variables are used.

Previously the following was broken:

set option = 1
set option_extra = 2

Instead of setting 'option_extra' to two 'option' was set to 2 if
'option' appeared before 'option_extra' in the list of settings.
2014-06-05 09:27:41 +01:00
Dominic Clifton
e867af8c4b Correct project name in GPL notices. 2014-06-05 00:47:47 +01:00
Dominic Clifton
fab23debe8 Removing old FIXME comment from uartPort_t now that the structure it was
previously referring to has been cleaned up.
2014-06-04 23:02:03 +01:00
Dominic Clifton
63e16494bb Fix long-standing bug which prevented using UBLOX gps via DMA.
This was noticed when updating the UBLOX code in a commit from a couple
of days ago and Dilbert66 from #cleanflight tracked it down.
2014-06-04 23:00:31 +01:00
Dominic Clifton
6a72b86ccf Adding a GPL license notice to config.c. 2014-06-04 20:12:47 +01:00
Dominic Clifton
d718f5b9d6 Support configuring AUX 5 to 8.
The MSP is changed in a way that might provide some backwards
compatibility.  The first 4 channels are sent/read as before followed by
the next 4 channels.

If I client ignores extra data received it should be backwards
compatible.

Clients can looks for the new capability bit which indicates the MSP
protocol supports AUX 1-8.
2014-06-04 19:50:12 +01:00
Dominic Clifton
68f428d73a Merge remote-tracking branch 'multiwii/master' 2014-06-04 16:49:58 +01:00
Dominic Clifton
0bbcd6570f Updated source files to include the GPL v3 notices. Include a copy of
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
32622da0ab Continuation of extracting peripheral configuration into drivers. 2014-06-04 14:53:34 +01:00
Dominic Clifton
78ca635d26 Comment cleanup in F3 uart driver 2014-06-04 11:18:44 +01:00
Dominic Clifton
16528cf0d9 Move some clock initialisation code into the drivers. 2014-06-04 11:14:13 +01:00
dongie
d25564e26b Update README.md 2014-06-04 15:09:15 +09:00
Dominic Clifton
b07a284f4e Latest binaries. 2014-06-03 18:04:09 +01:00
Dominic Clifton
fabd376f41 Allow GPS SBAS mode to be configurable.
It was noticed that GPS startup time increased when the change was made
from using EGNOS by default to using AUTO by default.

The default is still AUTO but faster GPS startup times may be achieved
by telling the GPS receiver what region you are in.

This also removes more unfinished MTK gps provider support.
2014-06-03 13:38:41 +01:00
Dominic Clifton
09a1739ce6 Separate UBLOX GPS SBAS configuration from GPS init.
Extracted NMEA and UBLOX code from the GPS hardware init method into
separate methods.  Introduced a state for changing baud rate rather than
re-using state_position.
2014-06-03 13:09:45 +01:00
Dominic Clifton
0dc476a999 Allow all buad rates via VCP since baud rate doesn't matter for VCP. 2014-06-03 13:05:18 +01:00
Dominic Clifton
8f2da892a6 Extract led and buzzer hardware initialisation from system.c. 2014-06-02 19:57:49 +01:00
Dominic Clifton
d407a4d15e Start to break up drv/system.c to avoid #ifdef. 2014-06-02 18:43:47 +01:00
Dominic Clifton
c7cd7adee9 Move #ifdef'd code from platform.h into target.h for each target. 2014-06-02 18:36:31 +01:00
Dominic Clifton
7f027e7e24 Update makefile to use target specific files.
This is an alternative to #ifdef's everywhere which is getting out of
hand.

Confirmed that the VCP is working on the STM32F3Discovery board and
ChebuzzF3 variant.
2014-06-02 18:13:28 +01:00
Dominic Clifton
c84d03d24d Update makefile for non-NAZE32PRO targets. Enable VCP on
STM32F3DISCOVERY.
2014-06-02 13:16:40 +01:00
Dominic Clifton
d0d53ac95f NAZE32PRO - Update timer configuration. Work in progress. 2014-06-02 13:09:58 +01:00
Dominic Clifton
382356a09c STM32F30x - Fix USB VCP initialisation. 2014-06-02 11:10:19 +01:00
Dominic Clifton
e828dec9d0 STM32F30x - Ensure static constructors are called. 2014-06-02 02:24:33 +01:00
Dominic Clifton
3f8a6c0e20 Add VCP driver (work in progress) 2014-06-02 01:54:25 +01:00
Dominic Clifton
294f09bc91 Update F303 chip id. 2014-06-02 01:32:14 +01:00
Dominic Clifton
602b93e3bb Latest binaries 2014-06-01 19:46:06 +01:00
Dominic Clifton
b91538b44d Actually fix the editor mishap properly this time. 2014-06-01 19:36:45 +01:00
Dominic Clifton
3e0370ff09 Updating known issues. 2014-06-01 19:29:38 +01:00
Dominic Clifton
350b6a5864 Updating CLI commands for consistency. 2014-06-01 19:29:11 +01:00
Dominic Clifton
18046013a4 Decouple sticks processing code from main mw loops.
Decouple led ring driver from non-driver code.
2014-06-01 18:36:33 +01:00
Dominic Clifton
fd0b7cdf80 Remove unused vario feature and option. Move warning led code into
statusindicator.c/h
2014-06-01 17:20:01 +01:00
Dominic Clifton
4b437e8e08 Relocate battery code to sensors directory. 2014-06-01 16:58:16 +01:00
Dominic Clifton
3f7960849a Merge remote-tracking branch 'multiwii/master'
Conflicts:
	obj/baseflight.hex
	src/main/io/serial_msp.c
	src/mw.c
	src/mw.h
2014-06-01 16:54:54 +01:00
dongie
d2e40b555d Merge pull request #116 from luggi/Powermeter
fixed negative currents messing up the mAh counter
2014-06-01 22:39:59 +09:00
luggi
40392d06b8 fixed negative currents messing up the mAh counter
now there is no virtually limit for the mAh drawn counter.
The outpout is limited by the mwii serial protocol tough (~65Ah)
2014-06-01 15:38:17 +02:00
dongie
4928290d41 latest binary for recent source changes. fixed lockup w/PWM receivers 2014-06-01 22:19:37 +09:00
Dominic Clifton
1bf7d26d4e Merge remote-tracking branch 'multiwii/master' 2014-05-31 23:30:35 +01:00
Dominic Clifton
805c9b4251 Update Makefile to place .hex files in 'obj' instead of 'obj/main'.
Latest naze binary.

Removing other binaries, git repo isn't really the place to store
binaries and they keep getting in the way.  This is will be kept here
until the configurator is updated.
2014-05-31 23:27:09 +01:00
Dominic Clifton
83d4e1e3fa Refactor FrSky GPS coordinate to use a structure since the two arguments
are always used together.

This also improves code readability by replacing tmp1/tmp2 with a well
named variable.
2014-05-31 23:18:07 +01:00
Dominic Clifton
a207774e10 Merge branch 'Crashpilot1000-master' 2014-05-31 23:10:03 +01:00
Dominic Clifton
b5f2a007d0 Merge branch 'master' of github.com:Crashpilot1000/cleanflight into Crashpilot1000-master 2014-05-31 23:09:51 +01:00
Dominic Clifton
14448f4734 Merge branch 'naze32pro' - work in progress
Conflicts:
	Makefile
2014-05-31 22:50:05 +01:00
Dominic Clifton
d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00
Dominic Clifton
fb9e3a2358 Latest binaries. 2014-05-30 15:56:41 +01:00
Dominic Clifton
3a537d8ef9 Align F1 and F3 ADC code. 2014-05-30 15:15:29 +01:00