Andrew Tridgell
00ccacb2ab
AP_HAL: expose device bus number
8 years ago
Andrew Tridgell
a96ed8c188
AP_HAL: added virtual destructor for Semaphores
8 years ago
Andrew Tridgell
fdc94ec28a
AP_HAL: fixed frequency init for register checking
8 years ago
Andrew Tridgell
954728c9e9
AP_HAL: added set_chip_select() API
...
for devices with unusual timings
8 years ago
Andrew Tridgell
7100272f14
AP_HAL: default to register checking every 10th call
...
this saves having this in nearly all callers
8 years ago
Andrew Tridgell
e42bb20052
AP_HAL: added dma allocation routines to hal.util
8 years ago
Andrew Tridgell
5934a099a4
AP_HAL: added support for more SRXL varients
...
based on work by Roman Seb <roman-29188@gmx.de>
8 years ago
Andrew Tridgell
14a26bee6c
AP_HAL: fixed ms5611 address on FMUv1
8 years ago
Andrew Tridgell
bc614de4b3
AP_HAL: added checked registers interface
...
allow drivers to easily monitor and correct critical registers
8 years ago
Andrew Tridgell
c565c9df35
AP_HAL: added ICM20608 external SPI name
8 years ago
Andrew Tridgell
fd8955a737
AP_HAL: define default rotations for mpu6000 based boards
8 years ago
Andrew Tridgell
d778ee2db0
AP_HAL: define device for icm20608 on ACCEL_MAG CS line on px4
...
for PHMINI
8 years ago
Andrew Tridgell
ba9b475782
AP_HAL: added MS5611 on I2C for px4-v1
8 years ago
Andrew Tridgell
ea74f8c12c
AP_HAL: added ICM20608 INS name
8 years ago
Andrew Tridgell
38a1f51b53
AP_HAL: define rotations for the MPU9250 in board/linux.h
8 years ago
Andrew Tridgell
1990aa96e1
AP_HAL: added get_bus_id_devtype()
...
used to do versioning on device types
8 years ago
Andrew Tridgell
3d48b6bb3a
AP_HAL: added device id tuples to Device class
...
this allows a bus connection and device type tuple to be identifed as
a 24 bit number for use in user visible device IDs. Every bus
connection has a unique device ID.
8 years ago
Andrew Tridgell
26ca2dd392
AP_HAL: added more px4 SPI device names
8 years ago
Andrew Tridgell
a06137bb68
AP_HAL: define 9250 devices
8 years ago
Andrew Tridgell
bf0b0c1773
AP_HAL: fixed HAL_SEMAPHORE_BLOCK_FOREVER to be zero
...
all implementations assume this
8 years ago
Andrew Tridgell
b697c978e6
AP_HAL: fixed lsm303d SPI name
8 years ago
Andrew Tridgell
e79b4f1c11
AP_HAL: added defines for ms5611 on other SPI buses
8 years ago
Andrew Tridgell
5db65cdb6d
AP_HAL: added subtype for PX4 FMUv4
8 years ago
Andrew Tridgell
3927994905
AP_HAL: added SPI device names to px4
8 years ago
Andrew Tridgell
4d5562764a
AP_HAL: provide default hmc5983 i2c bus address
8 years ago
Lucas De Marchi
7968736b1c
AP_HAL: add O_CLOEXEC in places missing it
...
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
8 years ago
Lucas De Marchi
312a27dd20
AP_HAL: RCInput: rename deinit() to teardown()
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
hiro2233
3742c3b243
AP_HAL: Added subtype board URUS.
...
This is a linux system based with Raspberry Pi B+, it's a automated
domotic system using APM framework.
8 years ago
Lucas De Marchi
05a7eef1a2
RingBuffer: use explict "if" and return early
...
Remove confusing use of ternary operator together with assign + load.
No change in behavior.
8 years ago
Murilo Belluzzo
3f1896b9b7
RingBuffer: Remove 'old style' version
8 years ago
Murilo Belluzzo
8526b25654
RingBuffer: Add a faster method to read a single byte
8 years ago
Martin Evans
37b85fd3cd
AP_HAL: Add Dark Linux board
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
8f88d7c784
AP_HAL: fixed comment on XPlus channels
...
thanks for Francisco for noticing
8 years ago
Andrew Tridgell
4d44591e62
AP_HAL: fixed decoding of XPlus channels
8 years ago
Andrew Tridgell
ec8c22f26e
AP_HAL: support up to 20 channels on SRXL
...
tested with 18 channels on a DSM18 transmitter with a AR7700 receiver
with SRXL port
8 years ago
Andrew Tridgell
ece0a8721f
AP_HAL: added standalone test program for dsm
...
useful for debugging
8 years ago
Andrew Tridgell
7b3d0234d1
AP_HAL: added an SRXL protocol decoder
...
SRXL ports are commonly found on newer spektrum receivers like the AR7700
8 years ago
murata
ba60cce0c1
AP_HAL: simplify the processing of milliseconds from the time
8 years ago
Peter Barker
e71c71fcac
AP_HAL: correct casting of get_system_clock_ms
8 years ago
Andrew Tridgell
e356797888
AP_HAL: make cork() mandatory in RCOutput
8 years ago
Lucas De Marchi
ae53920e5b
build: don't build examples with old build system
...
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.
8 years ago
Andy Little
4b2eedac05
AP_HAL: Split the AP_HAL_Boards.h header into per board sub headers for legibility
8 years ago
Andrew Tridgell
e7656fb7ac
AP_HAL: raise compass offset max again for Disco
...
values of 1600 happen on Z axis
8 years ago
Andrew Tridgell
2edd914634
AP_HAL: added st24 R/C protocol decoder
...
with thanks to the PX4 project
9 years ago
Andrew Tridgell
9a7af89b30
AP_HAL: added sumd decoder
...
with thanks to the PX4 project
9 years ago
Matthew Brener
06388b0417
Global: Fix typos
9 years ago
Andrew Tridgell
bf67d4277d
AP_HAL: define a larger compass offset max for Disco
9 years ago
Benoit Tran
9b89b4f561
AP_HAL: Correct HAL_PARAM_DEFAULTS_PATH for Parrot Disco
9 years ago