Lucas De Marchi
e9c6702269
AP_HAL_VRBRAIN: fix typo using comma operator
...
We want to return mallinfo().fordblks, not the struct using the comma
operator with a non-existing fordblks variable.
9 years ago
Andrew Tridgell
567ea0e420
HAL_VRBRAIN: make available_memory() uint32_t
9 years ago
Gustavo Jose de Sousa
f714540d8b
AP_HAL_VRBRAIN: 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
Tom Pittenger
d275e6711d
AP_HAL_VRBRAIN: compiler warnings: apply is_zero(float) or is_equal(float)
10 years ago
Andrew Tridgell
db9c8548a5
HAL_VRBrain: call parent Util constructor
10 years ago
Emile Castelnuovo
d78ff43971
AP_HAL_VRBRAIN: code clean up. Deleted unused boards.
10 years ago
Emile Castelnuovo
92e0bc3a2f
AP_HAL_VRBRAIN: updates to libraries for new boards
10 years ago
LukeMike
8f552d5758
VRBRAIN: Changed the management of VirtualRobotix's boards.
11 years ago
Emile Castelnuovo
201332caef
AP_HAL: New VRBRAIN board definition and libraries
11 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