px4-firmware/unittests
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
..
arch/board Move unittests into a more perceivable directory 2014-12-20 13:54:58 +01:00
data Move unittests into a more perceivable directory 2014-12-20 13:54:58 +01:00
gtest@cdef6e4ce0 Integrate the Google Test framework. 2014-12-25 08:10:21 +01:00
nuttx Move unittests into a more perceivable directory 2014-12-20 13:54:58 +01:00
testdata Graupner HoTT SUMD/SUMH Receiver Protocol added 2015-03-07 11:39:00 +01:00
uorb_unittests uORB: fixed copyright on unit tests 2015-07-24 18:50:39 -07:00
.gitignore Unit tests: Improve git ignore file 2014-12-26 14:47:53 +01:00
CMakeLists.txt Fixes for qurt HIL build 2015-08-25 21:59:01 -07:00
autodeclination_test.cpp unittests fix code style 2015-03-19 23:49:35 +01:00
board_config.h Move unittests into a more perceivable directory 2014-12-20 13:54:58 +01:00
conversion_test.cpp unittests fix code style 2015-03-19 23:49:35 +01:00
debug.h Added confitional definition 2015-06-03 22:49:57 +02:00
hrt.cpp unittests fix code style 2015-03-19 23:49:35 +01:00
mixer_test.cpp unittests fix code style 2015-03-19 23:49:35 +01:00
param_test.cpp Param unit test: Fix CLANG compile warning 2015-06-30 07:15:40 +02:00
queue.h unittests fix code style 2015-03-19 23:49:35 +01:00
run_tests.sh Move unittests into a more perceivable directory 2014-12-20 13:54:58 +01:00
sbus2_test.cpp POSIX: Fixed remaining broke gtests 2015-06-11 20:22:49 -07:00
sf0x_test.cpp unittests fix code style 2015-03-19 23:49:35 +01:00
st24_test.cpp unittests fix code style 2015-03-19 23:49:35 +01:00
sumd_test.cpp trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
uorb_stub.cpp unittests fix code style 2015-03-19 23:49:35 +01:00