jflyper
d9d878d88e
UART DMA refactor
...
- Add UART DMA configurability
- Consolidation of DMA settings code
DMA setting code for all MCUs is now in serial_uart.c
- Consolidation of UART buffer
UART buffers are not embedded in uartDevice[] array anymore for all MCUs.
- Consolidation of HAL DMA IRQ handler
- Add missing defs for DMA on UART4 for F3
2019-10-04 12:58:11 +09:00
jflyper
ff72647486
UART buffers for F4 should not be in CCM DATA RAM for DMA to work
2019-09-22 04:04:26 +09:00
jflyper
7ddfd7dea6
Unify DMA stream and channel handling
2019-07-27 21:20:34 +09:00
jflyper
f58b3eab03
[H7] Enable UART
2019-05-07 22:21:31 +09:00
jflyper
82a4d42b0e
Reinstate UART TX DMA for F7 (HAL driver)
2018-10-20 23:57:17 +09:00
jflyper
a4c1b76c80
Remove txIrq from uartHardware_s
...
It was not IRQ at all by itself, but a dmaIdentifier_e for TX side DMA, which can be obtained by dmaGetIdentifier.
2018-10-17 02:03:58 +09:00
Andrey Mironov
501f4a1345
Removed redundant preprocessor defs for UART AF
2018-09-09 13:36:25 +03:00
Andrey Mironov
d6861b0842
Refactored UART pin config similarly to SPI to accomodate F765
2018-09-07 23:22:49 +03:00
Andrey Mironov
8073cb8665
Added UART alternative functions for F765
2018-09-07 22:53:19 +03:00
jflyper
5877ee1ebf
Temporary increase serial TX buffer sizes
2018-05-15 07:16:51 +09:00
blckmn
a9f74cd6df
Removed excess trailing spaces before new lines on licenses.
2018-04-25 20:58:00 +10:00
blckmn
46fe22b4bd
Direct license replacement
2018-04-22 09:22:46 +10:00
jflyper
6056ee1740
Uniformly reduce UART buffer sizes to 128 bytes ( #5432 )
2018-03-15 20:26:13 +13:00
Martin Budden
944fe0761c
Tidied UART enum definitions
2017-07-29 13:30:37 +01:00
jflyper
563c340ab5
Revert to uartStartTxDMA for F7
...
Also revert target.h for NERO (used for testing)
2017-06-26 22:12:03 +09:00
jflyper
697e5d3925
Fix UART TX DMA corruption
...
- Use ATOMIC while examining and updating DMA status
- Mask premature TC interrupt by examining transfer count register
(CNTDR/NTDR) for F1 and F4.
2017-06-25 17:21:29 +09:00
jflyper
2d45189fe2
No more "pin-pair"
...
RX and TX can be assigned to ANY capable pins.
2017-05-27 02:55:13 +09:00
jflyper
fdfe9e8af3
Configurable UART
2017-05-24 11:49:21 +09:00
jflyper
0cf5161ec4
Remove reference to USART_TypeDef in io, refactor uartOpen and serialUART
2017-05-11 09:59:43 +09:00
Sami Korhonen
1f8805cdf0
squash betaflightF7
...
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00
blckmn
c4e75e456c
Move to UART naming convention where possible (rather than USART).
2016-07-09 14:51:23 +10:00
blckmn
51a99e74c6
STM32F4: USARTS 4,5,6 added
...
Flag initialisation for motor_pwm_protocol
Fixes for AlienFlightF4 and timers
2016-06-08 05:43:28 +10:00
Nicholas Sherlock
3c543d36c8
Change port mode MODE_BIDIR into a port option instead
2015-03-19 13:42:13 +13:00
Petr Ledvina
7c62ec9755
Move internal serial interface into separate header file
...
Declaring function from other file is quite dangerous - there is no warning if interfaces get out of sync
2015-02-23 09:17:06 +01:00