Gustavo Jose de Sousa
12423814ef
AP_HAL_AVR: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
a59f505d25
HAL_AVR: implement an efficient buffer write() call for AVR
...
this saves some cycles in the telemetry code
12 years ago
Andrew Tridgell
33fe27a104
AP_HAL_AVR: implement betterstream functions in AP_HAL
...
this gives more consistancy between ports
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
tobias
4e7fea787b
HAL_AVR: corrected includes to replace #include "$HEADER" with #inlcude "utility/$HEADER"
...
adding -I for EVERY DIRECTORY isn't desirable
http://gcc.gnu.org/onlinedocs/cpp/Search-Path.html
12 years ago
Andrew Tridgell
76092eb590
AP_HAL: remove unused peek() interface from UART drivers
...
this is a bit tricky to implement on some platforms, and is unused
anyway
12 years ago
Andrew Tridgell
0cb8192861
HAL_AVR: ensure we can handle a 256 size buffer
12 years ago
Andrew Tridgell
130aaae168
HAL_AVR: switched to 8 bit mask
...
max buffer size is now 256. This makes serial faster
12 years ago
Pat Hickey
1ed6a49a7a
AP_HAL_AVR: implementation for each BetterStream vprintf
...
* had to rename the utility vprintf function calls to print_vprintf
to make the naming work.
12 years ago
Andrew Tridgell
551ff0c8b8
AP_HAL_AVR: prevent build of AVR code on non-AVR platforms
12 years ago
Andrew Tridgell
eb81a3934e
HAL_AVR: removed extra min() define
12 years ago
Pat Hickey
9455d4c297
AP_HAL_AVR: UARTDriver impl uses only sized int types
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
a3a6482fd3
AP_HAL_AVR: vprintf implementation exists outside of class hierchary.
...
* Makes it easier to mix into other classes.
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