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
Dominic Clifton
7e9db61103
Fix buzzer durations and make it so that all buzzer durations are linked
...
so they never become out of alignment with each other.
2014-05-30 15:14:42 +01:00
Dominic Clifton
08d998e9a4
Fix editor mishap in battery warning activation code.
2014-05-30 15:12:30 +01:00
dongie
3c0f0f7ed4
fixed frsky temeletry gps output to match with what is actually expected. props to KC_703 for spotting this stuff.
2014-05-30 21:37:22 +09:00
dongie
d7c77c3fe2
formatting fixes and rename one of ADC channels.
2014-05-30 19:28:46 +09:00
Dominic Clifton
5b1b6fe98e
Latest binaries with autotune, I2C fixes and current meter support.
2014-05-30 11:13:06 +01:00
Dominic Clifton
0ec5c2cdca
Use debug outputs to show ADC readings.
2014-05-30 11:10:23 +01:00
Dominic Clifton
e79438d930
Fix editor mishap in current meter conflict resolution.
...
See e6fdfd3c32
2014-05-30 11:09:41 +01:00
Dominic Clifton
a8ae4a156b
Merge remote-tracking branch 'multiwii/master'
2014-05-30 10:47:53 +01:00
luggi
e6fdfd3c32
current sensor support added
...
also optimized the vbat code a bit
Conflicts:
src/config.c
src/drv_adc.c
src/drv_adc.h
src/mw.c
src/mw.h
src/sensors.c
src/serial_cli.c
2014-05-30 10:46:14 +01:00
dongie
4e3ab221ac
increased ADC sample time to 239.5 cycles (~10uS at 24MHz ADC clock).
2014-05-30 09:49:16 +01:00
dongie
a3476cf59c
Remove FY90Q support.
...
Conflicts:
Makefile
src/board.h
src/drivers/adc_fy90q.c
src/drivers/pwm_fy90q.c
src/drv_adc.h
src/sensors.c
src/startup/startup_stm32f10x_md_fy90q.s
2014-05-30 09:45:15 +01:00
dongie
0e80dbf025
reformat I2C driver and align comments. add timeout checking and move hardware reinit common code into separate function.
...
moved nvic priority group init into drv_system, where it belongs
Conflicts:
src/drivers/system_common.c
src/drv_i2c.c
2014-05-30 09:38:03 +01:00
dongie
31297de7fa
remove i2c driver function calls and directly read/write I2C->DR
...
Conflicts:
src/drivers/bus_i2c_stm32f10x.c
2014-05-30 09:29:43 +01:00
Dominic Clifton
4e7aa1b4b6
Merge remote-tracking branch 'origin/autotune'
2014-05-30 09:04:13 +01:00
Dominic Clifton
e083a3266d
Decreasing autotune max oscillation value since a value of 4 was found
...
to always cause P to increase.
2014-05-30 09:01:37 +01:00
dongie
a0fce3c449
Merge pull request #113 from luggi/Powermeter
...
Current sensor support added, with defaults for Allegro ACS758 current sensor.
2014-05-30 16:04:26 +09:00
luggi
5cc9750d12
current sensor support added
...
also optimized the vbat code a bit
2014-05-30 08:58:54 +02:00
dongie
d050c7df0c
fixed ADC initialization with skipped channels - spotted by Lux.
...
Also increased ADC sample time to 239.5 cycles (~10uS at 24MHz ADC clock).
2014-05-30 03:18:58 +02:00