1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00
Commit graph

510 commits

Author SHA1 Message Date
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
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
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
dongie
3d39ece50f Remove FY90Q support. Dead hardware, not even available anymore, and doesn't offer anything over already cheap acroafro. 2014-05-29 11:38:20 +09:00
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
2014-05-29 11:07:52 +09:00
dongie
61f18a122d remove i2c driver function calls and directly read/write I2C->DR 2014-05-29 09:28:09 +09:00
dongie
88036ec551 remove unnecessary averaging of PWM/PPM rc input 2014-05-28 17:30:55 +09:00
dongie
0028fa2ce4 re-enable hardware i2c; update NVIC priority to use define from CMSIS instead of magic 0x500 number 2014-05-28 17:29:06 +09:00
dongie
09b7268ec1 hardware divider supports up to 8S, make it so in the code as well. 2014-05-26 20:24:14 +09:00
dongie
b32cc09e12 move code around to fix some gcc error that doesn't occur with real compilers 2014-05-21 09:04:07 +09:00
dongie
f9760bd70e Cleanup EEPROM writing 2014-05-20 21:46:20 +09:00
dongie
bd745f10c1 reverting to old build until i2c issues resolved 2014-05-20 09:45:07 +09:00
dongie
b7fce19ac0 Enable software and disable hardware I2C driver.
Software one has been tested and works, hardware causes issues with new PWM code.
2014-05-19 13:27:47 +09:00
dongie
3131bd63f1 added fail check in hardware i2c driver. this doesn't solve the fact that it sucks. needs to be rewritten w/o IRQ 2014-05-19 13:23:02 +09:00
dongie
825941c064 correcting flash size in linker script, explaining what the last 2k are used for, and correcting F103 part number 2014-05-15 20:11:16 +09:00
dongie
17742315fa Merge pull request #95 from kh4/master
Enable input filtering on input capture timers.
2014-05-10 07:58:50 +09:00
dongie
a848ccc129 Merge pull request #102 from fnurgel/fnurgel/sbus_rx_failsafe_enable
Use rx failsafe when baseflight failsafe is not enabled for s.bus
2014-05-10 07:58:03 +09:00
dongie
399cc784be building current hex 2014-05-08 22:11:12 +09:00
dongie
509f6ae75e moved BMP085/BMP180 init before MS5611 - reports of calibration data inside BMP180 passing MS5611 PROM CRC could trigger false detection 2014-05-08 22:03:22 +09:00
dongie
842380bc31 check data returned from rcReadRawFunc() for being valid 2014-05-08 21:58:26 +09:00
dongie
a667eda98e Merge pull request #106 from treymarc/format2
format code properly
2014-05-08 09:40:29 +09:00
treymarc
1f293795e7 format code properly
match the comment from pullrequest about spacing
remains : some hand alignment for comment and wrong /** */ usage.
2014-05-08 00:36:19 +00:00
Mikael Blomqvist
69f420ca3e When FEATURE_FAILSAFE is not enabled, always read the channels from the
s.bus rx (otherwise rx failsafe will not work)
2014-05-04 22:20:25 +02:00
dongie
ac4835ef67 Merge pull request #101 from luggi/althold-flipable
make flipping the quad safe with althold engaged
2014-05-04 22:50:50 +09:00
luggi
495c6b8f73 make flipping the quad safe with althold engaged
this should stop the copter from accelerating downwards, when upside
down with althold enabled.
2014-05-04 15:46:38 +02:00
dongie
c1fcdabdc1 rearranged startup / sensor detection for production testing. moved dead gyro endless loop out of the way. 2014-05-02 18:27:23 +09:00
dongie
2d248676f5 slight refactoring of PPM/PWM failsafe to make it actually work and honor failsafeThreshold value. 2014-05-02 16:12:31 +09:00
dongie
cce4d4975d moved some of init logic around to get sensors + other important hardware checked first; added dummy implementation of production test for future use, outputting debug info over PB6 (USART1_TX remap) 2014-05-01 19:05:13 +09:00
dongie
be5896f5b3 updated ADC driver to use more of available inputs, as well as made input selection more sane 2014-05-01 19:03:58 +09:00
dongie
fd4bb1eb1c adding rxmsp to uvision project 2014-05-01 12:37:20 +09:00
dongie
ef0c28ae0a Merge pull request #99 from treymarc/serialrx_msp
Serialrx msp
2014-05-01 12:33:44 +09:00
dongie
98bd9c5cda support 1S battery for voltage monitoring 2014-05-01 12:24:48 +09:00
treymarc
9d15009ad3 check frameComplete 2014-05-01 05:22:06 +02:00
dongie
25ec04763b add support for GPIO remapping (copied from stm32f_gpio.c) 2014-05-01 12:10:33 +09:00
treymarc
ed46b4e4ac add serial_rx msp 2014-05-01 05:06:36 +02:00
dongie
8a5f424421 building hex for gps initialization fix 2014-04-30 00:34:16 +09:00
dongie
2c9849cd33 Merge pull request #97 from DTFUHF/master
Set SBAS mode in GPS for worldwide use instead of exclusively European u...
2014-04-30 00:32:00 +09:00
DTF UHF
5393d83e4d Set SBAS mode in GPS for worldwide use instead of exclusively European use 2014-04-29 11:23:49 -04:00
kh4
cf780bbad6 Enable input filtering on input capture timers. 2014-04-27 22:37:45 +03:00
dongie
fdddb841a4 Merge pull request #93 from hydra/3d-flight-midrc-fix
BUG FIX - Fixes 3d flight mixer so that it uses midrc
2014-04-24 20:12:01 +09:00
Dominic Clifton
e4cf3d941a BUG FIX - Fixes 3d flight mixer so that it uses midrc
Previously it was using a hardcoded value of 1500.

Without this commit it would mean that any midrc configuration was not
being applied to 3d flight.
2014-04-24 11:23:57 +01:00
dongie
5a05de5da7 fixing some typos and inconsistencies in cli/set variable naming. 2014-04-23 09:53:05 +09:00
dongie
b07ca4b4a1 building hex for recent changes; including EMF avoidance. 2014-04-21 19:49:29 +09:00
dongie
9f107545e2 Merge pull request #78 from schugabe/overclock
Added overclock feature
2014-04-21 19:47:11 +09:00
dongie
63aff7566d Merge pull request #89 from treymarc/bf/msp_write_reboot
Bf/msp write reboot
2014-04-19 09:11:23 +09:00