David Sidrane
153d106969
fxas21002c:Add margin to stack from RTT-Stack check
2018-09-14 15:37:20 -04:00
David Sidrane
e84a7dc140
fxos8701cq:Add margin to stack from RTT-Stack check
2018-09-14 15:37:20 -04:00
David Sidrane
22a65f6c1d
fmu:Fix Safety switch breakage from bc9c25a
...
The update check is on ORB_ID(safety) but the copy
was from ORB_ID(actuator_armed).
2018-09-13 11:21:53 -07:00
David Sidrane
be6f6126f4
px4io:Add passive support for Enter/Exit pwm test mode
...
Accept PWM_SERVO_[ENTER|EXIT]_TEST_MODE as a noop.
As long as the mixer in passthrough and armed the
pwm test will work.
2018-09-13 08:45:36 +02:00
David Sidrane
b578419e09
Bug fix fmu hard fault on pwm info
...
A hardfault was happening on:
fmu stop
fmu mode_pwm
pwm info
The _mixer was null and being dereferenced to access the trim
setting that were moved to the mixer from the fmu.
This commit fixes that but making the getter issue a warning
and the setter fail.
2018-09-13 08:45:36 +02:00
David Sidrane
73b9f09920
fmu:Add test mode
2018-09-13 08:45:36 +02:00
David Sidrane
efb512abea
drv_pwm_output:Define test enter/exit IOCTL
2018-09-13 08:45:36 +02:00
Daniel Agar
73fe4ecd20
AV-X enable GPS for rev C board
2018-09-12 02:39:03 -04:00
David Sidrane
c41d7ebdd3
kinetis:Bug fix PWM led update
...
The code was forcing the CV reload, but not resettting the count
this would cause short and long blinks during breathing.
this change allows the CV to update at 50Hz (20 ms) asynchronously.
So the LED update rate of 40Hz (25) will take effect on the next
FTM counter change, end of the prescaler counting, after CnV register
was written.update.
a b c d
LED PWM ___-___-___-___-___-___-___-___-___-___
LED Data ____-____-____-____-____-____-____-____-
a b c d
2018-09-12 01:03:22 +02:00
David Sidrane
520a81a951
nxphlite-v3:Disable internal mag due to random spikes.
...
This will disable the fxos8701cq internal mag on
the NXPHlite. There are random noise spikes on the
HIGHRES_IMU.[x|y|x]mag. Even with all other SPI
devices shut down, the noise is still present.
2018-09-11 06:58:35 -07:00
Beat Küng
c5b954dacc
heater: fix resource leak
2018-09-06 12:20:08 +02:00
mcsauder
615348189e
Remove doxy comments from private member variables.
2018-09-06 12:03:26 +02:00
mcsauder
e7666aa5d8
Added an imu heater driver, formatted whitespace, standardized comments, and added doxy documentation.
2018-09-06 12:03:26 +02:00
Daniel Agar
d6fd1c4811
rgbled_pwm increase MAIN stack
2018-09-02 16:15:03 -04:00
Daniel Agar
2dbc95382e
rgbled increase MAIN stack
2018-09-02 16:15:03 -04:00
Daniel Agar
ee90eb6c92
IST8310 increase MAIN stack
2018-09-02 16:15:03 -04:00
Daniel Agar
6abd0c2672
BMI055 increase MAIN stack
2018-09-02 16:15:03 -04:00
Daniel Agar
2dd71fa73c
mpu6000 increase MAIN stack
2018-09-02 15:31:54 -04:00
Daniel Agar
b75fa645ce
bmp280 increase MAIN stack
2018-09-02 15:31:54 -04:00
Daniel Agar
7cc0e69fcd
add px4fmu-v{3,4,5} stackcheck configs
2018-09-02 14:16:04 -04:00
Beat Küng
d5bef4a932
sf0x.cpp: avoid using exit()
2018-08-31 18:11:58 +02:00
Beat Küng
fe502ffd33
fix tone_alarm: avoid using exit()
...
On POSIX it exits the process.
2018-08-31 18:11:58 +02:00
David Sidrane
9246110161
samv7:tone_alarm refactor for Cdev
2018-08-30 19:11:17 +02:00
David Sidrane
75d7800deb
samv7:tone_alarm cleanup
2018-08-30 19:11:17 +02:00
David Sidrane
1306e28874
kinetis:tone_alarm remmove assert
2018-08-30 19:11:17 +02:00
David Sidrane
a0f70be238
stm32:tone_alarm remmove assert
2018-08-30 19:11:17 +02:00
David Sidrane
1fb7046052
stm32 tone_alarm: Remove stale documentation & cleanup
...
Since tune control came in this driver does not have a
have a test based interface. The module Documentation
has been moved to tune_control
minor cleanup and assert on workque delay of 0
2018-08-30 19:11:17 +02:00
David Sidrane
ec25e4b913
stm32 tone_alarm: Remove stale documentation
...
Since tune control came in this driver does not have a
have a test based interface. The module Documentation
has been moved to tune_control
2018-08-30 19:11:17 +02:00
David Sidrane
040ffd52a1
samv7:tone_alarm:ported to tune_control
2018-08-30 19:11:17 +02:00
David Sidrane
43e60b98aa
kinetis tone_alarm: Remove stale documentation & cleanup
...
Since tune control came in this driver does not have a
have a test based interface. The module Documentation
has been moved to tune_control
minor cleanup and assert on workque delay of 0
2018-08-30 19:11:17 +02:00
David Sidrane
6b4e549ba9
kinetis tone_alarm: Remove stale documentation
...
Since tune control came in this driver does not have a
have a test based interface. The module Documentation
has been moved to tune_control
2018-08-30 19:11:17 +02:00
Daniel Agar
12dd9b475e
tfmini add missing PX4_ERR argument
2018-08-30 19:04:13 +02:00
Daniel Agar
323ba9f837
batt_smbus.h missing header guard
2018-08-30 19:04:13 +02:00
Jake Dahl
5a678295b3
added a check to ensure the initialize settings function succeeds. If it does not, the driver fails gracefully. This handles the case that the device is not there.
2018-08-28 18:52:23 -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
Paul Riseborough
ad1c2b31d1
drivers: Always set GPS heading to NAN if not updated
2018-08-28 14:10:36 +02:00
Paul Riseborough
b2c7b44935
drivers: Prevent duplicate reporting of GPS heading
2018-08-28 14:10:36 +02:00
Daniel Agar
d0d1967a65
samv7 adc and tone_alarm move to cdev lib
2018-08-28 09:17:53 +02:00
Daniel Agar
1e7197976d
bmp280 move to cdev library
2018-08-28 09:17:53 +02:00
Jake Dahl
507a872546
Made changes as requested by the dev team.
2018-08-27 21:15:04 +02:00
Jake Dahl
07d606ef83
Added TI PGA460 driver functionality to PX4.
2018-08-27 21:15:04 +02:00
Daniel Agar
98a16fdc23
iridiumsbd cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
a40161a3ec
tap_esc cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
6e97194ce6
drivers/stm32 cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
6ee47eef14
px4io cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
01595947e5
px4fmu cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
7d57ce65dc
px4flow cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
51faca0f66
pwm_out_sim cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
3d6c1690c9
pwm_input cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
0ff1effd98
protocol_splitter cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00