Andrew Tridgell
|
0a5d287326
|
HAL_ChibiOS: support uartG
|
7 years ago |
Andrew Tridgell
|
5bf078cc86
|
HAL_ChibiOS: fixed build with -Werror-sign-compare
|
7 years ago |
Michael du Breuil
|
037e53ba8a
|
AP_HAL_ChibiOS: Reduce flash space of UARTDriver
Saves 32 bytes
|
7 years ago |
Andrew Tridgell
|
8431a677d9
|
HAL_ChibiOS: added a timeout to DMA UART TX
this prevents a shared DMA channel being held for a long time if a CTS
pin is held either by not being connected or by a radio
|
7 years ago |
Andrew Tridgell
|
0fade4eb9e
|
HAL_ChibiOS: make sure the UART bounce buffers are DMA safe
|
7 years ago |
Andrew Tridgell
|
89898bae1d
|
HAL_ChibiOS: take account of available bytes in receive_time_constraint_us
|
7 years ago |
Andrew Tridgell
|
7005383f82
|
HAL_ChibiOS: implement uart receive timestamp API
|
7 years ago |
Andrew Tridgell
|
e4ce2f532b
|
HAL_ChibiOS: make smaller builds possible
this allows for much smaller builds when you disable a lot of
options. This is part of an effort to create a bootloader of less than
16k using ChibiOS
|
7 years ago |
Andrew Tridgell
|
e448b5d069
|
HAL_ChibiOS: implement UART port locking
|
7 years ago |
Andrew Tridgell
|
bc32276966
|
HAL_ChibiOS: support DShot output
use DMAR burst DMA to minimise number of DMA channels needed
thanks to betaflight for the great reference implementation!
|
7 years ago |
Andrew Tridgell
|
a64819cbf2
|
HAL_ChibiOS: minimise DMA TX latency on contended UARTs
try to prevent long delays on other users of a DMA channel
|
7 years ago |
Andrew Tridgell
|
556f3ba53f
|
HAL_ChibiOS: make UARTs non-blocking by default
we never want blocking ports any more with ArduPilot, so defaulting to
blocking makes no sense
|
7 years ago |
Andrew Tridgell
|
306d35655e
|
HAL_ChibiOS: allow for bare board builds
this allows for a build with no UARTs, no SPI, no I2C, no PWM. Great
for initial board bringup with just USB
|
7 years ago |
Andrew Tridgell
|
82f1f462ae
|
HAL_ChibiOS: ensure we don't init a uart driver twice
|
7 years ago |
Andrew Tridgell
|
dce4c90467
|
HAL_ChibiOS: moved UART thread to UART driver
use an event model for triggering sends from tx complete DMA handler
for unbuffered uarts
|
7 years ago |
Andrew Tridgell
|
979a2a4796
|
HAL_ChibiOS: removed debug code
|
7 years ago |
Mark Whitehorn
|
b94b1dcd97
|
AP_HAL_ChibiOS: add missing declaration
|
7 years ago |
Siddharth Purohit
|
02696882e9
|
HAL_ChibiOS: if unbuffered write, do continue to invoke DMA writes
adds higher latency to device sharing DMA
|
7 years ago |
Andrew Tridgell
|
ad26ca4a27
|
HAL_ChibiOS: implement parity and stop bits controls
|
7 years ago |
Andrew Tridgell
|
3f2cc2c9d6
|
HAL_ChibiOS: implement low latency UART writes
this implements the set_unbuffered_writes() API by performing writes
directly in the write() call and not from a timer
|
7 years ago |
Andrew Tridgell
|
865e4f3104
|
HAL_ChibiOS: implement _timer_tick in UARTDriver
|
7 years ago |
Andrew Tridgell
|
f14a847b97
|
HAL_ChibiOS: rename classes to remove 'Chibi'
it is redundent as all classes are in ChibiOS namespace, and makes the
code harder to read
|
7 years ago |
Andrew Tridgell
|
41be81af34
|
HAL_Chibios: added hardware flow control for UARTs
implement RTS in software and CTS in hardware
|
7 years ago |
Andrew Tridgell
|
8b6bab7b17
|
HAL_Chibios: added ChibiOS HAL
this is based on initial work by Sid, reset here for easier merging
|
7 years ago |