1889 Commits

Author SHA1 Message Date
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
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