Andrew Tridgell
a46d8dbd51
HAL_Linux: make the spi driver fd part of the manager, not device
...
it should be one connection to the kernel per bus, not one per device
11 years ago
bugobliterator
2fd165d023
Copter: Add esc_calib to as an app in cli
...
Usage Notes:
- when in cli mode select setup
- inside setup use esc_calib <chan_mask> to launch esc calibration
e.g. esc_calib 1010 : enable calibration for Motor 2 and Motor 4
11 years ago
Andrew Tridgell
be02f0c34f
AP_Baro: work around occasional 0 values from MS5611
...
this was seen on the PXF board. It isn't yet known why it happens
11 years ago
Andrew Tridgell
1e20f89f90
AP_Compass: use HAL_COMPASS_DEFAULT in example code
11 years ago
Andrew Tridgell
9f8f27090a
HAL_Linux: MPU9250 is restricted to 1MHz for setup
...
(see datasheet)
11 years ago
Andrew Tridgell
0f724c1d7a
AP_InertialSensor: removed per-device example code
...
now can use a single generic test for all boards
11 years ago
Andrew Tridgell
b0ab2671cd
AP_Baro: removed old device specific example code
...
not needed any more
11 years ago
Andrew Tridgell
9ebc95b6fd
AntennaTracker: converted to new HAL sensor setup
11 years ago
Andrew Tridgell
028e2e34f1
AP_Baro: added generic baro test sketch
11 years ago
Andrew Tridgell
563f516f6b
HAL_FLYMAPLE: rename flash_stm32.c to .cpp
...
this avoids a compiler hang on Ubuntu when not building for flymaple
11 years ago
Andrew Tridgell
273bc230e6
HAL_AVR: renamed pins_arduino_mega.c to .cpp
...
this fixes a compiler hang on at least one Ubuntu platform. May be a
problem building empty C files?
It also makes our build more consistent
11 years ago
Andrew Tridgell
5a170c6343
AP_InertialSensor: added INS_generic test
11 years ago
Andrew Tridgell
d1ba78002d
AP_InertialSensor: added paranoid check for DRDY pin
11 years ago
Andrew Tridgell
549e08446a
HAL_Linux: use BBB pin names in SPIDriver
...
easier to find the pins on the board
11 years ago
Andrew Tridgell
6f9965cc22
AP_InertialSensor: fixed setup of DRDY pin on MPU9250
11 years ago
Andrew Tridgell
6a6dbe5790
AP_InertialSensor: added check for WHOAMI on MPU9250
11 years ago
Andrew Tridgell
e2822a2d8f
Tools: added Makefile for BBB overlays
11 years ago
Andrew Tridgell
e24febec1b
AP_TECS: avoid a valgrind bug
11 years ago
Andrew Tridgell
8e5915ef7d
HAL_Linux: fixed some valgrind errors
11 years ago
Andrew Tridgell
130f831c1c
HAL_Linux: use MODE_3 for MPU9250
...
this fixes the MS5611 (probably due to idle state?)
11 years ago
Andrew Tridgell
f73ec95c39
AP_Baro_MS5611: added PROM CRC checking
...
disabled on APM2 to save flash space
11 years ago
Andrew Tridgell
6c3197cb43
AP_Notify: fixed SITL build
11 years ago
Andrew Tridgell
739edafb42
Rover: use HAL board subtypes
11 years ago
Andrew Tridgell
52c53e55f8
AP_Airspeed: use board subtypes
11 years ago
Andrew Tridgell
49954a3a61
Copter: use sensors from board subtypes
11 years ago
Andrew Tridgell
ae29a24348
Plane: use sensors from board subtypes
11 years ago
Andrew Tridgell
fdeac40135
build: added board subtypes to build
11 years ago
Andrew Tridgell
252052d723
AP_Notify: use HAL board subtypes
11 years ago
Andrew Tridgell
abb53eb9a2
AP_InertialSensor: simplify using HAL board subtypes
11 years ago
Andrew Tridgell
fc8068adfe
HAL_Linux: use board subtypes
11 years ago
Andrew Tridgell
7195e38585
AP_HAL: fixed I2C build on APM2
11 years ago
Andrew Tridgell
5693392838
AP_HAL: added the concept of a board subtype, and default sensor types
...
this will make the vehicle code much more generic
11 years ago
Andrew Tridgell
e2a3a4e45c
build: allow native build to use distcc
11 years ago
Andrew Tridgell
1bf0c4c67d
HAL_Linux: cope with different I2C headers for data
11 years ago
Andrew Tridgell
3475f39daf
build: enable ccache if installed for all builds
11 years ago
Andrew Tridgell
848b563fc3
AP_InertialSensor: rotate acccel/gyro for PXF
11 years ago
Andrew Tridgell
f6bba74fb6
Plane: enable MPU9250 for Linux build
11 years ago
Andrew Tridgell
09e9074cb2
build: added bbone as build target
11 years ago
Andrew Tridgell
a224d8c3f9
build: rename board_avr_sitl.mk to board_native.mk
11 years ago
Andrew Tridgell
ea188528fc
AP_InertialSensor: fixed build errors for LSM9DSO
11 years ago
Andrew Tridgell
fa2a1c495e
HAL_Linux: fixed I2C driver build errors
11 years ago
Andrew Tridgell
8c4565c741
HAL_Linux: fixed a build warning
11 years ago
Víctor Mayoral Vilches
2982fc029c
AP_InertialSensor_LSM9DS0: Fix _dump_registers method
11 years ago
Víctor Mayoral Vilches
feedc40f72
AP_InertialSensor_LSM9DS0: Move LSM9DS0_DEBUG flag to the header
11 years ago
Andrew Tridgell
fa4abdb0ae
Copter: added support for MPU9250
11 years ago
Andrew Tridgell
297bb52ced
AP_InertialSensor: added MPU9250 header
11 years ago
Víctor Mayoral Vilches
f213f01983
AP_InertialSensor_LSM9DS0: Remove previous CS handling.
...
CS is now being automatically handled by the SPI Driver.
11 years ago
Andrew Tridgell
5b438471a7
HAL_Linux: added set_bus_speed() support to SPI driver
...
used by MPU6000 driver for setup registers
11 years ago
Andrew Tridgell
3ed4f82cb0
AP_InertialSensor: fixed DRDY include for Linux
11 years ago
Andrew Tridgell
0b64d834c3
HAL_Linux: MS5611 and MPU6000 should be MODE3
...
this doesn't solve the MPU6000 problem, but is correct
11 years ago