Dominic Clifton
1bf7d26d4e
Merge remote-tracking branch 'multiwii/master'
11 years ago
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.
11 years ago
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.
11 years ago
Dominic Clifton
a207774e10
Merge branch 'Crashpilot1000-master'
11 years ago
Dominic Clifton
b5f2a007d0
Merge branch 'master' of github.com:Crashpilot1000/cleanflight into Crashpilot1000-master
11 years ago
Dominic Clifton
14448f4734
Merge branch 'naze32pro' - work in progress
Conflicts:
Makefile
11 years ago
Dominic Clifton
d19a5e7046
Cleanup project structure. Update unit test Makefile to place object
files in obj/test
11 years ago
Dominic Clifton
fb9e3a2358
Latest binaries.
11 years ago
Dominic Clifton
3a537d8ef9
Align F1 and F3 ADC code.
11 years ago
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.
11 years ago
Dominic Clifton
08d998e9a4
Fix editor mishap in battery warning activation code.
11 years ago
dongie
3c0f0f7ed4
fixed frsky temeletry gps output to match with what is actually expected. props to KC_703 for spotting this stuff.
11 years ago
dongie
d7c77c3fe2
formatting fixes and rename one of ADC channels.
11 years ago
Dominic Clifton
5b1b6fe98e
Latest binaries with autotune, I2C fixes and current meter support.
11 years ago
Dominic Clifton
0ec5c2cdca
Use debug outputs to show ADC readings.
11 years ago
Dominic Clifton
e79438d930
Fix editor mishap in current meter conflict resolution.
See e6fdfd3c32
11 years ago
Dominic Clifton
a8ae4a156b
Merge remote-tracking branch 'multiwii/master'
11 years ago
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
11 years ago
dongie
4e3ab221ac
increased ADC sample time to 239.5 cycles (~10uS at 24MHz ADC clock).
11 years ago
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
11 years ago
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
11 years ago
dongie
31297de7fa
remove i2c driver function calls and directly read/write I2C->DR
Conflicts:
src/drivers/bus_i2c_stm32f10x.c
11 years ago
Dominic Clifton
4e7aa1b4b6
Merge remote-tracking branch 'origin/autotune'
11 years ago
Dominic Clifton
e083a3266d
Decreasing autotune max oscillation value since a value of 4 was found
to always cause P to increase.
11 years ago
dongie
a0fce3c449
Merge pull request #113 from luggi/Powermeter
Current sensor support added, with defaults for Allegro ACS758 current sensor.
11 years ago
luggi
5cc9750d12
current sensor support added
also optimized the vbat code a bit
11 years ago
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).
11 years ago
Crashpilot1000
65e4d89d44
Update telemetry_frsky.c
Correct Frsky Gps output format DDDMM.MMMM
11 years ago
dongie
3d39ece50f
Remove FY90Q support. Dead hardware, not even available anymore, and doesn't offer anything over already cheap acroafro.
11 years ago
dongie
8b6ff25bdb
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
11 years ago
dongie
61f18a122d
remove i2c driver function calls and directly read/write I2C->DR
11 years ago
Dominic Clifton
bbfebc5de9
Updating HoTT GPS Altitude code to match spec.
Unit test added.
11 years ago
Dominic Clifton
79a90b09ef
Merge remote-tracking branch 'multiwii/master'
Conflicts:
src/board.h
src/drv_timer.c
src/mw.c
src/sensors.c
11 years ago
Dominic Clifton
5913266ce0
Update autotune comments, defaults and functional description. Add
reference to sources.
11 years ago
Dominic Clifton
7ec0df8abe
Merge branch 'master' into autotune
for some union members. remove type
prefix from a typedef.
Conflicts:
obj/cleanflight_OLIMEXINO.hex
src/flight_common.c
Conflicts:
obj/cleanflight_OLIMEXINO.hex
src/flight_common.c
11 years ago
Dominic Clifton
b712e8e325
Updating NAZE binary with autotune eeprom write enable.
11 years ago
Dominic Clifton
695c6a0628
Enable writing to EEPROM when using the autotune switch after landing.
11 years ago
Dominic Clifton
4a23491d49
Introduce better naming consistency for some union members. remove type
prefix from a typedef.
Conflicts:
obj/cleanflight_OLIMEXINO.hex
src/flight_common.c
11 years ago
Dominic Clifton
dcbb82c845
Update Development.md
11 years ago
Dominic Clifton
3b347fa839
Introduce better naming consistency for some union members. remove type
prefix from a typedef.
11 years ago
Dominic Clifton
bd3d853b61
Reorder code to remove not operator and improve readability.
11 years ago
Dominic Clifton
80d4f80f7d
Update Development.md
11 years ago
Dominic Clifton
d0ec7e25ce
Merge branch 'master' into autotune
Conflicts:
obj/cleanflight_CHEBUZZF3.hex
obj/cleanflight_NAZE.hex
obj/cleanflight_OLIMEXINO.hex
11 years ago
dongie
88036ec551
remove unnecessary averaging of PWM/PPM rc input
11 years ago
dongie
0028fa2ce4
re-enable hardware i2c; update NVIC priority to use define from CMSIS instead of magic 0x500 number
11 years ago
Dominic Clifton
342aabeb5d
Latest binaries with autotune.
11 years ago
Dominic Clifton
0acc4ff496
Latest binaries with RSSI ADC.
11 years ago
Dominic Clifton
5484e5fddd
Replace PWM RSSI with ADC RSSI.
The primary reason is to support the D4R-II with it's much faster PWM
frequency. The PWM RSSI code could not keep up, and since there are no
timers free for using capture compare of PWM signals in hardware one
solution is to use the ADC at a slow sample rate.
RC2 is used as before and it expects a signal between 0 and 3.3v. An
inline smoothing capacitor may help.
This commit also removes the cli command adc_power_channel since the
reading was never actually exposed anywhere.
11 years ago
Dominic Clifton
bc84f6d5d4
Update autotune so it now actually changes the pid values.
This commit also fixes a few missing const keywords after the map file
was inspected.
11 years ago
Dominic Clifton
2cf686b36b
If auto tune was used, and the user landed the aircraft, then before it
is used again it must be reset.
Otherwise the first flip of the switch would start the next phase which
could mean that PID settings were restored.
11 years ago