Daniel Agar
5126e6ea61
cmake: use gold linker if available
2019-10-01 20:44:07 -04:00
Daniel Agar
fb7521eb5e
cmake px4_base -> px4_parse_function_args
2019-09-15 14:36:38 -04:00
Daniel Agar
d256fb8770
cmake px4_find_python_module move to standalone file
2019-09-15 14:36:38 -04:00
Daniel Agar
f2189dd045
CMakeLists.txt extract top level helpers (ccache, doxygen, metadata, etc)
2019-09-15 14:36:38 -04:00
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
2019-08-30 07:59:44 +02:00
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
2019-08-30 07:59:44 +02:00
Daniel Agar
030508a71d
cmake make bloaty available everywhere and improve output
2019-08-05 00:19:18 -04:00
Daniel Agar
dc10a68539
NuttX and apps update 7.29
2019-07-10 12:58:35 -04:00
Matthias Grob
146a3866c0
Testing: hotfix to recover test coverage CI
...
CMAKE_TESTING should automatically be enabled
but I hoped to do that in the test.cmake
target specific options and not in the main
CMakeLists. I have to see if I can make that
order work. Here the hotfix to make CI work
again.
2019-06-14 06:54:10 -07:00
Matthias Grob
868b4e1746
Testing: correct license headers
2019-05-09 09:42:46 +02:00
Matthias Grob
cbd230e34e
Testing: Clean up unit_test target because test_results does all tests now
2019-05-09 09:42:46 +02:00
Matthias Grob
542f61f04b
testing build: add possibility to filter tests with ctest regex
2019-05-09 09:42:46 +02:00
Matthias Grob
5020dfdc3d
Testing: switch unit tests to BUILD_TESTING
2019-05-09 09:42:46 +02:00
Matthias Grob
0ff64bf101
Improve ctest unit test naming and filtering
2019-05-09 09:42:46 +02:00
Matthias Grob
63b967f5df
Add unit testing possibility using googletest on POSIX
2019-05-09 09:42:46 +02:00
Julian Oes
7dc10d2bea
CMakeLists.txt: fix cmake warning
...
It implicitly converted STRINGS to STRING.
2019-05-02 16:26:37 -05:00
Daniel Agar
40e42a677b
NuttX cmake support optional compressed defconfigs
2019-01-30 10:54:53 -05:00
Daniel Agar
843443248e
move modules/systemlib to lib/systemlib
2019-01-23 08:23:03 +01:00
Daniel Agar
320d2e9383
create PX4 platform layer initialization helper ( #11269 )
...
- starts requirements for PX4 modules (hrt, param, etc)
2019-01-22 14:13:20 -05:00
Julian Oes
547dd8511b
platforms: use define for lockstep scheduler
...
Instead of using the define __PX4_POSIX_SITL it makes more sense to have
a define just to determine if the lockstep scheduler should be used.
2018-12-22 10:32:18 +01:00
TSC21
a6121e1655
Cmake build: do not change CMAKE_RUNTIME_OUTPUT_DIRECTORY if building with catkin
2018-12-13 02:09:31 +00:00
James Goppert
c7eb21be86
Fix catkin/ROS build paths.
2018-12-13 02:09:31 +00:00
Daniel Agar
9c29e9d4c9
move crazyflie syslink to board directory
2018-12-04 01:06:54 -05:00
Daniel Agar
3e0a3559a9
cmake use standard mechanisms for settings flags
2018-11-26 14:40:14 -08:00
Daniel Agar
11be2b8873
cmake split px4_base into px4_add_module, px4_add_library, px4_add_common_flags
2018-11-26 14:40:14 -08:00
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
2018-11-26 14:40:14 -08:00
Daniel Agar
f692ad04d0
boards organization
2018-11-26 14:40:14 -08:00
TSC21
ddb4b27fbe
set CPACK_DEBIAN_PACKAGE_SHLIBDEPS to OFF
2018-11-25 18:22:47 +00:00
TSC21
324a5c1477
deactivate catkin build of dynamic libs
2018-09-28 08:59:04 +02:00
Beat Küng
dae292631c
Tools/serial: use per-module serial port config params, instead of per-port
2018-09-25 07:53:29 +02:00
Beat Küng
c237221a81
cmake: add serial param & ROMFS generation to the build system
...
- only a few configs done yet
2018-09-25 07:53:29 +02:00
Daniel Agar
18a0b39968
sanitizers cleanup ( #10551 )
...
- add to AddressSanitizer and UndefinedBehaviorSanitizer to CMAKE_BUILD_TYPE options
- handle environment variable helpers outside of CMake
- add -O1 optimization
- cleanup whitespace
2018-09-23 16:52:09 -04:00
Daniel Agar
01744a9efc
Jenkins px4fmu-v2 hardware test
2018-08-14 23:12:26 -04:00
Daniel Agar
459ad7528f
python scripts code coverage ( #10157 )
2018-08-04 18:22:08 -04:00
Daniel Agar
aaaf67f9c3
cmake don't automatically enable ccache if already enabled
2018-06-30 19:59:00 +00:00
Daniel Agar
d21cf7123e
version library add ECL
2018-06-22 08:46:30 +02:00
mcsauder
861af1dac7
Remove whitespace from the top-level CMakeLists.txt.
2018-06-02 06:22:54 +05:30
Anthony Lamping
ef5de4de87
cmake: package create tarball
2018-05-25 01:32:26 -04:00
Daniel Agar
df042ab20e
cmake update option to enable doxygen generation (off by default)
2018-05-04 01:08:58 -04:00
Daniel Agar
94d1593e5b
doxygen move to cmake and cleanup ( #9234 )
2018-05-03 22:07:24 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Beat Küng
0e4034d01e
param: add a px4_parameters_public.h.jinja template
...
Generates an enum with all params & additional type information for static
type checking
The generated public param header is required to build the modules using
the new BlockParam classes.
2018-03-13 17:35:15 +01:00
Daniel Agar
2ff81393bc
move posix, nuttx, qurt components into platforms
2018-01-31 17:17:07 +01:00
Daniel Agar
f2cd5e3e9f
move src/firmware/ to platforms
2018-01-05 14:21:31 -05:00
Daniel Agar
678e2c415d
move cmake/${OS} to platforms
2018-01-05 14:21:31 -05:00
Daniel Agar
33266ef2c8
cmake use ccache if found and not disabled
2018-01-01 10:19:00 -05:00
Beat Küng
5195210893
CMakeLists.txt: add custom target uorb_graph to generate the graph JSON files
...
Use like this:
make px4fmu-v2_default uorb_graph
2017-12-18 10:19:15 +01:00
Daniel Agar
aef7a3cd9a
cmake only init uavcan_board_ident if used
2017-12-10 19:24:05 -05:00
Daniel Agar
ded055f71d
cmake only init cmake_hexagon if used
2017-12-10 19:24:05 -05:00
Daniel Agar
db8900fffc
cmake improve git submodule dependencies
2017-12-06 21:15:32 -05:00