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
4178910509
Merge branch 'cmake-mc' of github.com:mcharleb/Firmware into cmake-2
2015-09-11 21:51:17 +02:00
Lorenz Meier
1b1adf3835
Add required flag for OS X
2015-09-11 21:47:50 +02: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
James Goppert
ad321927e9
Added install target for nuttx.
2015-09-11 06:38:39 -04:00
Lorenz Meier
e673a25344
Fix flags for OS X
2015-09-11 11:58:04 +02:00
Mark Charlebois
b9ef1ee6ed
param: Build param without linker script
...
Changed to enable the posix_sitl_simple target to build and run
param show *
without using a linker script
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 02:33:42 -07:00
Mark Charlebois
885dbe045f
cmake: converted config files to new style
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 21:52:55 -07:00
James Goppert
0e8cc821a9
More config cleanup.
2015-09-11 00:15:33 -04:00
James Goppert
ec209f13f0
Simplified config handling.
2015-09-10 23:53:25 -04:00
James Goppert
3d52582dd7
Merge branch 'cmake-2' of github.com:jgoppert/Firmware into cmake-2
...
Conflicts:
CMakeLists.txt
2015-09-10 23:44:39 -04:00
James Goppert
07851b79c2
Work on config only for cmake arguments.
2015-09-10 23:43:59 -04:00
Mark Charlebois
3de04cf6f4
cmake: fixes for posix configs
...
The posix eagle targets were fixed to include the px4_impl_posix.cmake file
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 20:17:38 -07:00
Mark Charlebois
98897960e1
cmake: removed config_ prefix
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 20:02:31 -07:00
Mark Charlebois
0047b38c54
cmake: added Toolchain-arm-linux-gnueabihf
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 19:52:23 -07:00
Mark Charlebois
4beabff26b
cmake: fixed posix configs
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 19:38:22 -07:00
Mark Charlebois
cbb8ad19e5
cmake: Proof of concept for build without Makefile
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 19:15:11 -07:00
Mark Charlebois
5aa3c45b63
cmake: Unbreak all qurt and posix targets
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 19:01:51 -07:00
Mark Charlebois
d5a404896d
Merge branch 'cmake-2' of https://github.com/jgoppert/Firmware into cmake-mc
2015-09-10 18:39:12 -07:00
Mark Charlebois
270bc2ef5d
cmake: Fixed configs to use px4_get_config
...
The previous function name was changed to px4_get_config
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 18:37:54 -07:00
James Goppert
2c33f4921c
Add makefile magic to simplify maintenance.
2015-09-10 21:15:55 -04:00
Mark Charlebois
2a77ea6b34
Merge branch 'cmake-2' of https://github.com/jgoppert/Firmware into cmake-mc
2015-09-10 15:01:19 -07:00
Mark Charlebois
8dc5d7532e
Added more eagle build configurations
...
The config_qurt_eagle_travis.cmake target is for CI
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 15:00:20 -07:00
James Goppert
422d47dd9a
Merge pull request #40 from mcharleb/cmake-mc
...
cmake: Added dspal and eigen32 to top level CMakeLists.txt
2015-09-10 17:45:20 -04:00
James Goppert
6966331a88
Working on param xml gen. Haven't updated qurt config yet.
2015-09-10 17:44:27 -04:00
Mark Charlebois
cdcebfdb6e
Merge branch 'cmake-2' of https://github.com/jgoppert/Firmware into cmake-mc
2015-09-10 12:46:20 -07:00
James Goppert
149deeb11f
Fixed autostart.
2015-09-10 14:38:09 -04:00
Mark Charlebois
b09c8f3c9b
cmake: Added dspal and eigen32 to top level CMakeLists.txt
...
Relying on inclusion of git_eigen32 and git_dspal targets to trigger
the submodule init and update
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 11:18:30 -07:00
James Goppert
34eeee9fa9
Added defautl config for nuttx, nuttx now works over usb.
2015-09-10 13:57:54 -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
1eddfde439
Replaced awk with python script for bin_to_obj.
2015-09-10 02:03:29 -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
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
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
b6b25f2ad1
Nuttx sim support.
2015-09-09 08:18:41 -04: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
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
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
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
c16c6a00e3
Clean up location of nuttx specific template
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:08:50 -07:00