Martin Budden
1c997abaaf
Moved function declarations out of main. Tidied drivers.
2016-08-02 15:11:35 +01:00
Martin Budden
3d8ee50934
Removed unnecesary #includes from drivers
2016-07-11 18:45:35 +01:00
Martin Budden
ea283ab98c
Converted tabs to spaces
2016-07-09 14:39:39 +01:00
blckmn
67d448d8ea
Improved Resource command output.
2016-07-09 17:03:16 +10:00
Martin Budden
97fe5afd6c
Converted tabs to spaces.
2016-06-27 19:26:02 +01:00
blckmn
deaeb23c84
fixed incompatible pointer types in softserial
2016-06-27 06:42:21 +10:00
blckmn
55a1876319
Renamed additional io to tag, and fixed issue identified by @martinbudden
2016-06-23 18:13:38 +10:00
blckmn
8b1cc05e1d
Updated timerHardware_t to drop pinsource, and use new IO tags.
2016-06-15 05:27:59 +10:00
Pierre-A
702ef4e798
initialise softSerial Rx to PullUp
2016-02-23 23:17:02 +01:00
Michael Hope
96306ff9ab
serial: add writeBuf() and implement for USB.
...
This lets USB send up to 32 bytes in a frame instead of 32 one byte
frames. Add a fallback for drivers that don't implement writeBuf().
Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:24 +01:00
borisbstyle
4b3ba927e9
Merge branch 'master' into betaflight
...
Conflicts:
src/main/blackbox/blackbox_io.c
src/main/drivers/serial_usb_vcp.c
src/main/flight/imu.c
src/main/mw.c
src/main/target/CC3D/target.h
2015-10-12 23:53:43 +02:00
Nicholas Sherlock
6e504ca52a
Ability to see how many Tx bytes are free in serial port buffer
2015-10-01 16:48:56 +13:00
Konstantin Sharlaimov (DigitalEntity)
45a4f11f92
Added #define for imu debug output (+16 squashed commit)
...
Squashed local commits:
from : e4265d4a13f63f82d5cf55eea2c091622f96660b
up to (inc): 72416dc74745fa8bae1aded79aa4b9ed0e389076
2015-09-19 14:50:53 +02:00
Dominic Clifton
11493cd01a
STM32F3 - Fix softserial RX.
2015-06-26 21:02:07 +01:00
Dominic Clifton
b0b1eaf9c7
Add first unit test for some code in serial.c. Fix compiler warnings in
...
other tests.
2015-04-01 14:12:24 +01:00
Nicholas Sherlock
344e8fbf04
Make serial port option checks consistent
2015-03-19 12:56:11 +13:00
Nicholas Sherlock
159f57f583
Add new serial port options field (inversion, stop bits, etc)
2015-03-19 12:56:11 +13:00
Petr Ledvina
3b20b74c00
Fixed original softserial code
...
Bit end timer must by shifted by half-bit period to startbit edge, so that next edges are in middle of bit interval. This behavior was masked with old timer code, but noise immunity was probably very low.
2014-11-11 12:38:57 +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
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
fd32ad6fcb
Use correct buffer size variable when checking for softserial waiting
...
bytes. Fixes #127 .
2014-10-21 13:41:51 +01: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
91c7407806
Cleanup CC3D softserial - it only has enough pins/timers for one port.
...
PR #124 incorrectly re-used the same timer hardware for the second port
which was bad.
2014-10-20 19:34:10 +01:00
Pierre-A
20c4dae7c2
SoftSerial port for CC3D
2014-10-19 11:20:55 +02: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
dc0f461c73
Update serial port handling for boards with only 2 ports.
2014-08-07 23:32:14 +01:00
Dominic Clifton
9a9ff9b1ad
Cleanup various compiler warnings that were appearing since the
...
additional compiler flags were added.
2014-08-01 20:02:10 +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
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
14448f4734
Merge branch 'naze32pro' - work in progress
...
Conflicts:
Makefile
2014-05-31 22:50:05 +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