Commit Graph

951 Commits

Author SHA1 Message Date
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
Kārlis Seņko d1a1a1b9fe Use correct path when looking up df wrapper. 2018-12-11 09:21:15 -05:00
Daniel Agar 1efad64f0c bebop move flow driver 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 c258534aa5 cmake px4_add_board document and cleanup 2018-11-26 14:40:14 -08:00
Daniel Agar fa0fe4cac6 cmake remove need for platform px4_add_board_os
- explicitly set TOOLCHAIN on all NuttX targets
2018-11-26 14:40:14 -08:00
Daniel Agar ec4c9da253 remove BOARD_NAME from board_config.h and set automatically 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
CUAVcaijie eb8a3de987 add rgbled_ncp5623c driver (#10889)
Co-Authored-By: CUAVcaijie <caijie@cuav.net>
2018-11-25 13:40:51 -05:00
Mara Bos 3c660acca8 Add unit test for dynamically loading modules on posix. 2018-11-24 01:58:09 +01:00
Mara Bos d13836eb1e Add dynamic modules on Posix.
You can now add `DYNAMIC` as an option to `px4_add_module`, which will
cause that module to no longer be compiled into the px4 executable, but
instead produce a separate shared library file, which can be loaded and
executed with the new `dyn` command:

    pxh> dyn ./hello.px4mod start

This will load the shared object file `hello.px4mod` if it wasn't
already loaded, and execute its main function with the given arguments.
2018-11-24 01:58:09 +01:00
Daniel Agar 246b879aea require MODULE_NAME 2018-11-10 13:52:34 -05:00
Daniel Agar e3388ec1d6 px4fmu-v2_default disable pwm_input 2018-11-02 16:09:43 +01:00
Daniel Agar 1376e9a39e px4fmu-v2_default disable ms5525 2018-11-02 16:09:43 +01:00
Beat Küng dc62454f0a px4fmu-v2_default: disable sf1xx distance sensor
Due to limited flash space
2018-10-26 08:02:42 +02:00
Beat Küng db7cbf1770 aerofc, crazyflie, omnibus: remove vtol module 2018-10-26 08:02:42 +02:00
Daniele Pettenuzzo d2e2b5e8ce add pmw3901 optical flow support for fmu-v5 (#10750) 2018-10-24 10:25:41 -04:00
Daniel Agar 86683944f8 px4fmu-v2_default disable lis3mdl 2018-10-17 10:27:03 +02:00
Mark Sauder ad8539bd15 Deprecate the tap_common directory, nuttx, driver, and makefile references to tap-v1. (#10629) 2018-10-15 11:53:29 -04:00
Daniel Agar f74b96e918 AV-X DSM RC fixes (disable single wire) 2018-10-09 10:37:12 -04:00
Beat Küng 02d89575b0 px4fmu-v2: disable camera_trigger
due to limited flash space.
2018-10-02 14:14:10 +02:00
Lukas Woodtli 587c2e2477 Improve the use of ubsan in SITL pipeline
Also some general minor sanitizer improvements.
2018-09-30 16:08:58 -04:00
Daniel Agar 9d2ff820bf
px4fmu-v2 disable sdp3x to save flash (#10600)
- fixes #10599
2018-09-29 11:21:21 -04:00
Beat Küng a1f0f88b33 posix_ocpoc_cross.cmake: fix ulanding module
module list is now the same as posix_ocpoc_ubuntu.cmake
2018-09-28 10:29:31 +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
Beat Küng 0ebf821db4 cmake configs: minor cleanup for hott telemetry
it got moved to drivers/telemetry/hott
2018-09-25 07:53:29 +02:00
Beat Küng b93d02aee7 Revert "omnibus: (temporarily) disable the topic listener"
This reverts commit 370fddc115.

Because the topic_listener got smaller.
2018-09-24 13:25:23 +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 036734eb76 cmake git submodules handle all paths consistently
- relative to the PX4 source directory root
2018-09-23 13:41:59 -04:00
Beat Küng 370fddc115 omnibus: (temporarily) disable the topic listener
To reduce flash usage, until we can disable the FW & VTOL modules.
2018-09-20 11:14:02 +02:00
Daniel Agar 72489e27b3 px4fmu-v2 disable SRF02 ultra sonic range finder 2018-09-20 07:57:00 +02:00
Lukas Woodtli c1a58bda17 Add address sanitizer to SITL pipeline
- Environment variables for building with asan
- Docker argument for leak sanitizer
- Regex for tests to fail on sanitizer error

Signed-off-by: Lukas Woodtli <woodtli.lukas@gmail.com>
2018-09-16 09:40:53 +02:00
Beat Küng 84c6b5ac6b fmu-v2: add bootloader binary and SYS_BL_UPDATE param for BL updates
This allows a simple-to-use bootloader update mechanism to switch from
fmu-v2 to fmu-v3 target that has more flash.
2018-09-14 17:06:19 +02:00
mcsauder e7666aa5d8
Added an imu heater driver, formatted whitespace, standardized comments, and added doxy documentation. 2018-09-06 12:03:26 +02:00
Beat Küng e5a7945ad2 cmake configs: remove posix_sitl_ekf2.cmake
Not needed anymore, use PX4_ESTIMATOR.
2018-09-03 09:01:50 -04:00
Daniel Agar 8fbeb6f717 cmake px4_add_git_submodule set USES_TERMINAL
- this allows interacting with the submodules check
2018-09-02 16:28:45 -04:00
Daniel Agar 7cc0e69fcd add px4fmu-v{3,4,5} stackcheck configs 2018-09-02 14:16:04 -04:00
Beat Küng e26bfd2e79 SITL: remove config_sitl_rcS_dir
Not needed anymore
2018-08-31 14:21:56 -04:00
Beat Küng 47094aa1f8 cmake configs: remove unneeded sitl files
This is all done through posix_sitl_default.cmake and env variables:
- PX4_ESTIMATOR
- replay
2018-08-31 14:21:56 -04:00
Daniel Agar f7a20acba6 [WIP] Jenkins code coverage updates 2018-08-27 00:04:58 +02:00
Daniel Agar ce18225710 cmake px4_add_module add unity build support
- a unity build is a single compilation unit per module
2018-08-16 09:47:29 +02:00
David Sidrane 5c7cbc4d30 nxphlite-v3:Add uavcan 2018-08-14 09:38:15 -04:00
David Sidrane 017e414c6a nxphlite:Updated module list to be consistent with FMUv3 2018-08-14 09:38:15 -04:00
Beat Küng 2baa4681d2 camera_feedback: add to SITL config 2018-08-13 21:50:14 -04:00
Beat Küng 1318e614ad SITL: handle 'make posix_sitl_shell' via unified rcS
The command is now: 'make posix none_shell'
which means: don't start a simulator and run a minimal shell only.
2018-08-13 21:50:14 -04:00
Martina c905a73e2e remove FLightTask Orbit from fmu-v2 target 2018-08-09 16:38:47 -04:00
Beat Küng ffffcaeb0f px4-alias.sh_in: move to platforms/posix/src/px4-alias.sh_in 2018-08-08 21:09:39 +02:00