Daniel Agar
d4cd1d0d2e
NuttX stm32f7 fully re-enable dcache with write back ( #12435 )
...
- fixes https://github.com/PX4/Firmware/issues/12216
- includes latest PX4/NuttX and apps update 7.29+
2019-07-10 19:08:12 -04:00
Daniel Agar
f593e3de9c
AK09916 move to new WQ, PX4Magnetometer, and cleanup
2019-05-29 13:59:08 -04:00
Daniel Agar
8e6708bdcb
qmc5883 move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
8f1b4f693b
rm3100 move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
8176fe1b6e
lsm303agr move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
dffaf544ab
lis3mdl move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
537c139134
bmm150 move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
83d3ead821
ist8310 move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
70947920b8
hmc5883 move to px4 work queue
2019-05-24 12:58:55 -04:00
Julian Oes
c78aaeb0f7
ak09916: fail if device is not found
...
This should fix the case where the driver initializes even though the
device is not found. The change changes the behavior to return ERROR
if the whoami call fails several times instead of returning OK.
Also, the reset() and thus probe() calls are moved before initializing
the ringbuffer and device name.
2019-04-20 12:52:56 +02:00
Andreas Daniel Antener
95a0803b14
Adding AK09916 driver to support the Here2 GNSS emulated mag (I2C) ( #11837 )
...
* drivers, magnetometer: added ak09916 driver to support the mag driver emulated by the Here2 gps
* boards: set yaw 270 rotation for external ak09916 driver and only start it for the PH21
* drivers: only start ak09916 when icm20948 is not available on a ph21 setup
2019-04-11 12:43:50 -04:00
David Sidrane
fd31091fdb
bmm150:Restored lost internal i2C
2019-04-02 13:40:17 -04:00
Pandacoolcool
35af8f3368
ist8310.cpp: fix code style
2019-03-18 11:05:12 +01:00
Pandacoolcool
875661d70c
ist8310.cpp: remove unused variable
2019-03-18 11:05:12 +01:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04:00
mcsauder
2ae2331c15
Delete extra newline character in qmc5883/CMakeLists.txt to quiet git hook.
2019-03-12 14:59:08 -04:00
dlwalter
77ab9b617e
QMC5883 Magnetometer Driver ( #11140 )
2019-03-08 22:04:43 -05:00
Beat Küng
ae335f6bd8
Fixed using myoptarg instead of optarg
...
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com >
2019-02-21 09:45:45 +01:00
Beat Küng
8e991f1878
Fixed using myoptarg instead of optarg
...
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com >
2019-02-21 09:45:45 +01:00
bazooka joe
922c19aa9c
using only px4_getopt() and never the unsafe getopt()
...
using only <px4_getopt.h> as include, cleanup related includes
added check that all the option are valid (myoptind >= argc). if there are invalid options on some script that might now lead not to run commands
2019-02-21 09:45:45 +01:00
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
2019-01-23 18:25:18 -05:00
Kevin Lopez Alvarez
490eeeb9d9
RM3100: enable I2C ( #11038 )
2019-01-09 08:57:19 -05:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Daniel Agar
dd0baaee91
delete IOCTL SENSORIOCSQUEUEDEPTH
...
- only used in test routines
2018-11-06 07:43:43 +08:00
Daniel Agar
d2ed091a1d
delete IOCTL SENSOR_POLLRATE_MAX
...
- only SENSOR_POLLRATE_DEFAULT is needed
2018-11-06 07:43:43 +08:00
Daniel Agar
556a9422b5
delete IOCTL SENSOR_POLLRATE_MANUAL
...
- only used in self tests
2018-11-06 07:43:43 +08:00
Daniel Agar
8dfd55fc9e
delete unused IOCTL SENSORIOCGPOLLRATE
2018-11-06 07:43:43 +08:00
Daniel Agar
d76155107c
delete unused IOCTL MAGIOCGRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
0ea18b2b73
delete unused IOCTL MAGIOCGSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
60a40ec131
delete unused IOCTL MAGIOCSSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
f59f0d4b2d
delete unused IOCTL SENSOR_POLLRATE_EXTERNAL
2018-11-06 07:43:43 +08:00
hdiethelm
33422700de
lis3mdl: fix handling when multiple sensors are available ( #10753 )
...
* lis3mdl: Report calibration successful when starting with -C option
* lis3mdl: Use PX4_OK, PX4_ERROR for return value / orb_unadvertise
* Fixes #10740
2018-11-01 10:44:41 -04:00
Daniel Agar
ee90eb6c92
IST8310 increase MAIN stack
2018-09-02 16:15:03 -04:00
Daniel Agar
7cc0e69fcd
add px4fmu-v{3,4,5} stackcheck configs
2018-09-02 14:16:04 -04:00
Kevin Lopez Alvarez
c10ea132b4
PNI RM3100 magnetometer driver ( #10302 )
...
* tested on SPI (px4fmu-v4pro)
* WIP I2C support
2018-08-28 11:44:34 -04:00
Daniel Agar
568a5f1c4c
delete ACCELIOCSELFTEST and GYROIOCSELFTEST
2018-08-02 08:05:52 +02:00
Daniel Agar
bb9c38a480
delete MAGIOCSELFTEST
2018-08-02 08:05:52 +02:00
Daniel Agar
cc96e5ec5e
sensor messages remove unused fields and improve comments
2018-07-29 21:04:21 +02:00
Daniel Agar
be3af59c76
lsm303agr flip z axis and properly set scaling and range
2018-07-28 15:22:20 +02:00
Daniel Agar
14cf92d8b2
lsm303agr split main
2018-07-28 15:22:20 +02:00
Daniel Agar
b1d3bb0403
stop ignoring Wmissing-field-initializers and fix ( #9912 )
2018-07-22 12:45:52 -04:00
Daniel Agar
4e4724f9eb
add ST LSM303AGR driver (mag only)
2018-07-08 10:18:13 -04:00
Daniel Agar
02d4405a62
c++11 default destructors
2018-06-30 19:55:08 -04:00
DanielePettenuzzo
7a760ee501
fmu-v5: add PX4_I2C_BUS_EXPANSION1 and 2 to all drivers that check all the busses
2018-06-06 17:31:33 +02:00
Lorenz Meier
bbc104ad4c
Added missing fields to IST8310 mag report.
2018-06-05 23:21:53 +02:00
Beat Küng
cce3c270c3
lis3mdl: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
ffccba12e2
bmm150: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Jake Dahl
ad4b3a738a
set the range to the correct value
2018-05-16 08:35:55 +02:00
Jake Dahl
306d1e7e24
a few corrections
2018-05-16 08:35:55 +02:00
Jake Dahl
6324a8851d
Complete refactor of the lis3mdl driver. This has been bench tested, flight tested, and verified functional.
2018-05-16 08:35:55 +02:00