Lorenz Meier
1b1adf3835
Add required flag for OS X
10 years ago
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>
10 years ago
James Goppert
ad321927e9
Added install target for nuttx.
10 years ago
Lorenz Meier
e673a25344
Fix flags for OS X
10 years ago
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>
10 years ago
Mark Charlebois
885dbe045f
cmake: converted config files to new style
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
James Goppert
0e8cc821a9
More config cleanup.
10 years ago
James Goppert
ec209f13f0
Simplified config handling.
10 years ago
James Goppert
07851b79c2
Work on config only for cmake arguments.
10 years ago
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>
10 years ago
Mark Charlebois
98897960e1
cmake: removed config_ prefix
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
0047b38c54
cmake: added Toolchain-arm-linux-gnueabihf
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
4beabff26b
cmake: fixed posix configs
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
cbb8ad19e5
cmake: Proof of concept for build without Makefile
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
5aa3c45b63
cmake: Unbreak all qurt and posix targets
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
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>
10 years ago
James Goppert
2c33f4921c
Add makefile magic to simplify maintenance.
10 years ago
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>
10 years ago
James Goppert
6966331a88
Working on param xml gen. Haven't updated qurt config yet.
10 years ago
James Goppert
149deeb11f
Fixed autostart.
10 years ago
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>
10 years ago
James Goppert
34eeee9fa9
Added defautl config for nuttx, nuttx now works over usb.
10 years ago
Mark Charlebois
08dc74afac
cmake: fixes for qurt build after refactoring
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
James Goppert
1eddfde439
Replaced awk with python script for bin_to_obj.
10 years ago
James Goppert
d0c89b8396
Attempted to fix qurt build, some cleanup of old module funcs.
10 years ago
James Goppert
323ae36d9f
Added nuttx sim config.
10 years ago
James Goppert
bf18c84652
Cleanup of module building.
10 years ago
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>
10 years ago
Mark Charlebois
5a59d7d74f
cmake: added support for topic_listener.cpp
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
James Goppert
b6b25f2ad1
Nuttx sim support.
10 years ago
Mark Charlebois
b561215017
cmake: fixes for apps.h generation for posix and qurt
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
dbc60d99c5
cmake: qurt fix to build shared lib, not executable
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
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>
10 years ago
James Goppert
73a328473e
Fix for posix linker script.
10 years ago
James Goppert
126325bace
Work on posix.
10 years ago
Mark Charlebois
9c8dd69f29
Removed debug
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
91cf77c68b
Added more missing modules for posix
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
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>
10 years ago
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>
10 years ago
Mark Charlebois
4885bbbdd1
Added px4_mangle_name function to px4_base.cmake
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
e82ea34e51
Changed builtin_commands.cpp_stub to builtin_commands.cpp_in
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
c16c6a00e3
Clean up location of nuttx specific template
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
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>
10 years ago
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>
10 years ago
James Goppert
9d18337647
Fixed issues noted by voon, start of python script for bin to obj.
10 years ago
James Goppert
bbf043e327
More work on romfs.
10 years ago
James Goppert
b7850fc319
Fixed romfs building.
10 years ago
James Goppert
34f00ede4d
Merge.
10 years ago
James Goppert
bf9e541d19
Got romfs generation working.
10 years ago
Mark Charlebois
44dd4160a2
cmake: Adding qurt build support
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago