Commit Graph

14079 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 f7fe33e6a4 Removed old module list from nuttx firmware. 2015-09-10 12:40:34 -04:00
James Goppert b0f5ad671a Merge pull request #39 from mcharleb/cmake-mc
cmake: fixes for qurt build after refactoring
2015-09-10 12:33:56 -04:00
Mark Charlebois 08dc74afac cmake: fixes for qurt build after refactoring
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 09:29:21 -07:00
James Goppert cadc7280b7 Fixed makefile upload link. 2015-09-10 03:05:17 -04:00
James Goppert c66581d2ce Travis fixes. 2015-09-10 02:42:41 -04:00
James Goppert 3b231ec0a7 Travis fix for cmake. 2015-09-10 02:29:26 -04:00
James Goppert b7699bff5a Changes to travis for cmake build. 2015-09-10 02:21:40 -04:00
James Goppert 1eddfde439 Replaced awk with python script for bin_to_obj. 2015-09-10 02:03:29 -04:00
James Goppert 0286136c68 Addressed scope question. 2015-09-09 23:18:53 -04:00
James Goppert d0c89b8396 Attempted to fix qurt build, some cleanup of old module funcs. 2015-09-09 23:11:25 -04:00
James Goppert 323ae36d9f Added nuttx sim config. 2015-09-09 23:07:30 -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 a529153062 Merge pull request #38 from mcharleb/cmake-mc-3
cmake: changes required for qurt build
2015-09-09 16:34:00 -04:00
Mark Charlebois 9c376119d0 cmake: changes required for qurt build
Fixed CMakeLists.txt to be consistent with module.mk
Converted PX4_TICKS_PER_SEC to define for QURT to get around relocation error
Added stubs for QURT so building a full executable can be tested. This will
enable CI testing without the full Hexagon SDK.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-09 13:24:29 -07:00
James Goppert 1afa965f45 Merge pull request #37 from mcharleb/cmake-mc-3
cmake: added support for topic_listener.cpp
2015-09-09 13:21:04 -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
James Goppert 521b8ed452 Merge pull request #36 from mcharleb/cmake-mc-3
qurt: Updated the version of dspal headers
2015-09-09 08:30:12 -04: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
Lorenz Meier b3fa497064 Merge pull request #2826 from mcharleb/dspal_update
qurt: Updated dspal version
2015-09-09 08:26:53 +02:00
Mark Charlebois c815ddb661 qurt: Updated dspal version
Added missing extern "C" blocks

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 19:45:48 -07:00
Mark Charlebois d5d758bdc6 qurt: Updated the version of dspal headers
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 19:34:59 -07:00
James Goppert b781093c19 Deleted extra cmake file. 2015-09-08 22:32:58 -04:00
James Goppert 50329d91aa Merge pull request #35 from mcharleb/cmake-mc-4
Cmake mc 4
2015-09-08 22:22:52 -04:00
Mark Charlebois dd26a80cc2 Merge branch 'cmake-2' of https://github.com/jgoppert/Firmware into cmake-mc-3 2015-09-08 19:19:34 -07:00
Mark Charlebois b561215017 cmake: fixes for apps.h generation for posix and qurt
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 19:17:53 -07:00
James Goppert f6d7259253 Merge pull request #34 from mcharleb/cmake-mc-3
cmake qurt and posix fixes for cmake
2015-09-08 22:05:16 -04:00
Mark Charlebois dbc60d99c5 cmake: qurt fix to build shared lib, not executable
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 18:50:11 -07:00
Mark Charlebois 75f1f91784 cmake qurt and posix fixes for cmake
Added generation of build_git_version.h

Added separate src/lib/eigen-3.2 dir for qurt (new submodule)

Added patching of eigen-3.2 for qurt (compiler has issue with Complex)

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 18:39:51 -07:00
James Goppert 73a328473e Fix for posix linker script. 2015-09-08 21:22:05 -04:00
James Goppert 126325bace Work on posix. 2015-09-08 20:50:18 -04:00
James Goppert fbebeab1b4 Added mixer generation. 2015-09-08 19:27:38 -04:00
James Goppert d9a620ce69 Merge pull request #33 from mcharleb/cmake-mc-2
Hack to get posix build partially working
2015-09-08 19:15:32 -04:00
Mark Charlebois 9c8dd69f29 Removed debug
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 16:14:11 -07:00
Mark Charlebois 91cf77c68b Added more missing modules for posix
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 16:12:45 -07:00
Mark Charlebois 3d42a24398 Added missing modules for posix
MOst of the link errors are resolved. Param is still an issue.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 16:02:07 -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 eb3e2e7d89 Merge pull request #32 from mcharleb/cmake2-mc
Cmake2 mc
2015-09-08 18:14:37 -04:00
Mark Charlebois 4885bbbdd1 Added px4_mangle_name function to px4_base.cmake
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:36:09 -07:00
Mark Charlebois e82ea34e51 Changed builtin_commands.cpp_stub to builtin_commands.cpp_in
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:19:29 -07:00
Mark Charlebois d343edaa66 Moved qurt changes to src/firmware/qurt/CMakeLists.txt
The src/CMakeLists.txt are now in src/firmware/${OS}/CMakeLists.txt

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:13:54 -07:00
Mark Charlebois c16c6a00e3 Clean up location of nuttx specific template
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:08:50 -07:00
Mark Charlebois 29520dc5b1 Fixed nuttx libs in qurt build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:07:43 -07: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
Mark Charlebois 0de5868ee2 More qurt support
The current approach of distributing submodule inclusion logic makes
evert parent dir need to know about all build targets.

This approach goes back to the previous way of centralizing the build
dirs in a single file.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:06:55 -07:00
James Goppert 14cafa0143 Fixed qurt firmware target name. 2015-09-08 15:21:55 -04:00
James Goppert ecf99650c8 Fixed upload for nuttx. 2015-09-08 15:20:43 -04:00