26 Commits

Author SHA1 Message Date
Lorenz Meier
7d7333cdea Better output on submodule check fail 2016-01-12 10:33:24 +01:00
Lorenz Meier
365ef883e3 Check submodules during each build 2016-01-12 10:14:15 +01:00
Daniel Agar
adc59b9e71 cmake improve submodule handling 2015-10-14 12:13:33 -04: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
David Sidrane
67f1fbf844 Need recusive submodule checkout 2015-07-09 11:34:18 -10:00
Lorenz Meier
14247d95dd Ensure Eigen is installed as submodule 2015-03-20 00:01:32 +01:00
Lorenz Meier
37ec1ec8de Improve submodule checking 2015-02-03 20:27:51 +01:00
Lorenz Meier
53f1b31902 Do not abort on submodule init feedback 2014-07-24 21:41:09 +02:00
Lorenz Meier
086fc7f758 Merge pull request #1128 from PX4/uavcan
Basic UAVCAN support
2014-07-22 06:48:49 +02:00
Lorenz Meier
8960c9e0a8 better submodule instructions 2014-07-12 19:28:10 +02:00
Lorenz Meier
a2f528c5ba Merged master 2014-07-12 16:11:43 +02:00
Pavel Kirienko
024c8213a1 Fixed check_submodules.sh for UAVCAN 2014-07-12 17:45:05 +04:00
Pavel Kirienko
9a56892c2b Merge branch 'master' into uavcan 2014-07-12 17:38:49 +04:00
Lorenz Meier
5bb8c50112 Fixed the submodule check logic 2014-07-10 16:14:21 +02:00
Simon Wilks
13b41a2629 Add quotes around the variable. It's safer. 2014-07-08 19:17:25 +02:00
Simon Wilks
b4ab31a2ba A more compatible way of checking for an empty string. 2014-07-08 19:11:28 +02:00
Pavel Kirienko
6814ddccff UAVCAN as a submodule 2014-07-08 20:19:17 +04:00
Lorenz Meier
76f82bf237 Updated submodule update instructions 2014-07-08 15:04:01 +02:00
Andrew Tridgell
bc06d839ea Tools: skip check_submodules.sh when GIT_SUBMODULES_ARE_EVIL is set
this avoids using submodules when a specific NuttX tree is specified
2014-07-08 15:01:48 +02:00
Lorenz Meier
52713bc0ba Revert "Tools: skip check_submodules.sh when NUTTX_SRC is set"
This reverts commit ac8f179f2dad99d664a6f9de4df954bea7fe5858.
2014-07-08 15:00:44 +02:00
Andrew Tridgell
ac8f179f2d Tools: skip check_submodules.sh when NUTTX_SRC is set
this avoids using submodules when a specific NuttX tree is specified
2014-07-08 13:56:02 +02:00
Lorenz Meier
2eb018b273 bugfixes for checks and tools 2014-07-07 22:20:55 +02:00
Lorenz Meier
cd9f4f33a5 Turn instructions into a makefile command, allowing Windows GUI kids to create a make target in Eclipse just for this 2014-07-07 17:51:30 +02:00
Lorenz Meier
72ccbe9c4e Fixed check tools 2014-07-07 17:35:47 +02:00
Lorenz Meier
4c2cc65ca6 Cleaning up sub modules 2014-07-07 17:18:54 +02:00
Thomas Gubler
68dbf0057a add mavlink submodule check script
The script checks if the mavlink submodule is up to date
2014-07-07 15:25:32 +02:00