David Sidrane
43c1237d00
On lis3mdl use the bus setting to return internal/external
...
Removed asssumtion that all HW other then PX4v1 has lis3mdl on
an external i2c bus. Use the actual value of the bus the device
was found and instanced on to return the result of
MAGIOCGEXTERNAL ioctl
2017-01-21 11:45:36 +01:00
David Sidrane
44cb1afa4d
Provide an overidable nop default for BOARD_EEPROM_WP_CTRL
...
To simplify integration of an EEPROM device with a Write Protect
control pin, we add an overidable BOARD_EEPROM_WP_CTRL macro
the does nothing.
A board that provids the GPIO for WP should define
BOARD_EEPROM_WP_CTRL(_protected_true) that will set the WP GPIO
to the Protected state when passed true.
2017-01-20 22:55:04 +01:00
David Sidrane
d42f8f4745
BugFix:Prevent drv_led_pwm passing a value of 0 to px4_arch_configgpio
...
This prevents the meta value of 0 => not used from being passed to
px4_arch_configgpio. As this would map to PORTA|PIN0 and is not
the intended configuration.
2017-01-19 22:18:04 +01:00
David Sidrane
3ea5a24924
crazyflie BugFix:Prevent a value of 0 being passed to px4_arch_configgpio
...
This prevents the meta value of 0 => not used from being passed to
px4_arch_configgpio. As this would map to PORTA|PIN0 and is not
the intended use.
2017-01-19 22:18:04 +01:00
Lorenz Meier
6209cd0e57
Fix MPU6050
2017-01-19 19:24:52 +01:00
Lorenz Meier
62f95931ed
MPU9250: Fix device ID
2017-01-19 19:24:52 +01:00
Lorenz Meier
1134f1a868
Fix sensor IDs
2017-01-19 19:24:52 +01:00
Lorenz Meier
7326fea142
Driver compile fixes
2017-01-19 19:24:52 +01:00
Lorenz Meier
71fa064bc7
MPU6K: Fix device ID
2017-01-19 19:24:52 +01:00
Lorenz Meier
171c321acc
MS5611: Fix device ID
2017-01-19 19:24:52 +01:00
Lorenz Meier
9860a17e25
MPU6K: Fix device ID
2017-01-19 19:24:52 +01:00
Lorenz Meier
479e6937d6
LSM303D: Fix devid
2017-01-19 19:24:52 +01:00
Lorenz Meier
36e4b8e5e8
LPS25H: Fix devid
2017-01-19 19:24:52 +01:00
Lorenz Meier
79caa30bd5
L3GD20: Fix devid
2017-01-19 19:24:52 +01:00
Lorenz Meier
6e2c43b3d9
BMP280: Fix devid
2017-01-19 19:24:52 +01:00
Lorenz Meier
a42932033e
BMI160: Fix devid
2017-01-19 19:24:52 +01:00
Paul Riseborough
e84a189380
drivers: use driver class instance as surrogate sensor ID for gyro and accelerometer
2017-01-19 19:24:52 +01:00
Paul Riseborough
5e53a5425a
drivers: Populate baro device ID
...
TODO - use unique HW ID
2017-01-19 19:24:52 +01:00
Paul Riseborough
7c9e9f31e1
drivers/mpu9250: Populate device ID in sensor topics
2017-01-19 19:24:52 +01:00
Paul Riseborough
5177866b54
drivers/mpu6500: Populate device ID in sensor topics
2017-01-19 19:24:52 +01:00
Paul Riseborough
ddda5eccd6
drivers/mpu6000: Populate device ID in sensor topics
2017-01-19 19:24:52 +01:00
Paul Riseborough
cfaef7f433
drivers/lsm303d: Populate device ID in sensor topics
2017-01-19 19:24:52 +01:00
Paul Riseborough
14e2ea78b3
drivers/l3gd20: Populate device ID in sensor topic
2017-01-19 19:24:52 +01:00
Paul Riseborough
9014443d77
drivers/bmi160: Populate device ID in sensor topics
2017-01-19 19:24:52 +01:00
David Sidrane
23eb07ff3e
Only perform GIOP operations on defined IO ( #6381 )
...
Check if the table entry fo the IO requested is defined
so that 0 is never passed to px4_arch_gpioXXXX functions.
2017-01-18 09:53:16 -10:00
Vlad Radulescu
ec104bb7ac
Corrected a tiny spelling mistake and modifed the PPM_MIN_CHANNELS check so it accepts a minimum of 5 channels. It seems that was the initial intention.
2017-01-17 23:40:31 -08:00
David Sidrane
569b20d184
FMUv5 Fixed hardfault log
...
F7 was missing in the CONFIG_xxx that controlled enableing the
hardfault_log boot code that can save the fault log
2017-01-17 23:11:20 -08:00
Lorenz Meier
b29e0040f1
ETS airspeed: Work around weird choice of manufacturer zero level cutoff
2017-01-16 08:26:37 -08:00
David Sidrane
c235b44a90
FMUv5 define ADC usage
2017-01-14 02:26:48 -08:00
Daniel Agar
751909cd4e
clang readability-braces-around-statements ( #6298 )
2017-01-11 17:01:51 -05:00
Dennis Mannhart
8cd913c148
gps.cpp: add gps baudrate 230400 to qurt
2017-01-10 11:49:05 +01:00
Lorenz Meier
256222d44d
HMC5883: Remove output on driver level. Reporting should be done by the caller, not inside the driver.
2017-01-04 09:40:50 +01:00
Daniel Agar
a9d3f0dc73
update gps driver submodule
2017-01-03 14:44:45 +01:00
Beat Küng
59ca22ee6d
px4.h: remove this include, causes compile problems on GCC 6.1.0
...
It causes problems because it includes px4_nodehandle.h which in turn
includes <functional>, and this is not available on NuttX
2017-01-03 10:39:55 +01:00
Paul Riseborough
3787fafdff
px4flow: update default rotation and documentation
...
The driver performs the rotation from sensor frame to body frame.
The recommended installation default is with the Y sensor axis pointing forward.
2016-12-30 10:39:10 +01:00
Lorenz Meier
ece8d85860
Add ICM20602 to Pixracer config
2016-12-29 11:55:57 +01:00
Lorenz Meier
381611bb66
LL40LS: Make commandline arguments easier to use
2016-12-28 15:07:56 +01:00
Lorenz Meier
9c2f4503a1
Additional test command feedback
2016-12-28 15:04:28 +01:00
Lorenz Meier
f153e9b024
Nucleo board config: Add px4_tasks header
2016-12-27 21:00:51 +01:00
Lorenz Meier
57fd8ffbed
Update Crazyflie board driver to include task header
2016-12-27 21:00:51 +01:00
Lorenz Meier
4ceeb8b0e1
HoTT driver: Add task header dependency
2016-12-27 21:00:51 +01:00
Lorenz Meier
faf83aad6a
Aero FC: Add missing headers
2016-12-27 21:00:51 +01:00
Lorenz Meier
8a53866553
AUAV 2.1: Add missing headers
2016-12-27 21:00:51 +01:00
Lorenz Meier
1f8fabd619
MindPX: Add missing headers
2016-12-27 21:00:51 +01:00
Lorenz Meier
4ba12f71a0
FMUv2: Add missing headers
2016-12-27 21:00:51 +01:00
Lorenz Meier
6bc70af7a0
FMUv2: Add missing headers
2016-12-27 21:00:51 +01:00
Lorenz Meier
c5a167935e
FMUv4PRO: Add missing headers
2016-12-27 21:00:51 +01:00
Lorenz Meier
b3c3f92988
FMUv5: Add missing headers
2016-12-27 21:00:51 +01:00
Lorenz Meier
520b1dfe07
TAP: Add missing headers
2016-12-27 21:00:51 +01:00
Lorenz Meier
9275436043
FMU: Add missing headers
2016-12-27 21:00:51 +01:00