Commit Graph

1581 Commits

Author SHA1 Message Date
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
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
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
Dominic Clifton 5794105dff Adding latest binaries with ONESHOT125 support. 2014-12-07 23:49:12 +00:00
Dominic Clifton 227b89effc Documenting some controls. 2014-12-06 16:41:30 +00:00
Dominic Clifton b2d02e2a6d CC3D - updating documentation of pinouts for when in RX_PARALLEL_PWM is
enabled.
2014-12-06 16:13:14 +00: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 7f207c1f7f Merge branch 'nebbian-feature-oneshot125a' 2014-12-06 12:57:08 +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 d05428ff07 Adding documentation page for using Oneshot125 2014-12-05 13:55:35 +08:00
Dominic Clifton 5c920d58cc Merge pull request #198 from Akfreak/patch-1
Update Buzzer.md
2014-12-04 10:40:40 +00:00
Akfreak f3710c58ff Update Buzzer.md
I added information to help anyone who runs into the same problem I did, the buzzer not functioning after trying multiple devices.  I researched and saw you need to have 5v power to the board. The ESC connection is a simple place to power the board when working on the flight controller on a bench. This allows you to use the buzzer for conformations.  

Please see added text and link to a Radio Shack (local US electronics retailer) buzzer.
2014-12-04 02:00:23 -08:00
Dominic Clifton 7c4830d411 Adding example of MSP on two ports to docs. 2014-12-03 23:33:58 +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 f578cec4e0 Latest binaries. 2014-12-01 21:24:41 +00:00
Dominic Clifton 7c80d2d262 Merge pull request #195 from MaxWinterstein/master
Update LedStrip.md
2014-12-01 20:00:40 +00:00
Max Winterstein 2eba361671 Update LedStrip.md
Adafruit NeoPixel Stick - tested and confirmed that is is working. Changed description to power consumption.
2014-12-01 20:49:32 +01: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
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
Dominic Clifton 7596e1d2ca Documentation update 2014-11-30 23:37:03 +00: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
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
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
Dominic Clifton f5a579de14 Merge pull request #188 from kylemanna/docs
docs: Reference Adafruit NeoPixels for LED Strip
2014-11-26 18:17:44 +00:00
Kyle Manna d1ac8465b2 docs: Reference Adafruit NeoPixels for LED Strip
* Initial testing with NeoPixel Jewel 7s.
2014-11-26 11:43:16 -06:00
Dominic Clifton d89e8dc9a9 Merge pull request #187 from kylemanna/cleanup
Various minor cleanups.  Thanks @Kylemanna
2014-11-26 16:35:25 +00: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
Kyle Manna c806046181 perms: Remove execute bit on source files
* Remove the execute bit on source files.
* No functional change.
2014-11-26 10:13:29 -06:00
Dominic Clifton 4261185068 Merge pull request #186 from cleanflight/cc3d-mpu6000-detection-fix
CC3D - Attempt MPU6000 SPI detection multiple times.
2014-11-26 14:56:50 +00:00
Dominic Clifton d41e8631ee Disable and cleanup some debug output. 2014-11-26 00:28:53 +00:00
Dominic Clifton e454e44b1e CC3D - Attempt MPU6000 SPI detection multiple times.
On two CC3D boards tested prior to this fix the mpu6000ReadRegister call
for the MPU6000_WHOAMI would sometimes fail on code boot and sometimes
on warm boot, randomly.  

The reset added in 4db1d58aaf helps but
didn't fix detection for good.
2014-11-25 23:36:37 +00:00
Dominic Clifton 9a9c789c69 Latest CC3D binaries 2014-11-25 22:42:07 +00:00
Dominic Clifton 9b1837c021 Merge pull request #183 from ledvinap/cleanup-whitespace
Whitespace cleanup
2014-11-25 01:29:37 +00:00
Petr Ledvina 57c308538f Whitespace cleanup
Misplaced whitespace fixed, no functional changes
2014-11-24 21:39:25 +01:00