Daniel Agar
3f3a44fec5
cmake status message if MEMORY_DEBUG enabled
9 years ago
Julian Oes
b24eded7a0
cmake: use module name if no main is available
9 years ago
Julian Oes
cdd45a7b2d
cmake: add define for module name
9 years ago
Michael Schäuble
d9422e0296
Add Parrot Bebop as build target ( #4698 )
...
* Add parrot bebop build structure
* Add upload functionality to bebop build
* Add modules and commands to bebop build
9 years ago
Daniel Agar
5be1f3a856
ASan use normal optimization (MEMORY_DEBUG=1)
...
- see #4530
9 years ago
Daniel Agar
2487dbfc92
remove Wpacked and cleanup unused warning flags
9 years ago
Kabir Mohammed
529460d573
Fix RPi2 build system
9 years ago
Beat Küng
7f65e01d07
cmake: avoid GLOB for *.msg files and use an explicit .msg file enumeration
...
This makes sure that adding & removing of .msg files is handled properly
by the build system.
9 years ago
Beat Küng
6e7c605279
Tools/px_generate_uorb_topic*: combine the src & header generators into one script
9 years ago
Daniel Agar
76387b1693
uorb autogeneration
9 years ago
Daniel Agar
a4c7fe50a7
travis-ci proper git version
9 years ago
Lorenz Meier
e016f6ca38
Clang: Do not use new pointer option
9 years ago
Julian Oes
097840ef83
eagle: fix DSP build
...
The hexagon-clang is clang-3.5 and does not support -fcheck-new.
9 years ago
Beat Küng
7d733c5ccd
cmake: add -fcheck-new to cxx_compile_flags
...
GCC assumes that operator new never returns null, but throws an exception
instead. This is defined by the C++ standard, and thus ok. But we disable
exceptions with -fno-exceptions, so we break this assumption. GCC then goes
ahead and removes some of our nullptr checks. This flag removes the
assumption.
This adds ~1.4kB to the binary size of the px4fmu-v4 target.
9 years ago
Lorenz Meier
1e7f19335d
Build: Less verbose
9 years ago
Daniel Agar
7aa6e85563
enable Wshadow
9 years ago
David Sidrane
a08cce27d7
Allow paramter culling to be tunred off
9 years ago
Lorenz Meier
ff3e17df0d
Systemlib: Add FW and OS versioning
9 years ago
Lorenz Meier
0c7a4fd66e
Make parameter source file generation properly depend on board config
9 years ago
David Sidrane
64d43ad381
Scope parameter included in build by cmake/configs
...
Conflicts:
Tools/px_generate_params.py
src/lib/ecl
9 years ago
Daniel Agar
93d261a558
cmake fix px4_base linker flags
9 years ago
Daniel Agar
0b54bb99f9
NuttX quiet build
...
cmake combine NuttX copy and export
-NuttX wasn't recopying if it fails to compile
9 years ago
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
9 years ago
Julian Oes
1afb7af2bb
cmake: don't mess with git submodules everywhere
...
It's enough to have the check_submodules.sh script. The rest needs to
go.
9 years ago
Julian Oes
994947ea84
Makefile/cmake/Tools: add easy Snapdragon upload
...
This adds a a target `make eagle_default` to build both the POSIX and
the QURT side in one command. Also, it adds an upload target for both to
push the files over adb to the device. This doesn't just push the
executables and lib files, but also the startup config files.
9 years ago
Daniel Agar
5a167ea99d
reorder compiler options to respect -Wno-sign-compare
...
-closes #3867
9 years ago
Mark Charlebois
419f4c49ce
Added new config entry for DF driver entries
...
DF drivers can now be added in each config file by adding
set(config_df_driver_list
bmp280
...
)
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
9 years ago
Julian Oes
5cf3215e38
cmake: try to compile and link everything for MPU
...
Unfortunately this still gives linking errors.
9 years ago
Mark Charlebois
63620afead
Added -fPIC flag for only qurt build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
9 years ago
Mark Charlebois
9f3bf8e9f4
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
9 years ago
Lorenz Meier
df28f970fa
CMake: Fix submodule init
9 years ago
Lorenz Meier
9583ff1b8b
Add memory debugging switch support
9 years ago
Mark Charlebois
f22c574b87
Integrated cmake_hexagon for qurt build
...
Still a WIP since the IDL file needs to be replace with the
muorb IDL file.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
9 years ago
Lorenz Meier
c97854999a
Re-add content
9 years ago
Lorenz Meier
3a2473e309
Revert Address sanitizer changes
9 years ago
Lorenz Meier
8f8154cb1c
Sanitize address
9 years ago
Mark Charlebois
c4438bf50a
Fix to move DriverFramework includes to common
...
Nuttx now gets to link phase. But there are two unresolved symbols:
arm-none-eabi/include/c++/4.7.4/bits/basic_string.h:1128: undefined reference to `std::string::assign(char const*, unsigned int)'
arm-none-eabi/include/c++/4.7.4/bits/stl_list.h:1534: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
9 years ago
Lorenz Meier
a9a1e69dd6
CMake: Enable param meta injection
9 years ago
jgoppert
27df787bff
Separated matrix lib into own repo.
9 years ago
Lorenz Meier
c912be70d1
Update approach to obtain the head git hash
9 years ago
Lorenz Meier
f042c077b2
Fix compile fail for GIT version
9 years ago
Lorenz Meier
b622080a65
Switch GIT command for revision hash
9 years ago
Lorenz Meier
ba61f3f36c
Re-add missing flags
9 years ago
Lorenz Meier
6c3c18b7c9
Robustify toolchain string matching
9 years ago
Lorenz Meier
aff78e0f5e
CMake / Ninja: Use console flag so upload targets can print their normal output and receive input.
9 years ago
Mark Charlebois
0e967d0874
qurt: Change to Hexagon 7.2.10 compiler
...
Switched to 7.2.10 since the Linux version of this is available.
Added -DHAS_C9X flag to fix isses with undefined math functions
when using hexagon-clang++.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
9 years ago
Daniel Agar
a3f207f515
cmake fix windows upload
9 years ago
Daniel Agar
adc59b9e71
cmake improve submodule handling
9 years ago
Daniel Agar
77f2295b62
cmake restore -Wbad-function-cast
9 years ago
Daniel Agar
5865dc6434
cmake add libuavcan as subdirectory
...
-move uavcan submodule to src/modules/uavcan/libuavcan
-adding libuavcan as a subdirectory simplifies inheriting all compile
flags and include paths
9 years ago