Dominic Clifton
6610a91ce0
Optimize uart buffer counter incrementing.
2014-12-12 18:23:40 +00:00
Dominic Clifton
39f9b799d3
GPS - quick hack to parse the received GPS data and update the OLED
...
display in GPS passthough mode.
2014-12-12 17:04:33 +00: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
ad9a2d2833
Update serial port irq handlers so they avoid the % operator.
2014-12-12 16:23:44 +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
8345401ff2
GPS - Demystify some magic numbers.
2014-12-12 14:41:49 +00:00
Dominic Clifton
be1367059d
GPS - cleanup nagivation reset flag usage.
2014-12-11 18:02:12 +00:00
Dominic Clifton
0b23afec8e
GPS - adding a fixme regarding 'ap_mode' variable.
2014-12-11 17:47:55 +00:00
Dominic Clifton
78f7a35f4f
GPS - minor code readability improvements.
2014-12-11 17:20:29 +00:00
Dominic Clifton
2778ad0c5d
Fix gps error counter so that it is meaningful, it was being reset each
...
time the gps unit was reinitialised leading users to think there were no
GPS errors.
2014-12-11 16:31:14 +00:00
Dominic Clifton
80acc39a46
GPS page on the display to aid GPS outdoor testing.
2014-12-11 15:41:18 +00:00
Dominic Clifton
237ce4ba5b
Reset navigation if sat count is too low.
2014-12-11 15:40:14 +00:00
Dominic Clifton
a7e128e684
SPARKY - PWM output on PWM1-10.
2014-12-10 16:26:00 +00:00
Dominic Clifton
b3f74fb1a3
SPARKY - Use RX_PPM by default.
2014-12-10 15:01:54 +00:00
Dominic Clifton
6a5ed737f7
STM32F30x - Fix GPIO initialisation.
...
Closes #154
2014-12-10 12:48:20 +00:00
Nicholas Sherlock
5cc3ad3da7
New encoding for PID I terms which saves 2 bytes per frame
2014-12-10 15:35:36 +13:00
Dominic Clifton
334ff322f6
SPARKY - Update UART2 configuration.
...
UART2 RX working using SumD.
2014-12-09 16:29:59 +00:00
Dominic Clifton
d34d5ceef2
STM32F30x - Allow overriding of USARTx GPIO pins from target.h.
...
USART1 RX/TX now working on Sparky.
2014-12-09 14:58:56 +00:00
Dominic Clifton
b2529620f7
STM32F30x - Fix uart3 pinsource definitions
...
UART3 RX/TX working on sparky.
2014-12-09 14:39:48 +00:00
Nicholas Sherlock
e492aa6a39
Add (untested) support for recording Tricopter tail servo position
2014-12-09 17:27:56 +13:00
Dominic Clifton
27b7df2996
Fix comments in system startup files.
2014-12-09 03:18:11 +00:00
Dominic Clifton
6c96b8dd86
Support the Sparky board by peabody124 - work in progress, not flight
...
ready.
https://github.com/TauLabs/TauLabs/wiki/Sparky
http://buildandcrash.blogspot.co.uk/2013/05/sparky-testing-and-building-no-crashing.html
2014-12-09 03:12:38 +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
Dominic Clifton
e43348598a
Whitespace cleanup.
2014-12-09 03:12:36 +00:00
Dominic Clifton
693307d51d
STM32F30x - Add support for UART3 - untested.
2014-12-09 03:12:35 +00:00
Dominic Clifton
a4ec81450c
STM32F30x - Add support for I2C2.
2014-12-09 02:54:46 +00:00
Nicholas Sherlock
8c41772584
Add Blackbox 0.1.0
2014-12-08 22:06:57 +13:00
Dominic Clifton
0b92f74b80
Remove usage of feature() from rx driver code so that driver code does
...
not have a dependency on config.c.
2014-12-06 14:33:43 +00:00
Dominic Clifton
7356863939
Removing unnecessary volatile keyword.
2014-12-06 14:32:32 +00:00
Dominic Clifton
9165e11449
EUSTM32F103 - Add LED support.
2014-12-06 12:59:22 +00:00
Dominic Clifton
e802e2d032
Remove usage of feature() from pwm driver code so that driver code does
...
not have a dependency on config.c.
2014-12-06 11:39:31 +00:00
Dominic Clifton
d7e26980a8
Merge branch 'feature-oneshot125a' of https://github.com/nebbian/cleanflight into nebbian-feature-oneshot125a
2014-12-06 10:48:27 +00:00
Dominic Clifton
1cf9ea226d
Remove redundant comments from timer.c.
2014-12-05 14:17:50 +00:00
Ben Hitchcock
895d215265
Tightening up code inside atomic block, and whitespace changes (tabs to spaces)
2014-12-04 06:59:27 +08:00
Ben Hitchcock
8a9e51c779
Putting overflow code inside an atomic block, and style improvement (using predefined constant instead of raw number)
2014-12-02 06:11:40 +08:00
Dominic Clifton
d6012058a3
Fix sensor detection on old revision naze boards with MPU3050 (missing
...
#define). Fixes #134 .
2014-12-01 19:38:58 +00:00
Michael Jakob
ece3859f9d
Add comment regarding bind plug
2014-12-01 17:30:05 +01:00
Ben Hitchcock
e9aaff808e
Updates to the way that timers are forced to overflow in oneshot mode.
...
Now the current count value is saved, and then passed to the listeners. This _should_ mean that CC3D PPM might work this time.
2014-12-01 22:43:17 +08:00
Michael Jakob
a629646090
Update documentation,
...
Update Spektrum_bind.md
additional defines for hardware bind plug (AlienWii32)
2014-12-01 14:39:32 +01:00
Michael Jakob
17d1c6e610
Adding documentaion and fix
...
Board - AlienWii32.md
Spectrum bind.md
Adding Feature failsave
2014-11-30 11:07:41 +01:00
Ben Hitchcock
5096873ab1
Improvement to the way that timers are forced to overflow, which should allow PPM on CC3D to work properly.
2014-11-30 08:08:34 +08:00
Michael Jakob
e33513b6c8
Update motor_pwm_rate to 32000
2014-11-29 16:51:17 +01:00
Michael Jakob
a58353692e
AlienWii32 Spektrum bind integation
2014-11-29 16:21:03 +01:00
Ben Hitchcock
c0ed21a818
First attempt at getting CC3D PPM to work when oneshot is enabled.
...
I don't think that this will work, as we are manipulating the timer value to trick it into overflowing. Better would be to force an overflow a different way, that would preserve the current timer value. This would then give the proper value to the CC3D PPM routine, provided it was then divided by 8.
2014-11-29 22:54:27 +08:00
Ben Hitchcock
da35b3844c
Bugfix for when looptime is longer than timer size.
...
Previously, when a looptime of 8300 uS was chosen, the output would be unpredictable. Now the shots are fired only after every loop, not when the timer overflows.
2014-11-29 22:51:41 +08:00
Michael Jakob
910753121e
Updates and fixes
...
fix FEATURE_RX_SERIAL
2014-11-29 14:45:11 +01: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
Michael Jakob
c4646d7a77
AlienWii32 alternative defaults for NAZE target
...
Activate via OPTIONS="ALIENWII32" during make
2014-11-29 01:16:36 +01:00
Kyle Manna
5f2e79d1c7
autotune: Correct macro name in comments
...
* Update the comments to reflect the code.
* No functional change.
2014-11-26 10:13:29 -06:00
Kyle Manna
b49bdcd169
main: Remove duplicated includes
...
* Remove duplicate includes from 50391f2c
* No functional change.
2014-11-26 10:13:29 -06:00