Peter Barker
3ff4cd8c07
AP_HAL_PX4: use HAL_SEMAPHORE_BLOCK_FOREVER
8 years ago
Andrew Tridgell
a8b12dcf3c
HAL_PX4: never wait on a semaphore in interrupt context
...
this shouldn't ever happen, but better to check
8 years ago
LukeMike
998033286d
AP_HAL_PX4 / Semaphores: removed AP_HAL_VRBRAIN (for now it's better to have different AP_HAL for PX4 and VRBRAIN)
9 years ago
Andrew Tridgell
02bee8810d
HAL_PX4: added Semaphore support
9 years ago
Caio Marcelo de Oliveira Filho
7675913d5b
AP_HAL_Linux: use millis/micros/panic functions
9 years ago
Lucas De Marchi
2ac96b942c
AP_HAL_Linux: remove prefix from AP_HAL_Linux classes
...
We have already a Linux namespace, so there's no need to prefix Linux on
all names.
9 years ago
Gustavo Jose de Sousa
124b750c10
AP_HAL_Linux: 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
ead82ee581
HAL_Linux: implement millis64() and micros64()
11 years ago
Andrew Tridgell
fc8068adfe
HAL_Linux: use board subtypes
11 years ago
Andrew Tridgell
74ee70d463
HAL_Linux: updates for ERLE board type
11 years ago
Andrew Tridgell
28b4ae1c3a
HAL_Linux: improved latency of timed semaphores
12 years ago
Andrew Tridgell
53f66b23f4
AP_HAL_Linux: fixed APM2 build
12 years ago
Andrew Tridgell
605e6c3cf7
HAL_Linux: use pthread mutexes for semaphores
12 years ago
Andrew Tridgell
58a31318ee
AP_HAL_Linux: initial I2C driver implementation
...
this works sufficiently for the HMC5883
12 years ago
Andrew Tridgell
4ba044c441
AP_HAL_Linux: initial Linux AP_HAL
12 years ago
Pat Hickey
f178d1bd02
AP_HAL_Empty: implement new Semaphore interface
12 years ago
Andrew Tridgell
e729a8b277
AP_HAL: rename Semaphores cpp file to match header
12 years ago
Andrew Tridgell
a3c26d44e4
AP_HAL: rename Sempahore.h to Semaphores.h
...
this is needed to allow build on MacOS, as its case-insensitive
filesystem picks up the NuttX semaphore.h
12 years ago
Pat Hickey
b7cd4312f3
AP_HAL_Empty: more scaffolding complete
12 years ago