476 Commits

Author SHA1 Message Date
Stefan
8701e0ba78 Update test_mathlib.cpp
spelling mistakes
2016-01-11 08:37:43 +01:00
Stefan
b274a3f6d1 Update test_eigen.cpp
spelling mistakes
2016-01-11 08:37:43 +01:00
Lorenz Meier
1cdb2d3209 PWM command: Ensure we have enough stack 2016-01-10 16:11:30 +01:00
Lorenz Meier
a3b1605782 Fix usage of PWM defines in test command 2015-12-16 16:38:41 +00:00
Lorenz Meier
73e26804da Fix HRT tests 2015-12-04 23:20:31 +01:00
Lorenz Meier
f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
Lorenz Meier
bb2d3a36b7 Remove old build system artifact 2015-11-28 09:13:15 +01:00
Lorenz Meier
05840535f1 Fix math tests 2015-11-28 09:13:15 +01:00
Mark Charlebois
f3126e9d3a Fixes for DriverFramework, accelsim and gyrosim
DriverFramework was updated to properly delete nodes in managed lists.

Baro was fixed to use DriverFramework.

Accelsim was fixed with change to DriverFramework to return < 0 when start()
is called and the driver was already started, or stop() is called but the
driver was not running.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-24 22:46:20 -08:00
Karl Schwabe
48c467f602 Remove CONFIG_ARCH_BOARD #ifdef dependencies from mtd
Since mtd already checks whether CONFIG_MTD_RAMTRON is set in
defconfig use this define to check whether to call ramtron_attach()
or at24xxx_attach() in the main function, instead of checking
CONFIG_ARCH_BOARD_PX4FMU-V1.

Also instead of using #ifdef CONFIG_ARCH_BOARD_AEROCORE to determine
whether to start mtd on spi 2 or 4, rather use a new board define
PX4_SPI_BUS_RAMTRON in the board_config.h file.
2015-11-13 16:30:57 +01:00
Lorenz Meier
ad4d841b8a Mixer command: Clean up output 2015-11-04 10:46:29 +01:00
Mark Charlebois
bc2ea895ea renamed test_param.c test_params.c
Changed name to match search pattern *params.h

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-10 01:22:35 -07:00
Lorenz Meier
acd7235880 FMUv2: Add topic listener 2015-10-10 12:27:45 +02:00
Daniel Agar
4151522902 only enforce frame size for nuttx 2015-10-06 23:37:33 -04:00
Daniel Agar
6c10cf18e4 re-enable Werror 2015-10-06 18:28:30 -04:00
Daniel Agar
2529f07d44 restore format check 2015-10-06 18:28:30 -04:00
Lorenz Meier
a4e56abd71 Merge branch 'master' into cmake-2 2015-09-27 14:23:00 +02:00
Thomas Gubler
0a79c809ad fix 'ignoring return value of function declared with warn_unused_result' 2015-09-27 13:32:17 +02:00
Mark Charlebois
1abd61303f qurt: Added patch for Eigen to use latest version
Updated to 7.2 Hexagon toolchain

Fixed issuse with stack usage

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-24 15:16:00 -07:00
James Goppert
2a60ffd554 Added stdc_format_macros for all inttypes.h includes. 2015-09-24 17:44:27 -04:00
Lorenz Meier
74a9850439 Param: Be less verbose 2015-09-20 16:40:33 +02:00
Lorenz Meier
7c3725772a Param: Be less verbose when nothing changes 2015-09-20 15:22:15 +02:00
Lorenz Meier
fe644fb3e0 Merge branch 'cmake-2' into cmake-2-pthread 2015-09-20 12:56:14 +02:00
Lorenz Meier
1c27b9fa41 Topic listener: Re-enable in build 2015-09-20 12:56:03 +02:00
Lorenz Meier
52130b20b8 Merge branch 'cmake-2' into cmake-2-pthread 2015-09-20 11:01:58 +02:00
Lorenz Meier
af11a22472 Temporarily disable topic listener until it can deal with arrays 2015-09-20 11:01:41 +02:00
Lorenz Meier
3599b577df Tests: Move to semaphore abstraction 2015-09-20 00:29:38 +02:00
James Goppert
676a3d230c Work on px4io firmware building. 2015-09-13 23:20:00 -04:00
Lorenz Meier
4fb6e135d6 param: report open failure 2015-09-12 16:57:50 +02:00
James Goppert
bf18c84652 Cleanup of module building. 2015-09-09 23:00:58 -04:00
Mark Charlebois
5a59d7d74f cmake: added support for topic_listener.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-09 10:15:37 -07:00
Mark Charlebois
7e1c984234 Hack to get posix build partially working
Created a dummy build_git_version.h so I did not have to figure out
how to generate it.

Commented out topic_listener.cpp from src/systemcmds/CMakeLists.txt
because it depends on a generated cpp file.

Link doesn't work mut many modules build

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 15:39:13 -07:00
James Goppert
1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Daniel Agar
9fcbc1fb6f format src/systemcmds/ver 2015-09-05 12:21:13 -04:00
Daniel Agar
2fdbdd15ec format src/systemcmds/tests 2015-09-05 12:21:12 -04:00
Daniel Agar
bed3fdf952 format src/systemcmds/reflect 2015-09-05 12:21:12 -04:00
Daniel Agar
01cc966b3b format src/systemcmds/reboot 2015-09-05 12:21:11 -04:00
Daniel Agar
354bde9627 format src/systemcmds/pwm 2015-09-05 12:21:11 -04:00
Daniel Agar
11027836c6 format src/systemcmds/param 2015-09-05 12:21:11 -04:00
Daniel Agar
88d58ae051 format src/systemcmds/nshterm 2015-09-05 12:21:11 -04:00
Daniel Agar
edf010c6a9 format src/systemcmds/mtd 2015-09-05 12:21:11 -04:00
Daniel Agar
7527026b89 format src/systemcmds/motor_test 2015-09-05 12:21:11 -04:00
Daniel Agar
1cca86e8b5 format src/systemcmds/mixer 2015-09-05 12:21:11 -04:00
Daniel Agar
329ff0e036 format src/systemcmds/i2c 2015-09-05 12:21:11 -04:00
Daniel Agar
2c95a905c4 format src/systemcmds/esc_calib 2015-09-05 12:21:10 -04:00
Daniel Agar
5c2b1d7813 format src/systemcmds/config 2015-09-05 12:21:10 -04:00
Daniel Agar
8b2ce6708a format src/systemcmds/bl_update 2015-09-05 12:21:10 -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
Lorenz Meier
c41f32c17c Merge beta 2015-08-22 20:49:54 +02:00
Lorenz Meier
b70c9a84c6 systemlib: Add ability to dump memory usage 2015-08-22 15:26:28 +02:00