Commit Graph

14174 Commits

Author SHA1 Message Date
Lorenz Meier d7e69baf80 Merge pull request #2845 from mcharleb/cmake-posix-resurection
Remove policy that broke posix and fix gcc warning
2015-09-12 21:36:22 +02:00
Mark Charlebois 0a04dd89b1 Merge branch 'cmake-2' of https://github.com/PX4/Firmware into cmake-2
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	CMakeLists.txt
2015-09-12 12:28:24 -07:00
Lorenz Meier f6fb2715e9 Merge pull request #2846 from jgoppert/cmake-policy-fix
Fix policy version number.
2015-09-12 21:18:41 +02:00
James Goppert 7e41260135 Fix policy version number. 2015-09-12 15:08:54 -04:00
Mark Charlebois 3da0a2bf4f Remove policy that broke posix and fix gcc warning
A Clang only flag was set for all builds.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-12 11:22:13 -07:00
Lorenz Meier e697cabb6a POSIX: Exit on failure if not running as daemon. This is to ensure errors do not go unnoticed during bench testing 2015-09-12 17:12:16 +02:00
Lorenz Meier b528ecaa93 SITL RUN: Fix paths 2015-09-12 17:02:42 +02:00
Lorenz Meier 12372d7de6 POSIX: Abort script on executable failure 2015-09-12 16:58:14 +02:00
Lorenz Meier 4fb6e135d6 param: report open failure 2015-09-12 16:57:50 +02:00
Lorenz Meier 63f9a1e609 POSIX: 1) Really exit on CTRL-C, 2) Clean up boot log, 3) add eye-candy! 2015-09-12 15:45:19 +02:00
Lorenz Meier 0597c57c32 Simulator: Provide better and more user-facing feedback 2015-09-12 15:44:40 +02:00
Lorenz Meier d2f7f6e7a9 Update SITL run tool 2015-09-12 15:44:16 +02:00
Lorenz Meier 05c7a0683d Re-add missing ease-of-use make targets 2015-09-12 15:44:05 +02:00
Lorenz Meier 7f41238f70 POSIX: Add usleep shell command, add cout flush to exit command 2015-09-12 13:35:48 +02:00
Lorenz Meier 779efc1cbc POSIX: Fix shell printing 2015-09-12 12:11:17 +02:00
Lorenz Meier c19fa0c822 Revert "Revert "Disable autostart for now so usb works.""
This reverts commit 998acf4d08.
2015-09-12 12:06:45 +02:00
Lorenz Meier c5d1cb1cbc Params: Remove linker black magic and turn params into flat global struct 2015-09-12 11:26:20 +02:00
Lorenz Meier 4bc44841f6 CMAKE: Move flags to general location, disable sections for linker on Mac OS 2015-09-12 11:25:48 +02:00
Lorenz Meier ceb7204590 POSIX sim: Remove unused error variables 2015-09-12 10:52:44 +02:00
Lorenz Meier 2be7b82256 Navigator: Remove unused error variable 2015-09-12 10:52:22 +02:00
Lorenz Meier d222f6e664 EKF: Remove unused error variable 2015-09-12 10:52:07 +02:00
Lorenz Meier 849b61213c commander: Remove unused error variable 2015-09-12 10:51:52 +02:00
Lorenz Meier 998acf4d08 Revert "Disable autostart for now so usb works."
This reverts commit b2c67a4cf9.
2015-09-12 09:53:59 +02:00
Lorenz Meier 75dfa5a420 Remove outdated flow position estimator 2015-09-12 09:53:36 +02:00
Lorenz Meier fcc11a7455 Merge pull request #2839 from jgoppert/cmake-2
Cmake 2: Fix target names for extra builtins
2015-09-12 09:39:49 +02:00
James Goppert b2c67a4cf9 Disable autostart for now so usb works. 2015-09-12 02:22:27 -04:00
James Goppert 4c3f47a003 Builtin typo fix. 2015-09-12 01:53:01 -04:00
James Goppert 5ee0f18148 Improved module definition handling. 2015-09-12 01:35:09 -04:00
James Goppert 54f8dd2f4d Support parallel building through -j flag in makefile. 2015-09-12 01:33:36 -04:00
James Goppert 68a78b0580 Some cleanup of cmake module build. 2015-09-12 00:49:10 -04:00
James Goppert 0d28cdeb88 Fixed extra builtin target name. 2015-09-12 00:24:16 -04:00
James Goppert b05a21477a Merge branch 'cmake-2-qurt-fixes' of github.com:mcharleb/Firmware into cmake-2 2015-09-12 00:20:42 -04:00
Mark Charlebois ce17984bd5 qurt: removed linker script
Linker script no longer needed for qurt target

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 18:48:37 -07:00
Mark Charlebois 8369e33245 cmake: Fixes for qurt and nuttx
Added px4_parameters.c to nuttx executable src list.
Minor syntax fix in Tools/px_generate_params.py for semicolon.
Added handling of PX4_MAIN which was not yet supoprted in the
cmake build.
Fixed include quotes in muorb_test_example.cpp

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 18:32:44 -07:00
Mark Charlebois 1bba87c264 qurt: Changes for cmake build
Added build stubs.
Fixed missing module (platforms/common) which was causing missing generated message errors.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 17:43:25 -07:00
Lorenz Meier 6eb4d015fd Bring back user-friendly Makefile for non-Ubuntu users 2015-09-12 01:39:57 +02:00
Lorenz Meier 7c3de9bc2c Merge pull request #2837 from mcharleb/cmake-2-param-fixes
cmake: Updated makefile to show the available build configs
2015-09-12 01:21:55 +02:00
Mark Charlebois e4b9212e96 cmake: Updated makefie to show the available build configs
Also fixed param support for nuttx and qurt

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 16:15:48 -07:00
Lorenz Meier 31e5697cea OS X: Make param section generation compatible 2015-09-11 21:58:32 +02:00
Lorenz Meier 4178910509 Merge branch 'cmake-mc' of github.com:mcharleb/Firmware into cmake-2 2015-09-11 21:51:17 +02:00
Lorenz Meier 458b72352a Simulator: POSIX adjustments 2015-09-11 21:49:29 +02:00
Lorenz Meier d5f110cc92 sdlog2: POSIX adjustments 2015-09-11 21:49:19 +02:00
Lorenz Meier c29e47b3fc MAVLink: POSIX adjustments 2015-09-11 21:49:06 +02:00
Lorenz Meier 60db613a8f EKF: OS X adjustments 2015-09-11 21:48:50 +02:00
Lorenz Meier 12a1ffd27b Commander: POSIX adjustments 2015-09-11 21:48:36 +02:00
Lorenz Meier 0f98a7c141 OS X: Add missing time calls 2015-09-11 21:48:06 +02:00
Lorenz Meier 1b1adf3835 Add required flag for OS X 2015-09-11 21:47:50 +02:00
Mark Charlebois 05340f4ced Merge branch 'cmake-2' of https://github.com/jgoppert/Firmware into cmake-mc 2015-09-11 12:42:53 -07:00
Mark Charlebois fc3acdb2c1 cmake: param refactoring
Use a struct to contain all the parameters so the ordering in
memory is not machine dependent.

Add number of parameters to the param struct. The struct actually
allows direct accessing by the member name if desired.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 12:41:00 -07:00
Lorenz Meier 5b86f3f3b3 Merge branch 'cmake-2' of github.com:jgoppert/Firmware into cmake-2 2015-09-11 21:39:45 +02:00