Andrew Tridgell
9d4b31ca3c
AP_HAL: added a new_semaphore() interface to Util
9 years ago
Andrew Tridgell
8a4c0593f2
AP_HAL: make available_memory() uint32_t
9 years ago
Lucas De Marchi
a8455aa4e3
AP_HAL: Remove Util::{v,}snprintf_P()
9 years ago
Andrew Tridgell
28fa05c965
AP_HAL: added generic perf counter
...
simple wrapper around PX4 API, but ready for use by other HALs
9 years ago
Julien BERAUD
f231182cd9
AP_HAL: Add support for a Heater
...
Add heater class and non-pure virtual method to Util class in order to do
nothing in case the function is not implemented
9 years ago
Andrew Tridgell
e889886e07
AP_HAL: start with the vehicle disarmed
...
this prevents a race condition on startup that can cause a UAVCAN ESC
to run while the vehicle is booting
10 years ago
Gustavo Jose de Sousa
0456eccca8
AP_HAL: 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
Randy Mackay
810973ce95
HAL: define capability bitmask
10 years ago
Víctor Mayoral Vilches
e5a90c7a34
AP_HAL: Util, add custom terrain and log methods
10 years ago
Andrew Tridgell
7f239f5d46
AP_HAL: added get_shell_stream()
10 years ago
Jonathan Challinger
aa7776ea59
AP_HAL: add soft_armed state to hal.util
10 years ago
bugobliterator
ad460659ad
AP_HAL: make toneAlarm_init() return bool
10 years ago
bugobliterator
af203760bd
HAL_Linux: change the return type of AP_HAL::Util::tonealarm_init() to signed int8_t.
...
This is a part of a set of fixes for the bugs and typos tridge discovered and shared inside earlier commits for setting up tonealarm.
10 years ago
bugobliterator
fa6e83318d
AP_HAL: Add virtual toneAlarm member functions to be declared under Linux_HAL
10 years ago
Andrew Tridgell
735c6449a1
AP_HAL: added support for commandline arguments
...
useful for log replay, specifying log file
11 years ago
Andrew Tridgell
172398a971
AP_HAL: added available_memory() interface
11 years ago
Andrew Tridgell
f95bea699b
AP_HAL: added get_system_id() method on Util
11 years ago
Andrew Tridgell
0ca82d5e3c
AP_HAL: added set_system_clock() API
11 years ago
Andrew Tridgell
34a328f66d
AP_HAL: added safety_switch_state() function in hal.util
...
will be used by copter to check safety switch is set
12 years ago
Andrew Tridgell
60122f9877
AP_HAL: moved printf implementation from AP_HAL_AVR to AP_HAL
...
this gives a common printf implementation on all boards, which
simplifies testing, and also simplifies porting to new boards
12 years ago
Andrew Tridgell
70f7cde9b8
AP_HAL: added run_debug_shell() hal.util method
12 years ago
Pat Hickey
0d702045b8
AP_HAL: Add Util member for string utilities
12 years ago