Dominic Clifton
68abdd288d
SPRacingF3 - Fix interrupt handler defintions.
2015-06-26 14:43:29 +01:00
Michael Hope
5c6760fd82
various: tidy up various things found when building with a C++ compiler.
...
Remove duplicate consts.
Pull in the include files where functions and variables are declared.
Mark file local but duplicated variables as static.
Mark some variable declarations as extern.
Remove duplicated variable definition.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-04 22:32:31 +02:00
Dominic Clifton
ee1d5a9a38
SPRacingF3 - Swapping RC3/4 for production boards.
2015-05-06 21:39:16 +01:00
Dominic Clifton
01df0b65c2
Fix typos in comments.
2015-03-28 19:16:19 +00:00
Petr Ledvina
68305a3929
Fix timer period on STM32F303 TIM2
...
TIM2 is 32bit itmer, but we want 16bit period ...
2015-03-26 18:17:21 +01:00
Petr Ledvina
a125228d1f
Fix PPM in TIM1
2015-03-26 18:07:18 +01:00
Michael Jakob
396731a428
Intitial support for ALIENWIIF3 target
2015-01-26 18:33:47 +01:00
Dominic Clifton
650389afb6
Disable ADC initialisation on CJMCU. Replace MASSIVEF3 with SPRACINGF3.
...
Conditional VCP code inclusion. Other minor F1/F3 cleanups.
2015-01-20 23:33:03 +01:00
Dominic Clifton
a7e128e684
SPARKY - PWM output on PWM1-10.
2014-12-10 16:26:00 +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
7356863939
Removing unnecessary volatile keyword.
2014-12-06 14:32:32 +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
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
Petr Ledvina
57c308538f
Whitespace cleanup
...
Misplaced whitespace fixed, no functional changes
2014-11-24 21:39:25 +01:00
Dominic Clifton
249b09abce
Merge pull request #159 from Pierre-A/cc3d-updates-pa
...
RSSI monitoring on CC3D
2014-11-22 01:11:30 +00:00
Petr Ledvina
3ee60ef857
Merge remote-tracking branch 'refs/remotes/upstream/master' into feature-timer
2014-11-11 12:50:11 +01:00
Dominic Clifton
d0f622bb81
PORT103R - Initial support for the Waveshare Port 103R development
...
board.
2014-11-10 00:53:48 +01:00
Petr Ledvina
98c0d0b5dd
Code cleanup / fixed missing TIM8_UP handler
2014-11-08 15:25:16 +01:00
Petr Ledvina
aa7f5c4a1e
New timer implementation
...
This is first part of new softserial code. Main timer code is changed, changes to rest of code are kept to minimum.
macros for BASEPRI based synchronization are added to project (atomic.h)
TIMER_PERIOD fixed in pwm_rx.c
2014-11-07 15:38:26 +01:00
Pierre-A
caf81ad640
RSSI monitoring on CC3D
2014-11-07 09:23:54 +01:00
Petr Ledvina
bf50cbb1a8
NVIC priority change
...
Use 'better' macros to handle priority. This simplifies passing priority to function and new ATOMIC_BLOCK macro
2014-11-04 16:23:21 +01:00
Petr Ledvina
e686b4504e
Centralized NVIC priorities
...
- NVIC priorities are moved to separate file, all values are replaced wit symbolic names. Priorities should be the same.
- tiny change in DMA initialization
2014-10-23 16:48:35 +02:00
Dominic Clifton
2d8f65448d
Cleanup Softserial/LedStrip timer clash checking. Move definitions of
...
led strip timer and softserial pwm ports/timers into target specific
files.
2014-10-20 21:44:55 +01:00
Dominic Clifton
be7239ecac
NAZE32PRO - Fix compilation problems.
2014-10-06 23:35:08 +01:00
Dominic Clifton
a12cf4ae59
STM32F3 - Add a GPIO alternate function configuration to timer mappings.
2014-09-26 02:01:21 +01:00
Dominic Clifton
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00
Dominic Clifton
3d382ea4c7
EUSTM32F103RC - First cut of support for this High-Density STM32F103
...
series development board.
These boards can be picked up for less than $11, coupled with a 10DOF
sensor board they make a great development platform or cheap expandable
FC.
Pretty much all pins are available to be used, unlike on the less
capable and more expensive OLIMEXINO.
2014-09-03 01:38:27 +01:00
Dominic Clifton
193c4db508
making timer lists const.
2014-08-01 21:17:34 +01:00
Dominic Clifton
a5ec1355d4
CC3D - Support PPM input on IN_S1.
...
This required timer overflow events to be used in the calculation of PPM
channel data.
CC3D tested, other targets may be unstable as a result. Needs further
testing.
2014-07-22 21:29:00 +01:00
Dominic Clifton
053a28dc62
CC3D - Hack to enable a simple quad configuration using PPM input to be
...
tested.
PPM and motor outputs conflict since they use the same timers so this
just avoids conflicts.
2014-07-17 23:52:49 +01:00
Dominic Clifton
1fb75890d5
Initial OpenPilot CC3D commit.
2014-07-16 01:06:09 +01:00
Dominic Clifton
e867af8c4b
Correct project name in GPL notices.
2014-06-05 00:47:47 +01:00
Dominic Clifton
0bbcd6570f
Updated source files to include the GPL v3 notices. Include a copy of
...
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
32622da0ab
Continuation of extracting peripheral configuration into drivers.
2014-06-04 14:53:34 +01:00
Dominic Clifton
d0d53ac95f
NAZE32PRO - Update timer configuration. Work in progress.
2014-06-02 13:09:58 +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