Andrew Tridgell
8dbb51c64e
HAL_PX4: implement AP_HAL::Util perf calls for PX4
9 years ago
Gustavo Jose de Sousa
08333f1ffe
AP_HAL_PX4: 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
d909f11ba3
HAL_PX4: added implementation of NSH shell stream
10 years ago
Tom Pittenger
98c5137107
AP_HAL_PX4: compiler warnings: float to doubles
10 years ago
Andrew Tridgell
ebacb2b496
HAL_PX4: call parent Util constructor
10 years ago
Andrew Tridgell
2a9a89e020
HAL_PX4: fixes for merged upstream PX4Firmware
11 years ago
Andrew Tridgell
22bdee8727
HAL_PX4: implement available_memory()
11 years ago
Andrew Tridgell
4b4f5ed1c0
HAL_PX4: support get_system_id() on PX4
11 years ago
Andrew Tridgell
34cde1a640
HAL_PX4: implement set_system_clock()
11 years ago
Andrew Tridgell
ad30f8effa
HAL_PX4: try to reopen UARTs if safety switch is disarmed
...
this allows attaching to the USB port after power on
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
80e2a5cc32
AP_HAL_PX4: convert to new AP_HAL printf
12 years ago
Andrew Tridgell
9cd0af1132
HAL_PX4: make PX4 snprintf support %S format
...
just maps it to %s for normal printf
12 years ago
Andrew Tridgell
8e2a20bea8
HAL_PX4: enable ttyACM0 as main console, ttyS1 as telemetry port
12 years ago
Andrew Tridgell
e45b137816
HAL_PX4: added run_debug_shell() implementation for PX4
12 years ago
Andrew Tridgell
1188c9e335
HAL_PX4: added Util instance
...
this fixes hal.util->vsnprintf_P()
12 years ago
Andrew Tridgell
8d47a739a1
SITL: fixed a return value in snprintf functions
12 years ago
Pat Hickey
4c715bfd04
AP_HAL_AVR_SITL: add Util driver, fix deprecated deps on HAL_AVR.h
12 years ago