Peter Barker
3a1340236a
AP_HAL: add HAL_UART_STATS_ENABLED to disable stats gathering
3 years ago
Stephen Dade
68ca18329c
AP_HAL: Add UART option to not override streamrates
3 years ago
Andrew Tridgell
51da1c3eff
AP_HAL: added disable_rxtx() to UARTs
3 years ago
bugobliterator
4b8b0f834d
AP_HAL: add support for usb passthrough with baud changes
4 years ago
Andrew Tridgell
269c4084d2
AP_HAL: added serial option for disabling FIFO on uarts
4 years ago
Andrew Tridgell
162cecadec
AP_HAL: added set_CTS_pin and set_RTS_pin
4 years ago
Andrew Tridgell
d8a6d9c5c4
AP_HAL: added uart_info() method
4 years ago
Andy Piper
4d4d3683b6
AP_HAL: add accessor for UART dma status
4 years ago
Andy Piper
a07b238c7d
AP_HAL: add PRIORITY_RCOUT
...
don't allow UART copies
add @SYS/uarts.txt
4 years ago
Siddharth Purohit
aa893b3983
AP_HAL: add available method for locked state
5 years ago
Michael du Breuil
1fef30eef1
AP_HAL: Extend UART options to include forwarding MAVLink telemetry
5 years ago
Andrew Tridgell
4eccea2607
AP_HAL: define more UART option bits
5 years ago
Andrew Tridgell
6983186210
AP_HAL: added get_options() method on UARTs
6 years ago
Andrew Tridgell
1fd1614e34
AP_HAL: added locking against read for UARTs
6 years ago
Andrew Tridgell
bed7939969
AP_HAL: added support for swapping RX and TX pins
6 years ago
Andrew Tridgell
58ed5a123c
AP_HAL: added HalfDuplex UART option
6 years ago
Andrew Tridgell
37fc6e8b1c
AP_HAL: added inversion options
6 years ago
Peter Barker
f8b1203399
AP_HAL: provide method returning approximate link bandwidth
6 years ago
Michael du Breuil
a92c4aa9fd
AP_HAL: Update comment on UARTDriver::begin to reflect automatic
...
clearing
7 years ago
Andrew Tridgell
b887a1e893
AP_HAL: make receive_time_constraint_us non-const
...
needed to use available()
7 years ago
Andrew Tridgell
f7a239d833
AP_HAL: added function for last receive timestamp on uarts
...
this is used for mavlink vision time estimates
7 years ago
Andrew Tridgell
85ae6f60a8
AP_HAL: added UART locking interface
...
used to gain exclusive access to a UART. This is needed for the BLHeli
MSP protocol to prevent protocol corruption due to console writes
7 years ago
Peter Barker
6c7c916c78
AP_HAL: eliminate AP_HAL::Print and AP_HAL::Stream
...
Just *way* too many layers involved here
7 years ago
Andrew Tridgell
5179d13dbf
AP_HAL: added virtual _timer_tick method on UARTDriver
...
this is needed to allow HALs to update UARTs when the number of UARTs
they bhave varies (some may be instances of HAL_Empty)
7 years ago
Andrew Tridgell
391affc02d
AP_HAL: support ChibiOS
7 years ago
Mark Whitehorn
66c4b7d986
AP_HAL: support SBusOut
...
rename enable_sbus_out to enable_px4io_sbus_out
7 years ago
Andrew Tridgell
6e065b3fe2
AP_HAL: fixed typo
9 years ago
Lucas De Marchi
dbf2aedf1e
AP_HAL: replace header guard with pragma once
9 years ago
Lucas De Marchi
d19c5035b6
Global: Rename printf format attribute
...
As commented in 8218140
("AP_Common: add scanf format macro"), "FORMAT"
was a bad name for this macro since there's also the scanf. Rename to
FMT_PRINTF to follow the scanf name.
9 years ago
Lucas De Marchi
a65c98485c
AP_HAL: UARTDriver: remove _P() variants
...
They aren't used anymore so remove.
9 years ago
Lucas De Marchi
1b07dabeb7
Replace prog_char and prog_char_t with char
...
prog_char and prog_char_t are now the same as char on supported
platforms. So, just change all places that use them and prefer char
instead.
AVR-specific places were not changed.
9 years ago
Lucas De Marchi
2322b8014d
AP_HAL: use common macro for printf formatting
9 years ago
Andrew Tridgell
6fb00f4fc3
AP_HAL: create a common utility/RingBuffer.h header
10 years ago
Staroselskii Georgii
e4a21f291d
AP_HAL_Linux: added LinuxSPIUARTDriver that can handle SPI-driven Ublox
10 years ago
Andrew Tridgell
7c1b9b344f
AP_HAL: added get_flow_control() API
11 years ago
Andrew Tridgell
ccb7dc640d
AP_HAL: fixed a build warning
11 years ago
Andrew Tridgell
c5c1d1358a
HAL_PX4: added automatic hardware flow control detection
...
this allows us to detect if hardware flow control is not available and
automatically disable it
11 years ago
Andrew Tridgell
3e637ac5d9
AP_HAL: added enable_flow_control() option in AP_HAL
11 years ago
Andrew Tridgell
d46f5f6943
AP_HAL: implement betterstream functions in AP_HAL
...
this gives more consistancy between ports
12 years ago
Pat Hickey
527dfb5af4
AP_HAL: remove EmptyUARTDriver
12 years ago
Pat Hickey
243590bb73
AP_HAL: UARTDriver & Stream uses only sized int types
...
Signed-off-by: Pat Hickey <pat@galois.com>
12 years ago
Pat Hickey
36154559fc
AP_HAL: change txspace from a BetterStream method to a Stream method.
12 years ago
Pat Hickey
cae931a93a
AP_HAL_AVR UARTDriver does basic hello world printing
...
* will import more complex tests next
12 years ago
Pat Hickey
8eb9b39a44
AP_HAL_AVR move library classes to their own AP_HAL_AVR namespace
12 years ago
Pat Hickey
afd1f36400
AP_HAL: add BetterStream, Stream, and Print interfaces
...
* BetterStream Means AP_HAL depends on AP_Common, for now, in order to have
the AVR specific pgm_char_t defined.
I'll need to factor that out in the future but for now it can stay
12 years ago
Pat Hickey
dc03b1190f
AP_HAL: Stub implementations of pure virtual AP_HAL classes
12 years ago