Commit Graph

1878 Commits

Author SHA1 Message Date
Lorenz Meier 25f4a9873d BMA180: Fix code style 2015-09-05 22:10:24 +02:00
Lorenz Meier 18ee3a2bf9 BlinkM: Fix code style 2015-09-05 22:10:09 +02:00
Lorenz Meier bae6620421 PCA9685: Fix code style 2015-09-05 22:09:01 +02:00
Lorenz Meier ec36ea6031 PCA8574: Fix code style 2015-09-05 22:08:46 +02:00
Lorenz Meier 3ded4efb5a MD25: Fix code style 2015-09-05 22:07:15 +02:00
Lorenz Meier ebfae73108 MS5611 code style fix 2015-09-05 22:06:15 +02:00
Mark Charlebois 54bae34a2c Build fixes for qurt after rebase on PX4 master
Removed the re-definitions of the usage method in the posix/main.cpp file.
Added qurt_external_hook interface to call externally linked module.
Fixed code format to comply with PX4 style.
Added usage information to main app and handled cases for unknown arguments.
Fixed the orb_priority interface to use int32_t instead of int.
Fixes to get hil working with led changes.
Added the config_eagle_adsp.mk file and update the make files to to use new
include/lib paths

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-04 11:09:29 -07:00
David Sidrane 999982a033 Merge pull request #2803 from ksschwabe/master
Tone_Alarm: Added ability to use timer 1 and timer 8 for the tone alarm driver.
2015-09-03 06:06:04 -10:00
ksschwabe 6b7fe11c2e Tone_alarm: added checking to make sure HRT and Tone_alarm on different timers. 2015-09-03 17:52:57 +02:00
ksschwabe 9f300e054d Added ability to use timer 1 and timer 8 for the tone alarm driver. 2015-09-03 11:03:11 +02:00
tumbili 50a5fb94ad fix logic in posix access function 2015-09-03 09:56:07 +02:00
David Sidrane c5489b0598 Merge pull request #2759 from ksschwabe/master
Bug fix: Incorrect APBs used in HRT driver, tone alarm and, pwm_input driver.
2015-08-28 13:15:09 -10:00
Karl Schwabe 8e16fdeebf pwm_input bug fix: Incorrect APBs on timers 5, 9, 10, 11 and 12 2015-08-29 00:29:52 +02:00
Karl Schwabe 85bf7c31ab HRT driver fix : Incorrect APBs for timers 5, 10 and 11. 2015-08-29 00:07:20 +02:00
Randy Mackay aa1d7d7869 IRLock: fix compile error 2015-08-28 21:55:57 +02:00
ksschwabe fb2082e6ae Introduce new variable for TONE_ALARM_CLOCK_POWER_REG to account for timers being on different APBs 2015-08-26 11:03:32 +02:00
Mark Charlebois 3a47434749 Fixes for qurt HIL build
Workaround required Eigen downgrade to 3.2. Hexagon toolchain does
not support C++11 features of newest version of Eigen.

Running make qurt_fixup will downgrade and patch Eigen for qurt.
Running make restore will revert the patch and do a git submodule update
to restore the expected Eigen version.

Added a "restore" target to undo qurt_fixup

Before doing a qurt build run:

    make qurt_fixup

That will downgrade Eigen to 3.2 and apply the require patch.
To build another target after downgrading:

    make restore

Them make the desired target (other than qurt).

Fixed type used in orb_priority to be consistent with the code
(int* was used in declaration but int32_t* used in code)

Removed unused class member variable in sensors.cpp

Added cmake fix for unit tests. The location of px4_log.c changed.

Fixed the qurt drv_hrt.c implementation to use us instead of ms for time resolution

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with
duplicate files. It was moved out of common because it is not used by qurt.

Changed PX4_DEBUG to PX4_WARN when checking for the error condition for store_poll_waiter in vdev.cpp

Updated the px4_log.h file to make calls to the qurt_log functions.
The qurt_log function is defined in the platforms/qurt layer.

Added an option to control starting the commander module in HIL mode.

Moved the flight specific drivers to the configuration file instead of adding them
to the common tool chain file because HIL mode does not need them.

Added the uorb Subscriber and Publisher classes

