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