Dominic Clifton
916aa60254
STM32F3 - Support hardware serial inversion.
...
Tested on the Sparky board with an FrSky X4RSB without external hardware
inverter.
2014-12-26 12:16:24 +00:00
Dominic Clifton
e8dbb77db5
UART1 - Fix interrupt race condition which resulted in UART randomly
...
stopping transmission of data.
2014-12-13 19:45:02 +00:00
Dominic Clifton
ea9633f2b1
Minor usart code readability improvement.
2014-12-13 18:05:22 +00:00
Dominic Clifton
6d1b0cec40
USART fixes based on feedback from @ledvinap.
2014-12-13 11:38:01 +00:00
Dominic Clifton
9b81dea320
Fix USART total bytes waiting when tx/rx buffer sizes are not equal.
...
Avoid using % operator. Allow buffer sizes that are not powers of two.
2014-12-13 03:29:24 +00:00
Petr Ledvina
57c308538f
Whitespace cleanup
...
Misplaced whitespace fixed, no functional changes
2014-11-24 21:39:25 +01:00
Frank Zhao
6311dc8f8c
added single wire half duplex UART
...
Conflicts:
src/main/telemetry/telemetry.h
2014-11-12 00:29:42 +00: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
Dominic Clifton
db36cfe12e
Fix arm/disarm/arm bug when using shared msp/telemetry ports.
...
All msp ports are now re-initialised when disarming.
Bug wa introduced by c06fd78b83
- see
#144 .
Runtime serial port scenario should not have been erased.
Fixes #144 and #155 . Cleanup #125 .
2014-11-05 20:23:59 +00:00
Dominic Clifton
a65a937313
STM32F3 - Fix uartReconfigure. Closes #125 .
2014-10-28 15:55:07 +00: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
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00
Dominic Clifton
b01724681a
CC3D - Support USART3 instead of USART2.
...
This has highlighted that the existing codebase is quite targeted
towards systems that use USART1 and 2. Annoyingly the inverter is on
USART1 and the sbus code requires callbacks so still won't work yet.
2014-08-07 19:17:46 +01:00
Dominic Clifton
4d9a672d9c
CC3D / NAZE - Adding support for hardware controlled inverter for use by
...
SBUS RX.
2014-08-02 00:43:06 +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
e867af8c4b
Correct project name in GPL notices.
2014-06-05 00:47:47 +01:00
Dominic Clifton
63e16494bb
Fix long-standing bug which prevented using UBLOX gps via DMA.
...
This was noticed when updating the UBLOX code in a commit from a couple
of days ago and Dilbert66 from #cleanflight tracked it down.
2014-06-04 23:00:31 +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
d19a5e7046
Cleanup project structure. Update unit test Makefile to place object
...
files in obj/test
2014-05-31 22:43:06 +01:00