Call PX4_ISFINITE macro instead of isfinite().

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with duplicate files.
It was moved out of common because it is not used by qurt.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-25 21:59:01 -07:00
ksschwabe 5b659407a6 Bug fix: Incorrect APBs used in HRT driver and tone alarm driver. 2015-08-25 17:24:11 +02:00
Lorenz Meier 9965ad2ccf Merge pull request #2732 from PX4/uorb_topics3
uORB topics: Moved all to auto-generated
2015-08-23 16:34:36 +02:00
Lorenz Meier 3b7685a8fe PWM Sim: Fix merge fail 2015-08-23 11:34:38 +02:00
Lorenz Meier 53d4c5473f Merge beta in master 2015-08-23 11:21:38 +02:00
Lorenz Meier b235420f17 HIL: Limit stack size of HIL app 2015-08-23 11:06:04 +02:00
Lorenz Meier 6bb941218c Limit stack size of HIL app launcher 2015-08-23 11:05:09 +02:00
Lorenz Meier 135543f03f Airspeed MEAS: fix code style 2015-08-23 10:49:09 +02:00
Lorenz Meier bac89be4b9 Airspeed ETS: fix code style 2015-08-23 10:48:58 +02:00
Lorenz Meier dcf7b81f83 Airspeed: fix code style 2015-08-23 10:48:48 +02:00
Lorenz Meier c41f32c17c Merge beta 2015-08-22 20:49:54 +02:00
Lorenz Meier be63859893 FMU driver: Remove excessive task space 2015-08-22 20:44:29 +02:00
Mark Whitehorn 9526f7c677 fix rc_input_s ref 2015-08-21 14:53:41 +02:00
Lorenz Meier e784cac786 Fix upper / lowercase typo in uORB topic names in driver headers 2015-08-20 11:33:25 +02:00
Lorenz Meier b23d41e90f IO driver: Update to uORB changes 2015-08-20 10:48:45 +02:00
Lorenz Meier 48b5a1a3fd FMU driver: Update to uORB changes 2015-08-20 10:48:33 +02:00
Lorenz Meier b71910e104 Range finder driver: Remove spurious orb_declare 2015-08-20 10:47:57 +02:00
Lorenz Meier f8354bcd26 Flow: Remove spurious orb_declare 2015-08-20 10:47:41 +02:00
Lorenz Meier b9face9766 PWM in / RC in driver: Move to generated uORB topic 2015-08-20 10:47:24 +02:00
Lorenz Meier b0a9679fca PWM out driver: Move to generated uORB topic 2015-08-20 10:46:59 +02:00
Lorenz Meier 36a787bd91 Mag: move to generated uORB topics 2015-08-20 10:19:19 +02:00
Lorenz Meier 1d1431e532 gyro: Move to generated uORB topics 2015-08-20 10:18:57 +02:00
Lorenz Meier 7e24240ec3 Baro: Move to generated uORB topics 2015-08-20 10:18:35 +02:00
Lorenz Meier 33a1e3127a Accel: Move to generated uORB topics 2015-08-20 10:18:10 +02:00
Simon Wilks 384047787a Fix travis/clang report of overloaded virtual functions. 2015-08-18 23:01:52 +02:00
Simon Wilks 4eef65f313 Enable ms5611 driver and fix build errors. 2015-08-18 23:01:52 +02:00
Andrew Tridgell 41b3452e22 ll40ls: added support for 'blue label' lidars
the key is splitting up read_reg() into two transfers
2015-08-17 09:18:38 +02:00
Andrew Tridgell f77620c3f4 mpu6000: check WHOAMI register
this prevents a mpu9250 being seen as a mpu6000
2015-08-17 09:17:07 +02:00
Andrew Tridgell 0e6cdecfad drv_sensor: added MPU9250 sensor defines 2015-08-17 09:16:58 +02:00
Andrew Tridgell 39e0a487bb mpu9250: first cut at a MPU9250 driver 2015-08-17 09:16:47 +02:00
Lorenz Meier e577ad582b FMU driver: Fix comment 2015-08-13 11:39:16 +02:00
Lorenz Meier 588146e536 PWM input driver: Add missing GPIO config for pin reset 2015-08-13 11:38:46 +02:00
Lorenz Meier 4e2bcf3315 LL40S: Remove printf in interrupt context 2015-08-13 09:50:47 +02:00
Lorenz Meier a4f1970775 FMU driver: Provide the 4 pwm mode as help text 2015-08-13 09:45:50 +02:00