Julian Oes
75c8fb12e4
cmake: add custom error messsage about Python 3
...
This should be helpful as developers need to migrate to Python 3.
5 years ago
Julian Oes
c77816aef2
cmake: move jinja2 check to Python modules
...
This removes the cmake check for jinja2 and moves it to the respective
Python scripts.
5 years ago
TSC21
c9fc6f8dd1
if building with catkin, don't specifically look for Python 3
5 years ago
Julian Oes
4329de9e3b
Use Python 3 everywhere
...
Since Python 2 is retired in 4 months, we should move everything to 3.
5 years ago
Daniel Agar
de4f594937
DriverFramework purge
...
The bulk of this change was tightly coupled and needed to be deleted in one pass. Some of the smaller changes were things that broke as a result of the initial purge and subsequently fixed by further eradicating unnecessary platform differences. Finally, I deleted any dead code I came across in the related files I touched while going through everything.
- DriverFramework (src/lib/DriverFramework submodule) completely removed
- added dspal submodule in qurt platform (was brought in via DriverFramework)
- all df wrapper drivers removed
- all boards using df wrapper drivers updated to use in tree equivalents
- unused empty arch/board.h on posix and qurt removed
- unused IOCTLs removed (pub block, priv, etc)
- Integrator delete methods only used from df wrapper drivers
- commander: sensor calibration use "NuttX version" everywhere for now
- sensors: update to px4_{open, read, close} instead of DevMgr wrapper (adc open for analog differential pressure)
- battery_status: update to px4_{open, read, close} instead of DevMgr wrapper (adc open for analog differential pressure)
- cdev cleanup conflicting typedefs and names with actual OS (pollevent_t, etc)
- load_mon and top remove from linux boards (unused)
- delete unused PX4_MAIN_FUNCTION
- delete unused getreg32 macro
- delete unused SIOCDEVPRIVATE define
- named each platform tasks consistently
- posix list_devices and list_topics removed (list_files now shows all virtual files)
5 years ago
Daniel Agar
7241eebd80
cmake merge linux cross compile targets (cross + native) and cleanup
...
- consolidate cross and native variants (only a single default is needed)
- beaglebone_blue_cross + beaglebone_blue_native => beaglebone_blue_default
- emlid_navio2_cross + emlid_navio2_native => emlid_navio2_default
- px4_raspberrypi_cross + px4_raspberrypi_native => px4_raspberrypi_default
- move upload helpers to cmake/upload.cmake
5 years ago
Daniel Agar
1edfee4fdd
mavsdk_tests: build should be independant of px4
5 years ago
Daniel Agar
cc7a0cd69d
beaglebone blue: build librobotcontrol with cmake
5 years ago
Daniel Agar
30a73416dc
mavsdk SITL testing code coverage and upload to codecov.io
5 years ago
Lorenz Meier
663436fd47
Integration tests: Add Makefile target
...
This enables unfamiliar users to run the tests quickly without having to memorize all commandsline options.
5 years ago
Julian Oes
956bd1b7b1
Move mavsdk_tests into test
5 years ago
Julian Oes
97d7925431
mavsdk_tests: add to PX4 Makefile/CMakeLists.txt
5 years ago
Daniel Agar
8ce2f30aa6
NuttX cmake improve dependencies between configure and runtime
...
- attempting to make the build slightly more robust to incomplete configures or other bad states.
5 years ago
Daniel Agar
df73a6667d
NuttX cmake improvements
...
- fix temporary Make.defs copy
- implement custom macros for COMPILE, COMPILEXX, ASSEMBLE, ARCHIVE to enable ccache properly (if available and enabled)
- fix NuttX mkdeps
- fix libapps race condition with context
5 years ago
Beat Küng
3b7c1b4ff1
src/drivers/boards: move to platforms/nuttx/src/px4/common
5 years ago
Daniel Agar
5126e6ea61
cmake: use gold linker if available
5 years ago
Daniel Agar
fb7521eb5e
cmake px4_base -> px4_parse_function_args
5 years ago
Daniel Agar
d256fb8770
cmake px4_find_python_module move to standalone file
5 years ago
Daniel Agar
f2189dd045
CMakeLists.txt extract top level helpers (ccache, doxygen, metadata, etc)
5 years ago
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
6 years ago
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
6 years ago
Daniel Agar
030508a71d
cmake make bloaty available everywhere and improve output
6 years ago
Daniel Agar
dc10a68539
NuttX and apps update 7.29
6 years ago
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.
6 years ago
Matthias Grob
868b4e1746
Testing: correct license headers
6 years ago
Matthias Grob
cbd230e34e
Testing: Clean up unit_test target because test_results does all tests now
6 years ago
Matthias Grob
542f61f04b
testing build: add possibility to filter tests with ctest regex
6 years ago
Matthias Grob
5020dfdc3d
Testing: switch unit tests to BUILD_TESTING
6 years ago
Matthias Grob
0ff64bf101
Improve ctest unit test naming and filtering
6 years ago
Matthias Grob
63b967f5df
Add unit testing possibility using googletest on POSIX
6 years ago
Julian Oes
7dc10d2bea
CMakeLists.txt: fix cmake warning
...
It implicitly converted STRINGS to STRING.
6 years ago
Daniel Agar
40e42a677b
NuttX cmake support optional compressed defconfigs
6 years ago
Daniel Agar
843443248e
move modules/systemlib to lib/systemlib
6 years ago
Daniel Agar
320d2e9383
create PX4 platform layer initialization helper ( #11269 )
...
- starts requirements for PX4 modules (hrt, param, etc)
6 years ago
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.
6 years ago
TSC21
a6121e1655
Cmake build: do not change CMAKE_RUNTIME_OUTPUT_DIRECTORY if building with catkin
6 years ago
James Goppert
c7eb21be86
Fix catkin/ROS build paths.
6 years ago
Daniel Agar
9c29e9d4c9
move crazyflie syslink to board directory
6 years ago
Daniel Agar
3e0a3559a9
cmake use standard mechanisms for settings flags
6 years ago
Daniel Agar
11be2b8873
cmake split px4_base into px4_add_module, px4_add_library, px4_add_common_flags
6 years ago
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
6 years ago
Daniel Agar
f692ad04d0
boards organization
6 years ago
TSC21
ddb4b27fbe
set CPACK_DEBIAN_PACKAGE_SHLIBDEPS to OFF
6 years ago
TSC21
324a5c1477
deactivate catkin build of dynamic libs
6 years ago
Beat Küng
dae292631c
Tools/serial: use per-module serial port config params, instead of per-port
6 years ago
Beat Küng
c237221a81
cmake: add serial param & ROMFS generation to the build system
...
- only a few configs done yet
6 years ago
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
6 years ago
Daniel Agar
01744a9efc
Jenkins px4fmu-v2 hardware test
7 years ago
Daniel Agar
459ad7528f
python scripts code coverage ( #10157 )
7 years ago
Daniel Agar
aaaf67f9c3
cmake don't automatically enable ccache if already enabled
7 years ago