Commit Graph
2968 Commits
Author SHA1 Message Date
Lorenz Meier 76508ab5b5 Device:: Move to POSIX semaphore abstraction 2015-09-20 00:27:41 +02:00
Lorenz Meier 7c9294e90a Merge pull request #2851 from jgoppert/cmake-io
Work on px4io firmware building.
2015-09-19 10:52:51 +02:00
Lorenz Meier b067a0c094 Merge branch 'ekf_voting_priority' 2015-09-19 10:51:01 +02:00
Nate Weibley 90894530e1 Fix POSIX build 2015-09-18 10:55:39 -04:00
Nate Weibley 04a7d19405 Add parameter to limit the maximum brightness of the RGB LED 2015-09-18 10:21:50 -04:00
Mark Charlebois 7d2ba97511 Fixed poll timeout bug
The SIGCONT signal was being ignored by the HRT queue thread so the
usleep was not waking up early to process new work.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-16 15:24:58 -07:00
Lorenz Meier dd697d1343 GPS: Remove unused header 2015-09-16 18:12:05 +02:00
Lorenz Meier 27055184de Linux device build fix 2015-09-16 17:37:05 +02:00
Lorenz Meier 686caf4ca4 Fix semaphore handling for device on Mac OS 2015-09-16 17:10:24 +02:00
James Goppert 676a3d230c Work on px4io firmware building. 2015-09-13 23:20:00 -04:00
Lorenz Meier bdf5180b18 PX4IO driver: Get rid of weak function 2015-09-13 23:31:20 +02:00
Lorenz Meier 334c001cda IO driver: Add interface header 2015-09-13 23:25:27 +02:00
James Goppert e55af00222 Removed weak attributes. 2015-09-13 14:40:27 -04:00
James Goppert 181d8db128 Merge branch 'master' into cmake-2 2015-09-10 14:03:48 -04:00
James Goppert 34eeee9fa9 Added defautl config for nuttx, nuttx now works over usb. 2015-09-10 13:57:54 -04:00
James Goppert bf18c84652 Cleanup of module building. 2015-09-09 23:00:58 -04:00
tumbili 10171df59a ll40ls: do not start driver if already started 2015-09-09 22:58:51 +02:00
James Goppert cf37394484 Added board config for nuttx sim. 2015-09-09 08:28:54 -04:00
James Goppert b6b25f2ad1 Nuttx sim support. 2015-09-09 08:18:41 -04:00
Mark Charlebois eb40a6de77 cmake: qurt modules now build but do not link
Managed to get the deps set up to build the qurt modules using a
config file for the list of modules.

NuttX link options are being set somewhere that break the qurt build

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:07:43 -07:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier 7465a649c3 STM32 driver: Fix code style 2015-09-06 12:07:10 +02:00
Lorenz Meier d6a90db5ba FMU driver: Fix code style 2015-09-06 12:06:54 +02:00
Lorenz Meier 8421d51d5e PX4IO driver: Fix code style 2015-09-06 12:05:37 +02:00
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
Lorenz Meier d532e372ac Merge branch 'master' into ekf_voting 2015-09-05 17:41:21 +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
Lorenz Meier 299ccab3ae MS5611: Fix build error 2015-08-30 11:37:26 +02:00
Lorenz Meier 2b090d62c9 HoTT telemetry: Update to new sensors combined topic 2015-08-30 11:37:26 +02:00
Lorenz Meier b18b1c8b09 FrSky telemetry: Update to new sensors combined topic 2015-08-30 11:37:26 +02:00
Lorenz Meier 9be3331d9b Merge branch 'master' into attitude_estimator_q_voting 2015-08-29 17:56:52 +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
Lorenz Meier 361f858c14 Merged master 2015-08-28 23:05:58 +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